Home
last modified time | relevance | path

Searched refs:gw_mode (Results 1 – 4 of 4) sorted by relevance

/net/batman-adv/
Dgateway_common.c138 char gw_mode; in batadv_gw_tvlv_container_update() local
140 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_gw_tvlv_container_update()
142 switch (gw_mode) { in batadv_gw_tvlv_container_update()
Dsoft-interface.c203 int gw_mode; in batadv_interface_tx() local
275 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_interface_tx()
278 if (gw_mode == BATADV_GW_MODE_OFF) { in batadv_interface_tx()
299 else if ((gw_mode == BATADV_GW_MODE_SERVER) && in batadv_interface_tx()
Dnetlink.c520 u8 gw_mode; in batadv_netlink_set_mesh() local
523 gw_mode = nla_get_u8(attr); in batadv_netlink_set_mesh()
525 if (gw_mode <= BATADV_GW_MODE_SERVER) { in batadv_netlink_set_mesh()
543 atomic_set(&bat_priv->gw.mode, gw_mode); in batadv_netlink_set_mesh()
Dsysfs.c737 static BATADV_ATTR(gw_mode, 0644, batadv_show_gw_mode, batadv_store_gw_mode);