SysTutorials

Linux Manual Pages › Section 9

eth_hw_addr_inherit(9)

eth_hw_addr_inherit - Copy dev_addr from another net_device

Synopsis

void eth_hw_addr_inherit(struct net_device *dst, struct net_device *src);

Arguments

dst

pointer to net_device to copy dev_addr to

src

pointer to net_device to copy dev_addr from

Description

Copy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).

Copyright