hw_enable_wol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hw_enable_wol(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and the page is literally called hw_enable_wol β€” yes, that's the Wake-on-LAN one, the function that lets your NIC wake the whole machine up from sleep like it's the main character finally getting out of bed πŸ›Œβœ¨


✨ NAME ✨

hw_enable_wol β€” enable Wake-on-LAN 🫢


🌸 SYNOPSIS 🌸

void hw_enable_wol (struct ksz_hw *hw , u32 wol_enable , const u8
*net_addr );

no cap, that's the whole signature. three args, zero return value, she's a void queen πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” the hardware instance, like, the actual device we're doing all this on πŸ’…
  • wol_enable β€” the Wake-on-LAN settings. this is the whole vibe check of how she's gonna wake up ⭐
  • net_addr β€” the IPv4 address that's assigned to the device πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

so this routine is the one you call when you wanna enable Wake-on-LAN, and it does it depending on your driver settings β€” so the options you configured are lowkey the ones calling the shots here. it's giving "respect the config, periodt" πŸ”₯

that's genuinely it. no drama, no hidden plot twists, she just turns the thing on 🌈

heads up bestie: the exact behaviour follows whatever your driver settings say, so don't come for me if it doesn't do the thing you imagined β€” check your settings first πŸ’€

🧚 SEE ALSO 🧚

the kernel file ./drivers/net/ethernet/micrel/ksz884x.c β€” that's the homegirl's whole house 🏠 plus, bestie, brace yourself, there's a whole squad of related manpages and I'm listing every single one because I would never do you dirty like that 😭

like, that's the whole friend group, and they all ate πŸ’…βœ¨


okay and for the cute sign-off: this little beauty ships out of ./drivers/net/ethernet/micrel, stamped October 2026 β€” so mark your calendars bestie, she's timeless πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from