1DEV_HW_ADDR_RANDOM(9)       Network device support       DEV_HW_ADDR_RANDOM(9)
2
3
4

NAME

6       dev_hw_addr_random - Create random MAC and set device flag
7

SYNOPSIS

9       void dev_hw_addr_random(struct net_device * dev, u8 * hwaddr);
10

ARGUMENTS

12       dev
13           pointer to net_device structure
14
15       hwaddr
16           -- undescribed --
17

DESCRIPTION

19       Generate random MAC to be used by a device and set addr_assign_type so
20       the state can be read by sysfs and be used by udev.
21
23Kernel Hackers Manual 2.6.         June 2019             DEV_HW_ADDR_RANDOM(9)
Impressum