Lines Matching refs:gw
21 * batadv_gw_tvlv_container_update() - update the gw tvlv container after
27 struct batadv_tvlv_gateway_data gw;
31 gw_mode = atomic_read(&bat_priv->gw.mode);
39 down = atomic_read(&bat_priv->gw.bandwidth_down);
40 up = atomic_read(&bat_priv->gw.bandwidth_up);
41 gw.bandwidth_down = htonl(down);
42 gw.bandwidth_up = htonl(up);
44 &gw, sizeof(gw));
86 atomic_read(&bat_priv->gw.mode) == BATADV_GW_MODE_CLIENT)
96 if (bat_priv->algo_ops->gw.init_sel_class)
97 bat_priv->algo_ops->gw.init_sel_class(bat_priv);
99 atomic_set(&bat_priv->gw.sel_class, 1);