netif_carrier_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

netif_carrier_event β€” report carrier state event. This is the netif_carrier_event(9) page from the Kernel API Manual, and yes, the manual name is folded in right here instead of copying the boring header line πŸ’….

✨ SYNOPSIS ✨

void netif_carrier_event (struct net_device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the network device, bestie. That's the one this whole thing is about.

🌸 DESCRIPTION 🌸

So the device has detected a carrier event, but the carrier state wasn't changed. That's the whole vibe. Use this in drivers when you're querying carrier state asynchronously, so you don't miss events β€” link flaps, specifically β€” if the link recovers before it's queried. No cap, that's the point: don't let a fast little recovery sneak past your query.

πŸ”₯ SEE ALSO πŸ”₯

These are the little friends in the neighborhood, periodt 🫢.


And for the cute sign-off: the footer source/version line is ./net/sched, dated October 2026 ✨. That's the whole page, bestie β€” go query that carrier state asynchronously and slay πŸ’–.

πŸ“¦ where this page comes from