netdev_state_change(9)
π« 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:
dev_change_name(9)dev_set_alias(9)dev_change_flags(9)dev_set_group(9)dev_change_net_namespace(9)dev_change_carrier(9)dev_change_tx_queue_len(9)dev_change_proto_down(9)dev_open(9)dev_close(9)dev_disable_lro(9)dev_set_promiscuity(9)dev_set_allmulti(9)dev_set_mac_address(9)
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
- 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