mpp_path_lookup_by_idx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mpp_path_lookup_by_idx πŸ’…

okay so this is a page from the Kernel API Manual (mpp_path_lookup_by_idx(9)), and honestly? it's short, it's sweet, and it does exactly what it says on the tin. let's get into it bestie 🫢


✨ NAME ✨

mpp_path_lookup_by_idx β€” look up a path in the proxy path table by its index πŸ”

like, you give it an index, it goes digging in the proxy path table, and it comes back with a path. that's the whole vibe.


🌸 SYNOPSIS 🌸

struct mesh_path * mpp_path_lookup_by_idx (struct ieee80211_sub_if_data *sdata , int idx );

that's the whole call, bestie β€” two args, one return, no drama. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • sdata β€” the local subif. you can also pass NULL to mean all entries πŸ‘€ (yes, literally all of them, it's giving main character energy)
  • idx β€” the index. that's it. that's the arg. πŸ’…

πŸ’– RETURN πŸ’–

a pointer to the proxy path structure 🎯 … or NULL if it wasn't found 😭 (ngl, that's the sad path)


πŸ¦‹ DESCRIPTION πŸ¦‹

Locking: this one has to be called within a read rcu section. no cap. that's not a suggestion, that's the rule πŸ”’βœ¨

fr fr, respect the locking. it's giving "read it and weep if you don't."

πŸ‘‘ SEE ALSO πŸ‘‘

here's the whole friend group 🫢 β€” the file is ./net/mac80211/mesh_pathtbl.c and these are all the siblings:


and that's the whole page!! πŸ’œ source is ./net/mac80211, dated October 2026 β€” mwah, love that for us. go forth and look up those paths by index, bestie 🧚⭐

πŸ“¦ where this page comes from