is_multicast_ether_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… is_multicast_ether_addr(9) β€” Kernel API Manual πŸ¦‹

okay so bestie, welcome to the Kernel API Manual, and today's main character is is_multicast_ether_addr(9). yes it's a function name that's literally the whole vibe check. let's get into it ✨


🌸 NAME 🌸

is_multicast_ether_addr β€” Determines if the Ethernet address is a multicast. that's it, that's the job, and it does it flawlessly πŸ’…


✨ SYNOPSIS ✨

bool is_multicast_ether_addr (const u8 *addr );

look at her. returns a bool, takes a const u8 *, no drama, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • addr β€” Pointer to a six-byte array containing the Ethernet address. six bytes, bestie, not five, not seven β€” six. it's giving very specific and honestly? iconic πŸ¦‹

πŸ‘‘ RETURN πŸ‘‘

true if the address is a multicast address. and here's the little plot twist: by definition the broadcast address is also a multicast address. so if you were out here thinking broadcast was in its own separate lane... nope, she's part of the multicast friend group too πŸ’€ periodt.


🌈 SEE ALSO 🌈

Kernel file ./include/linux/etherdevice.h, and honestly the whole etherdevice extended universe β€” she's got so many sisters, let me introduce you 🧚:

like, that's a whole friend group and every single one of them is serving πŸ“


ngl this is genuinely one of the nicest little predicate functions in the kernel β€” one argument, one bool, zero chaos. lowkey obsessed πŸ”₯

okay that's the whole page bestie, no notes πŸ’œ this was brought to you by ./include/linux, dated October 2026 β€” catch you in the next manpage, mwah πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from