ether_addr_copy(9)
π ether_addr_copy(9) β it's giving "copy an Ethernet address"
ok so this is a page from the Kernel API Manual, bestie β the kernel API one. Buckle up, it's short and sweet and honestly iconic for it.
β¨ NAME β¨
ether_addr_copy β Copy an Ethernet address
like, it copies an Ethernet address. that's the whole job. she's a simple girl and she slays at it π
πΈ SYNOPSIS πΈ
void ether_addr_copy (u8 *dst , const u8 *src );
π ARGUMENTS π
dstβ Pointer to a six-byte array Ethernet address destination. this is where the address is going, okay? six bytes. not five, not seven. six. π«Άsrcβ Pointer to a six-byte array Ethernet address source. and this is where it's coming from, also six bytes. matched set, we love to see it β¨
π¦ DESCRIPTION π¦
Please note β and this is the main character of the whole page, ngl β dst & src must both be aligned to u16.
β οΈ okay bestie listen:dst&srcmust both be aligned tou16. that's not a suggestion, that's the vibe check. don't come crying to me if you ignore it π
π SEE ALSO π
Kernel file ./include/linux/etherdevice.h β and literally the entire extended friend group lives there:
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_zero_addr(9)eth_hw_addr_random(9)eth_hw_addr_crc(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 the whole group chat right there π go say hi.
<div align="left">π that's the page, babe β straight outta ./include/linux, dated October 2026. stay aligned to u16 and stay hydrated β¨π</div>
π¦ 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