table of contents
ETH_RANDOM_ADDR(9) | Network device support | ETH_RANDOM_ADDR(9) |
NAME¶
eth_random_addr - Generate software assigned random Ethernet address
SYNOPSIS¶
void eth_random_addr(u8 * addr);
ARGUMENTS¶
addr
Pointer to a six-byte array containing the Ethernet
address
DESCRIPTION¶
Generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |