is_multicast_ether_addr(9)
π 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 π§:
is_link_local_ether_addr(9)is_zero_ether_addr(9)is_local_ether_addr(9)is_broadcast_ether_addr(9)is_unicast_ether_addr(9)is_valid_ether_addr(9)eth_proto_is_802_3(9)eth_random_addr(9)eth_broadcast_addr(9)eth_zero_addr(9)eth_hw_addr_random(9)eth_hw_addr_crc(9)ether_addr_copy(9)eth_hw_addr_set(9)eth_hw_addr_inherit(9)ether_addr_equal(9)ether_addr_equal_64bits(9)ether_addr_equal_unaligned(9)ether_addr_equal_masked(9)ether_addr_to_u64(9)u64_to_ether_addr(9)eth_addr_dec(9)eth_addr_inc(9)eth_addr_add(9)is_etherdev_addr(9)compare_ether_header(9)eth_hw_addr_gen(9)eth_skb_pkt_type(9)eth_skb_pad(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms