l3mdev_master_ifindex_rcu(9)
β¨ 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 π
- Kernel file
./net/l3mdev/l3mdev.cπ β the source file where this lives, go read it, it's giving main character energy l3mdev_master_upper_ifindex_by_index_rcu(9)π₯l3mdev_fib_table_rcu(9)πl3mdev_link_scope_lookup(9)βl3mdev_fib_rule_match(9)π
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
- 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