eth_zero_addr(9)
β¨ eth_zero_addr(9) β the "assign zero address" girlie π
okay so this is a kernel API manual page, bestie, and it's about eth_zero_addr β yes the whole page is named after the function, she's the main character fr fr π
πΈ NAME πΈ
eth_zero_addr β Assign zero address. that's it, that's the vibe. short, sweet, iconic.
β SYNOPSIS β
void eth_zero_addr (u8 *addr );
like, it returns void (nothing back, no thoughts head empty) and takes one pointer named addr π¦
π ARGUMENTS π
addrβ Pointer to a six-byte array containing the Ethernet address. so it's pointing at six whole bytes of Ethernet address energy, and you're handing it over π
π DESCRIPTION π
Assign the zero address to the given address array. that's the whole job, no cap β it zeroes out that address array you passed in. lowkey the simplest glow-up in the whole kernel π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/etherdevice.hβ that's the home base for all of these, and honestly the friend group is HUGE, so let's go: 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_broadcast_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 okay, she has a LOT of siblings π but every single one of them is listed, so go read them too, iykyk π
and that's the whole page bestie, no notes π
this little legend lives in ./include/linux, and the version/date stamp on it is October 2026 β remember that for the quiz π«Ά
π¦ 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