Searched refs:gw_mode (Results 1 – 5 of 5) sorted by relevance
148 char gw_mode; in batadv_gw_tvlv_container_update() local150 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_gw_tvlv_container_update()152 switch (gw_mode) { in batadv_gw_tvlv_container_update()
211 int gw_mode; in batadv_interface_tx() local271 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_interface_tx()274 if (gw_mode == BATADV_GW_MODE_OFF) { in batadv_interface_tx()295 else if ((gw_mode == BATADV_GW_MODE_SERVER) && in batadv_interface_tx()
689 static BATADV_ATTR(gw_mode, 0644, batadv_show_gw_mode, batadv_store_gw_mode);
48 node if gw_mode was set to 'server'.50 What: /sys/class/net/<mesh_iface>/mesh/gw_mode62 to choose a gateway if gw_mode was set to 'client'.
73 bonding gw_mode multicast_mode