Lines Matching refs:next_hop
92 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
111 char *next_hop; in prepare_for_gate() local
138 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
139 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
172 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue()
498 if (rcu_access_pointer(mpath->next_hop) == sta && in mesh_plink_broken()
557 if (rcu_access_pointer(mpath->next_hop) == sta) in mesh_path_flush_by_nexthop()
748 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop() argument
751 mesh_path_assign_nexthop(mpath, next_hop); in mesh_path_fix_nexthop()
759 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
761 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()