Lines Matching refs:gate_mpath
98 struct mesh_path *gate_mpath)
130 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr;
133 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN);
149 * @gate_mpath: An active mpath the frames will be sent to (i.e. the gate)
154 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath,
162 if (WARN_ON(gate_mpath == from_mpath))
164 if (WARN_ON(!gate_mpath->next_hop))
174 if (skb_queue_len(&gate_mpath->frame_queue) >=
176 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n");
184 prepare_for_gate(skb, gate_mpath->dst, gate_mpath);
185 skb_queue_tail(&gate_mpath->frame_queue, skb);
194 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n",
195 gate_mpath->dst, skb_queue_len(&gate_mpath->frame_queue));