Home
last modified time | relevance | path

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

/linux-6.6.21/net/batman-adv/
Dgateway_common.c29 char gw_mode; in batadv_gw_tvlv_container_update() local
31 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_gw_tvlv_container_update()
33 switch (gw_mode) { in batadv_gw_tvlv_container_update()
Dsoft-interface.c200 int gw_mode; in batadv_interface_tx() local
271 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()
Dnetlink.c519 u8 gw_mode; in batadv_netlink_set_mesh() local
522 gw_mode = nla_get_u8(attr); in batadv_netlink_set_mesh()
524 if (gw_mode <= BATADV_GW_MODE_SERVER) { in batadv_netlink_set_mesh()
542 atomic_set(&bat_priv->gw.mode, gw_mode); in batadv_netlink_set_mesh()