Home
last modified time | relevance | path

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

/linux-3.4.99/net/batman-adv/
Dgateway_client.c252 struct neigh_node *router_gw = NULL, *router_orig = NULL; in gw_check_election() local
267 router_orig = orig_node_get_router(orig_node); in gw_check_election()
268 if (!router_orig) in gw_check_election()
272 orig_tq_avg = router_orig->tq_avg; in gw_check_election()
297 if (router_orig) in gw_check_election()
298 neigh_node_free_ref(router_orig); in gw_check_election()
Drouting.c704 struct orig_node *router_orig; in find_router() local
722 router_orig = router->orig_node; in find_router()
723 if (!router_orig) in find_router()
731 if (compare_eth(router_orig->primary_addr, zero_mac)) in find_router()
737 if (compare_eth(router_orig->primary_addr, router_orig->orig)) { in find_router()
738 primary_orig_node = router_orig; in find_router()
741 router_orig->primary_addr); in find_router()