phy_ethtool_get_wol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

phy_ethtool_get_wol β€” bestie, this is the one that grabs the current Wake On LAN configuration and hands it to you. That's it. That's the whole vibe. Your NIC can wake up from sleep like it just heard its name in the group chat, and this lil function is how you peek at the settings ✨


🌸 SYNOPSIS 🌸

void phy_ethtool_get_wol (struct phy_device *phydev , struct
       ethtool_wolinfo *wol );

So like… it returns void, meaning it gives you nothing back directly πŸ”₯ β€” the goods get dropped into wol instead. Classic. Very "the info was inside you all along" energy.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the target phy_device struct πŸŽ€ like, which PHY are we talking to, bestie. Got to be specific.
  • wol β€” store the current configuration here πŸ’… this is the lil container that walks away with the WOL settings. Iconic behavior.

🌈 SEE ALSO 🌈

Okay so this one's part of a whole friend group β€” the kernel file ./drivers/net/phy/phy.c section of the manual is lowkey massive. Here's everyone, no cap, all 57 of them πŸ’€βœ¨


πŸ’œ tiny note bestie: phy_ethtool_get_wol(9) is the getter, phy_ethtool_set_wol(9) is the setter β€” read it, then wreck it, iykyk 😌

and that's the whole page, periodt 🫢 this little drop comes from the kernel source tree at ./drivers/net/phy, and it's dated October 2026 β€” go off, future manpage, we love a timestamped icon πŸ‘‘

πŸ“¦ where this page comes from