eth_broadcast_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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