pch_gbe_set_wol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pch_gbe_set_wol(9) πŸ’–

okay so bestie, welcome to pch_gbe_set_wol(9) β€” a page straight out of the Kernel API Manual. the whole entire vibe is: Turn Wake-on-Lan on or off. that's it. that's the job. one function, one toggle, main character energy for your network card's beauty sleep 😴✨


🌸 SYNOPSIS 🌸

int pch_gbe_set_wol (struct net_device *netdev , struct ethtool_wolinfo *wol );

literally just those two args, no cap. int in, int out, let's go 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure. this is your NIC's whole personality file, the network interface device structure itself.
  • wol β€” pointer of wake-on-Lan information straucture. yes, "straucture." the manpage said it, not me πŸ’€ it's the pointer to the wake-on-LAN info structure, okay, we move.

πŸŽ€ RETURN πŸŽ€

  • 0 β€” Successful. slay. πŸ’…
  • Negative value β€” Failed. 😭 not slay.

that's the whole return contract, no in-between, no vibes in the grey area.


🌈 SEE ALSO 🌈

kernel file: ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c β€” that's where the source lives, go read it, iykyk πŸ“–

and then the whole friend group, all of them, every single one:

ngl pch_gbe_get_wol(9) is the literal sibling of this one β€” one gets, one sets, iconic duo behavior πŸ‘‘

mwah, that's the page 🫢 this little beauty came from ./drivers/net/ethernet/oki-sem... (the footer got cut off mid-path, tragic, but that's what it says) and it's dated October 2026. so futuristic. so chic. go forth and toggle that Wake-on-Lan, bestie πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from