table of contents
other versions
ETH_HW_ADDR_RANDOM(9) | Network device support | ETH_HW_ADDR_RANDOM(9) |
NAME¶
eth_hw_addr_random - Generate software assigned random Ethernet and set device flagSYNOPSIS¶
void eth_hw_addr_random(struct net_device * dev);
ARGUMENTS¶
struct net_device * devpointer to net_device structure
DESCRIPTION¶
Generate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |