Home
last modified time | relevance | path

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

/linux/net/batman-adv/
H A Dgateway_client.c211 struct batadv_gw_node *next_gw = NULL; in batadv_gw_election() local
229 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
231 if (curr_gw == next_gw) in batadv_gw_election()
234 if (next_gw) { in batadv_gw_election()
235 sprintf(gw_addr, "%pM", next_gw->orig_node->orig); in batadv_gw_election()
237 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election()
252 if (curr_gw && !next_gw) { in batadv_gw_election()
257 } else if (!curr_gw && next_gw) { in batadv_gw_election()
260 next_gw->orig_node->orig, in batadv_gw_election()
261 next_gw->bandwidth_down / 10, in batadv_gw_election()
[all …]