mesh_path_move_to_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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 of
  • copy β€” when true, copy all the frames to the new mpath queue. when false, 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 🫢


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