1ETH_HW_ADDR_RANDOM(9) Network device support ETH_HW_ADDR_RANDOM(9)
23
4
NAME
6eth_hw_addr_random - Generate software assigned random Ethernet and set
7device flag
8
SYNOPSIS
10void eth_hw_addr_random(struct net_device * dev);
11
ARGUMENTS
13dev
14pointer to net_device structure
15
DESCRIPTION
17Generate a random Ethernet address (MAC) to be used by a net device and
18set addr_assign_type so the state can be read by sysfs and be used by
19userspace.
20
COPYRIGHT
22Kernel Hackers Manual 2.6. June 2019 ETH_HW_ADDR_RANDOM(9)