mesh_path_lookup_by_idx(9)
π« mesh_path_lookup_by_idx(9) π«
okay so bestie, welcome to the Kernel API Manual entry for mesh_path_lookup_by_idx β yes it's a mouthful, yes it's iconic, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
mesh_path_lookup_by_idx β it looks up a path in the mesh path table by its index. that's the whole vibe. index in, path out π
πΈ SYNOPSIS πΈ
struct mesh_path * mesh_path_lookup_by_idx (struct ieee80211_sub_if_data
*sdata , int idx );
it's giving "one function, two arguments, zero drama" β¨
π¦ ARGUMENTS π¦
sdataβ the local subif bestie π or, plot twist,NULLif you want all entries. yeah.NULLmeans everybody gets an invite to the party πidxβ the index. that's it. that's the argument. it's literally just the index π
π₯ RETURN π₯
a pointer to the mesh_path structure π β or NULL if it wasn't found π (no path for you, babes).
π DESCRIPTION π
Locking: you must call this within a read rcu section. not "should", not "maybe", must β οΈ so likeβ¦ do that first, okay? i'm not gonna say it twice (i will say it twice).
π SEE ALSO π
the kernel file lives over at ./net/mac80211/mesh_pathtbl.c β go say hi π§ and then go stan these siblings, all of them, no skips:
mesh_path_assign_nexthop(9)mesh_path_move_to_queue(9)mesh_path_lookup(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)
π and that's the page!! this whole thing comes to you from ./net/mac80211, dated October 2026, and it's filed under the Kernel API Manual β mwah, go read a path table, 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