table of contents
other versions
IS_VALID_ETHER_ADDR(9) | Network device support | IS_VALID_ETHER_ADDR(9) |
NAME¶
is_valid_ether_addr - Determine if the given Ethernet address is validSYNOPSIS¶
bool is_valid_ether_addr(const u8 * addr);
ARGUMENTS¶
const u8 * addrPointer to a six-byte array containing the Ethernet
address
DESCRIPTION¶
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.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |