mesh_path_move_to_queue(9)
π« mesh_path_move_to_queue β bestie's guide to the Kernel API Manual π«
okay so this page lives in the Kernel API Manual (section 9, kernel devs, iykyk) and it's literally about moving frames from one mpath queue to another. no cap, that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
mesh_path_move_to_queue β Move or copy frames from one mpath queue to another
likeβ¦ the name says it all bestie, we're relocating frames π
πΈ SYNOPSIS πΈ
void mesh_path_move_to_queue (struct mesh_path *gate_mpath , struct
mesh_path *from_mpath , bool copy );
she takes three things and returns void β no notes, no drama, no return value π
π ARGUMENTS π
gate_mpathβ an active mpath that the frames will be sent to (i.e. the gate). she's the destination, the main character of this whole operation πfrom_mpathβ the failed mpath. yeahβ¦ she didn't make it π this is where we're pulling frames out ofcopyβ whentrue, copy all the frames to the new mpath queue. whenfalse, move them. so likeβ¦ do we duplicate or do we relocate? your call bestie β¨
π¦ DESCRIPTION π¦
okay so picture this: this function is used to transfer or copy frames from an unresolved mpath to a gate mpath. the glow-up is real. π
and it's not just a plain hand-off β she also adds the Address Extension field and updates the next hop. multitasking icon behavior, honestly π₯
here's the lil plot twist though: if a frame already has an Address Extension field, then only the next hop and destination addresses get updated. no double-dipping on the Address Extension, we respect the existing one π
β οΈ important vibe check: the gate mpath must be an active mpath with a valid mpath->next_hop. fr fr, don't skip this or it's giving chaos π¨
π SEE ALSO π
kernel file ./net/mac80211/mesh_pathtbl.c β plus the whole friend group of related calls, go say hi to all of them π«Ά
mesh_path_assign_nexthop(9)mesh_path_lookup(9)mesh_path_lookup_by_idx(9)mpp_path_lookup_by_idx(9)mesh_path_add_gate(9)mesh_gate_del(9)mesh_gate_num(9)mesh_path_add(9)mesh_plink_broken(9)mesh_path_flush_by_nexthop(9)mesh_path_flush_by_iface(9)table_path_del(9)mesh_path_del(9)mesh_path_tx_pending(9)mesh_path_send_to_gates(9)mesh_path_discard_frame(9)mesh_path_flush_pending(9)mesh_path_fix_nexthop(9)
aaaand that's the page!! π shipped straight out of ./net/mac80211, dated October 2026 β slay, go move some frames bestie, you got this πβ¨π§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms