l3mdev_master_ifindex_rcu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ l3mdev_master_ifindex_rcu ✨

okay so bestie, welcome to a page from the Kernel API Manual πŸ’… β€” yes, that manual, the one your kernel-dev crush keeps tabbing through at 2am. this one's a little function named l3mdev_master_ifindex_rcu and honestly? it does exactly what it says on the tin πŸŽ€


🌸 NAME 🌸

l3mdev_master_ifindex_rcu β€” get the index of the L3 master device πŸ‘‘

like, it literally goes and fetches you the index. that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

int l3mdev_master_ifindex_rcu (const struct net_device *dev );

return type is int, argument is a const struct net_device * named dev, and that's it. short and iconic, no notes πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the targeted interface 🎯 like, the net device you're pointing at and asking "hey bestie, what's your L3 master's index?"

πŸ‘‘ SEE ALSO πŸ‘‘

the whole l3mdev friend group, fr fr β€” they all hang out together, go say hi 🫢


πŸ’€ quick reminder bestie: the _rcu in the name is not a cute decoration, it's a whole promise about how you're calling it. don't do anything goofy with it, iykyk πŸ™ˆ

and that's the page!! shipped straight out of ./net/l3mdev πŸ“, dated October 2026 πŸ—“οΈβœ¨ β€” mwah, catch you in the next manpage, bestie πŸ˜­πŸ’…πŸŒΈ

πŸ“¦ where this page comes from