is_zero_ether_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

is_zero_ether_addr(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie. we're looking at is_zero_ether_addr, and it's literally the vibe check for an Ethernet address: all zeros or not? iconic. ✨

NAME πŸ’–

is_zero_ether_addr β€” tells you whether the Ethernet address you gave it is all zeros. that's the whole mission, no cap. πŸŽ€

SYNOPSIS πŸ¦‹

bool is_zero_ether_addr (const u8 *addr );

ARGUMENTS 🌸

  • addr β€” pointer to a six-byte array containing the Ethernet address. six bytes, bestie. that's the assignment. πŸ’…

RETURN ⭐

true if the address is all zeroes. periodt. πŸ‘‘

DESCRIPTION 🫢

real talk: addr must be aligned to u16. that's the note. no extra lore, just alignment. πŸ”₯

SEE ALSO πŸ‘‘

Kernel file ./include/linux/etherdevice.h is the home base, and it's also serving up this whole friend group:

mwah πŸ’‹ β€” sourced from ./include/linux, dated October 2026, page is_zero_ether_addr(9). go be an icon, bestie 🧚

πŸ“¦ where this page comes from