1DEV_HW_ADDR_RANDOM(9) Network device support DEV_HW_ADDR_RANDOM(9)
23
4
NAME
6dev_hw_addr_random - Create random MAC and set device flag
7
SYNOPSIS
9void dev_hw_addr_random(struct net_device * dev, u8 * hwaddr);
10
ARGUMENTS
12dev
13pointer to net_device structure
1415
hwaddr
16-- undescribed --
17
DESCRIPTION
19Generate random MAC to be used by a device and set addr_assign_type so
20the state can be read by sysfs and be used by udev.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. June 2019 DEV_HW_ADDR_RANDOM(9)