eth_broadcast_addr(9)
π eth_broadcast_addr(9) β like, the Kernel API Manual bestie β¨
okay so first things first: the manual we're living in is the Kernel API Manual, and today's main character is eth_broadcast_addr(9). buckle up π
πΈ NAME πΈ
eth_broadcast_addr β assign broadcast address π
like, that's literally the whole job. it assigns the broadcast address. slay.
β¨ SYNOPSIS β¨
void eth_broadcast_addr (u8 *addr );
no cap, that's the entire signature. void return, one pointer, done. she's lowkey minimal and we respect it π«Ά
π¦ ARGUMENTS π¦
addrβ a pointer to a six-byte array holding the Ethernet address. yes bestie, six bytes, that's the whole vibe check. it's an Ethernet address array and it's gonna get the broadcast address dropped right into it π
π DESCRIPTION π
so what does she actually do? she assigns the broadcast address to the given address array. that's it. that's the function. addr walks in, broadcast address walks out. iconic behaviour honestly, no notes π
fr fr though β it's writing into the array you hand her, so make sure that pointer is real and points at six whole bytes. she's not checking for you π
π SEE ALSO π
the kernel file here is ./include/linux/etherdevice.h β that's where all her friends live. and the friend group is huge, so let's go down the list:
is_link_local_ether_addr(9)is_zero_ether_addr(9)is_multicast_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_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)
that's the whole crew, no one left behind π like genuinely, the etherdevice header is giving main character energy with that many functions.
and that's the page π source path is ./include/linux, dated October 2026, and the page itself is eth_broadcast_addr(9) β go forth and broadcast, bestie πβ¨π¦
π¦ 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