eth_addr_dec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… eth_addr_dec(9) β€” the Kernel API Manual page, bestie edition

okay so this is eth_addr_dec, straight out of the Kernel API Manual, and honestly? she's a tiny little function with one job and she does it. no notes. πŸ‘‘


✨ NAME ✨

eth_addr_dec β€” decrement the given MAC address. that's it. that's the whole gig. she takes your Ethernet address and she subtracts one. lowkey iconic πŸŽ€


🌸 SYNOPSIS 🌸

void eth_addr_dec (u8 *addr );

literally one line, no fancy return value, she returns void because she's not here to give you a report card πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • addr β€” pointer to a six-byte array containing the Ethernet address you wanna decrement. six bytes, bestie, not five, not seven, six. it's giving "count them twice" energy ✨

πŸŽ€ SEE ALSO πŸŽ€

the kernel file ./include/linux/etherdevice.h is the mothership and she has so many siblings β€” like, this family is huge, fr fr:

like… the whole friend group showed up to the function's birthday party 😭🫢


and that's the page, mwah πŸ’– this little gem lives in ./include/linux and the version on deck is dated October 2026 β€” go forth and decrement responsibly, bestie 🌈⭐

πŸ“¦ where this page comes from