Lines Matching refs:neigh_node
57 struct batadv_neigh_node *neigh_node) in _batadv_update_route() argument
76 if (neigh_node) in _batadv_update_route()
77 kref_get(&neigh_node->refcount); in _batadv_update_route()
79 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route()
85 if (curr_router && !neigh_node) { in _batadv_update_route()
92 } else if (!curr_router && neigh_node) { in _batadv_update_route()
95 orig_node->orig, neigh_node->addr); in _batadv_update_route()
97 } else if (neigh_node && curr_router) { in _batadv_update_route()
100 orig_node->orig, neigh_node->addr, in _batadv_update_route()
119 struct batadv_neigh_node *neigh_node) in batadv_update_route() argument
128 if (router != neigh_node) in batadv_update_route()
129 _batadv_update_route(bat_priv, orig_node, recv_if, neigh_node); in batadv_update_route()