eth_addr_inc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– eth_addr_inc(9) β€” like, the Kernel API Manual page, but make it make sense

okay bestie, so this whole page is about eth_addr_inc(9) from the Kernel API Manual β€” one (1) little function, zero drama, maximum MAC-address energy. she's small, she's specific, she does exactly one thing and honestly? respect. πŸŽ€


✨ NAME ✨

eth_addr_inc β€” increment the given MAC address. that's the whole job. no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void eth_addr_inc (u8 *addr );

look at her. void return, pointer argument, absolutely not here to give you feedback about how it went. she just does the thing. periodt. ✨


🌸 ARGUMENTS 🌸

  • addr β€” a pointer to a six-byte array holding the Ethernet address you want to increment. six bytes. not five, not seven, six β€” that's the whole vibe check for a MAC address, iykyk. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

so the kernel file ./include/linux/etherdevice.h is like the group chat where all of these live, and ngl it's a big chat. every single one, in order, no skipped members:

like, eth_addr_dec(9) is literally her sibling (the other direction, we don't judge 🌈) and eth_addr_add(9) is the cousin who does math with actual numbers instead of just one. iconic family. πŸ”₯

bestie reminder: this page tells you what it does β€” increment the given MAC address β€” and that's it. anything else you're imagining? not in the source. don't come for me. πŸ’€

and that's the page!! short, sweet, six bytes of pure main character energy πŸ§šβ€β™€οΈ

source file: ./include/linux Β· dated: October 2026 Β· title: eth_addr_inc(9) β€” mwah, go increment something responsibly πŸ’œπŸŽ€β­

πŸ“¦ where this page comes from