Lines Matching refs:gate
177 * @gate_mpath: An active mpath the frames will be sent to (i.e. the gate)
183 * a gate mpath. The function also adds the Address Extension field and
189 * The gate mpath must be an active mpath with a valid mpath->next_hop.
231 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n",
332 * mesh_path_add_gate - add the given mpath to a mesh gate to our path table
333 * @mpath: gate path to add to table
361 "Mesh path: Recorded new gate: %pM. %d known gates\n",
370 * mesh_gate_del - remove a mesh gate from the list of known gates
372 * @mpath: gate mpath
387 "Mesh path: Deleted gate: %pM. %d known gates\n",
956 * If there is only one gate, the frames are transferred from the failed mpath
957 * queue to that gate's queue. If there are more than one gates, the frames
958 * are copied from each gate to the next. After frames are copied, the
968 struct mesh_path *gate;
974 hlist_for_each_entry_rcu(gate, &tbl->known_gates, gate_list) {
975 if (gate->flags & MESH_PATH_ACTIVE) {
976 mpath_dbg(sdata, "Forwarding to %pM\n", gate->dst);
977 mesh_path_move_to_queue(gate, from_mpath, copy);
978 from_mpath = gate;
983 gate->dst, gate->flags);
987 hlist_for_each_entry_rcu(gate, &tbl->known_gates, gate_list) {
988 mpath_dbg(sdata, "Sending to %pM\n", gate->dst);
989 mesh_path_tx_pending(gate);