Lines Matching refs:gate
141 * a gate mpath. The function also adds the Address Extension field and
147 * The gate mpath must be an active mpath with a valid mpath->next_hop.
149 * @gate_mpath: An active mpath the frames will be sent to (i.e. the gate)
194 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n",
295 * mesh_path_add_gate - add the given mpath to a mesh gate to our path table
296 * @mpath: gate path to add to table
322 "Mesh path: Recorded new gate: %pM. %d known gates\n",
331 * mesh_gate_del - remove a mesh gate from the list of known gates
333 * @mpath: gate mpath
348 "Mesh path: Deleted gate: %pM. %d known gates\n",
664 * If there is only one gate, the frames are transferred from the failed mpath
665 * queue to that gate's queue. If there are more than one gates, the frames
666 * are copied from each gate to the next. After frames are copied, the
674 struct mesh_path *gate;
680 hlist_for_each_entry_rcu(gate, &tbl->known_gates, gate_list) {
681 if (gate->flags & MESH_PATH_ACTIVE) {
682 mpath_dbg(sdata, "Forwarding to %pM\n", gate->dst);
683 mesh_path_move_to_queue(gate, from_mpath, copy);
684 from_mpath = gate;
689 gate->dst, gate->flags);
693 hlist_for_each_entry_rcu(gate, &tbl->known_gates, gate_list) {
694 mpath_dbg(sdata, "Sending to %pM\n", gate->dst);
695 mesh_path_tx_pending(gate);