netdev_state_change(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« netdev_state_change β€” the "hey bestie, something changed" broadcast πŸ’«

okay so this is a page from the Kernel API Manual, section 9 (kernel API, iykyk), and it's about netdev_state_change β€” literally the function you call when a network device goes "guess what, I'm different now" and everyone needs to hear about it. πŸŽ€


✨ NAME ✨

netdev_state_change β€” device changes state πŸ¦‹


🌸 SYNOPSIS 🌸

void netdev_state_change (struct net_device *dev );

πŸ’– ARGUMENTS πŸ’–

  • dev β€” the device that's gonna cause the notification. like, this is the one having a moment and everyone's about to find out πŸ’…

🌈 DESCRIPTION 🌈

So you call this to say "hey, the device changed state" β€” that's the whole vibe check. ✨

What it actually does, fr fr: it calls the notifier chains for netdev_chain and sends a NEWLINK message to the routing socket. two things, both iconic, no cap. πŸ‘‘


🫢 SEE ALSO 🫢

Kernel file ./net/core/dev_api.c, plus the whole friend group:


that's the whole page bestie, every option and every reference accounted for πŸ’– now go notify somebody πŸ’–

mwah πŸ’‹ this one lives in ./net/core and it's dated October 2026 β€” see you in the next manpage, love u, bye πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from