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.