Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/net/batman-adv/
H A Dgateway_client.c201 struct batadv_gw_node *next_gw = NULL; in batadv_gw_election() local
221 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
223 if (curr_gw == next_gw) in batadv_gw_election()
226 if (next_gw) { in batadv_gw_election()
227 sprintf(gw_addr, "%pM", next_gw->orig_node->orig); in batadv_gw_election()
229 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election()
244 if (curr_gw && !next_gw) { in batadv_gw_election()
249 } else if (!curr_gw && next_gw) { in batadv_gw_election()
252 next_gw->orig_node->orig, in batadv_gw_election()
253 next_gw in batadv_gw_election()
[all...]
/kernel/linux/linux-5.10/net/batman-adv/
H A Dgateway_client.c203 struct batadv_gw_node *next_gw = NULL; in batadv_gw_election() local
223 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
225 if (curr_gw == next_gw) in batadv_gw_election()
228 if (next_gw) { in batadv_gw_election()
229 sprintf(gw_addr, "%pM", next_gw->orig_node->orig); in batadv_gw_election()
231 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election()
246 if (curr_gw && !next_gw) { in batadv_gw_election()
251 } else if (!curr_gw && next_gw) { in batadv_gw_election()
254 next_gw->orig_node->orig, in batadv_gw_election()
255 next_gw in batadv_gw_election()
[all...]

Completed in 2 milliseconds