Scroll to navigation

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

May 2024 Kernel Hackers Manual 2.6.