SysTutorials

Linux Manual Pages › Section 9

ether_addr_copy(9)

ether_addr_copy - Copy an Ethernet address

Synopsis

void ether_addr_copy(u8 *dst, const u8 *src);

Arguments

dst

Pointer to a six-byte array Ethernet address destination

src

Pointer to a six-byte array Ethernet address source

Description

Please note: dst & src must both be aligned to u16.

Copyright