Lines Matching refs:gate_mpath
106 struct mesh_path *gate_mpath) in prepare_for_gate() argument
138 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
141 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
162 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue() argument
170 if (WARN_ON(gate_mpath == from_mpath)) in mesh_path_move_to_queue()
172 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue()
182 if (skb_queue_len(&gate_mpath->frame_queue) >= in mesh_path_move_to_queue()
184 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n"); in mesh_path_move_to_queue()
192 prepare_for_gate(skb, gate_mpath->dst, gate_mpath); in mesh_path_move_to_queue()
193 skb_queue_tail(&gate_mpath->frame_queue, skb); in mesh_path_move_to_queue()
202 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n", in mesh_path_move_to_queue()
203 gate_mpath->dst, skb_queue_len(&gate_mpath->frame_queue)); in mesh_path_move_to_queue()