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

NAME

6       eth_hw_addr_random - Generate software assigned random Ethernet and set
7       device flag
8

SYNOPSIS

10       void eth_hw_addr_random(struct net_device * dev);
11

ARGUMENTS

13       dev
14           pointer to net_device structure
15

DESCRIPTION

17       Generate a random Ethernet address (MAC) to be used by a net device and
18       set addr_assign_type so the state can be read by sysfs and be used by
19       userspace.
20
22Kernel Hackers Manual 2.6.         June 2019             ETH_HW_ADDR_RANDOM(9)
Impressum