mesh_path_add(9)
π¦ mesh_path_add(9) β the Kernel API Manual, bestie edition π¦
okay so real quick before we get into it: this page lives in the Kernel API Manual (mesh_path_add(9)), and it's genuinely one of the more lowkey iconic little functions in the mesh path table saga. stay with me π
β¨ NAME β¨
mesh_path_add β allocate and add a new path to the mesh path table π
like, that's the whole gig. she allocates. she adds. she's in the table now. periodt.
πΈ SYNOPSIS πΈ
struct mesh_path * mesh_path_add (struct ieee80211_sub_if_data *sdata ,
const u8 *dst );
π«Ά ARGUMENTS π«Ά
sdataβ the local subif, aka the sub-interface she's doing all this for πdstβ the destination address of the path, and heads up, it'sETH_ALENlength. no notes, that's just the vibe check she has to pass β¨
π RETURN π
0 on success π that's the good ending, that's the slay.
π DESCRIPTION π
State: the initial state of the new path is set to 0. that's it. that's the starting point. she's fresh out the box, zeroed out, ready for whatever happens next π¦
π SEE ALSO π
the kernel file to go read if you're nosy (affectionate): ./net/mac80211/mesh_pathtbl.c
and the whole friend group, all of whom are also (9) and all of whom are absolutely invited to the group chat:
mesh_path_assign_nexthop(9)mesh_path_move_to_queue(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_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)
okay that's the whole page!! this little cutie came out of ./net/mac80211 and she's dated October 2026 β yeah she's from the future, she's ahead of her time, main character energy fr fr ππ no cap, go read the source, ily, bye πβ¨
π¦ 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