netif_dormant(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so welcome to the netif_dormant(9) page bestie β€” this is the Kernel API Manual and we're here to talk about netif_dormant, which is literally the "is this device dormant rn?" checker. yes. that's the whole job. and it slays at it πŸ’–

✨ SYNOPSIS ✨

bool netif_dormant (const struct net_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the network device, that's it, that's the whole argument πŸ¦‹

🌸 DESCRIPTION 🌸

Check if device is dormant. periodt. that's genuinely the entire description and honestly? we love a no-notes king πŸ‘‘

ngl this one is short because the function itself is short β€” it looks at dev and tells you whether it's dormant or not. no cap, no extra lore, nothing hidden. 🫢

🌈 SEE ALSO 🌈

bestie. brace yourself. the cross-reference list on this page is iconic and enormous and we are not skipping a single one of them πŸ’€

Also worth noting up top: there's a kernel file referenced here, ./include/linux/netdevice.h. go look at it, it's giving main character energy for this entire family of functions ⭐

like. fifty-something entries. we ate and left zero crumbs πŸ‘‘πŸ”₯


okay that's the page!! mwah πŸ’‹ this little gem lives in ./include/linux, dated October 2026, and it's netif_dormant(9) through and through. go be dormant (or don't), love u, bye πŸ§šπŸ’œ

πŸ“¦ where this page comes from