is_valid_ether_addr9
Determine if the given ethernet address is valid
Usage
bool is_valid_ether_addr(const u8 * addr);
Arguments
addr
Pointer to a six-byte array containing the Ethernet address
Overview
Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.
Return true if the address is valid.
Please note: addr must be aligned to u16.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.