mesh_path_lookup_by_idx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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, NULL if you want all entries. yeah. NULL means 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:


🌈 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