Home
last modified time | relevance | path

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

/linux-5.19.10/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.c198 int gw_mode; in batadv_interface_tx() local
270 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_interface_tx()
273 if (gw_mode == BATADV_GW_MODE_OFF) { in batadv_interface_tx()
294 else if ((gw_mode == BATADV_GW_MODE_SERVER) && in batadv_interface_tx()
Dnetlink.c516 u8 gw_mode; in batadv_netlink_set_mesh() local
519 gw_mode = nla_get_u8(attr); in batadv_netlink_set_mesh()
521 if (gw_mode <= BATADV_GW_MODE_SERVER) { in batadv_netlink_set_mesh()
539 atomic_set(&bat_priv->gw.mode, gw_mode); in batadv_netlink_set_mesh()