1ETH_RANDOM_ADDR(9) Network device support ETH_RANDOM_ADDR(9)
23
4
NAME
6eth_random_addr - Generate software assigned random Ethernet address
7
SYNOPSIS
9void eth_random_addr(u8 * addr);
10
ARGUMENTS
12addr
13Pointer to a six-byte array containing the Ethernet address
14
DESCRIPTION
16Generate a random Ethernet address (MAC) that is not multicast and has
17the local assigned bit set.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 ETH_RANDOM_ADDR(9)