eth_random_addr (9) - Linux Manuals

eth_random_addr: Generate software assigned random Ethernet address

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