Searched refs:gw_mode (Results 1 – 3 of 3) sorted by relevance
29 char gw_mode; in batadv_gw_tvlv_container_update() local31 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_gw_tvlv_container_update()33 switch (gw_mode) { in batadv_gw_tvlv_container_update()
200 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()
519 u8 gw_mode; in batadv_netlink_set_mesh() local522 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()