Lines Matching defs:next_hop
84 rcu_assign_pointer(mpath->next_hop, sta);
103 char *next_hop;
130 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr;
131 memcpy(hdr->addr1, next_hop, ETH_ALEN);
147 * The gate mpath must be an active mpath with a valid mpath->next_hop.
164 if (WARN_ON(!gate_mpath->next_hop))
490 if (rcu_access_pointer(mpath->next_hop) == sta &&
549 if (rcu_access_pointer(mpath->next_hop) == sta)
749 * @next_hop: the next hop to force
753 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop)
756 mesh_path_assign_nexthop(mpath, next_hop);
764 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg);
766 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1);