Lines Matching refs:router
78 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route()
119 struct batadv_neigh_node *router = NULL; in batadv_update_route() local
124 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route()
126 if (router != neigh_node) in batadv_update_route()
130 batadv_neigh_node_put(router); in batadv_update_route()
529 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local
539 router = batadv_orig_router_get(orig_node, recv_if); in batadv_find_router()
541 if (!router) in batadv_find_router()
542 return router; in batadv_find_router()
548 return router; in batadv_find_router()
561 last_cand_router = rcu_dereference(last_candidate->router); in batadv_find_router()
568 cand_router = rcu_dereference(cand->router); in batadv_find_router()
581 cand->if_outgoing, router, in batadv_find_router()
625 batadv_neigh_node_put(router); in batadv_find_router()
628 router = next_candidate_router; in batadv_find_router()
631 batadv_neigh_node_put(router); in batadv_find_router()
634 router = first_candidate_router; in batadv_find_router()
653 return router; in batadv_find_router()