ether_addr_copy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 & src must both be aligned to u16. 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:

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