mii_check_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

mii_check_link β€” check MII link status. This page is from the Kernel API Manual, and it’s giving tiny-but-iconic helper energy, fr fr.

✨ SYNOPSIS ✨

void mii_check_link (struct mii_if_info *mii );

πŸŽ€ ARGUMENTS πŸŽ€

  • mii β€” MII interface. That’s the one and only arg, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the tea: if the link status changed β€” literally previous != current β€” then it calls netif_carrier_on if the current link status is Up, or it calls netif_carrier_off if the current link status is Down. No cap, that’s the whole move. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/mii.c.


xoxo bestie, this page’s source/version is ./drivers/net, it’s dated October 2026, and it will always be mii_check_link(9) πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from