1IS_VALID_ETHER_ADDR(9)      Network device support      IS_VALID_ETHER_ADDR(9)
2
3
4

NAME

6       is_valid_ether_addr - Determine if the given Ethernet address is valid
7

SYNOPSIS

9       bool is_valid_ether_addr(const u8 * addr);
10

ARGUMENTS

12       addr
13           Pointer to a six-byte array containing the Ethernet address
14

DESCRIPTION

16       Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not
17       a multicast address, and is not FF:FF:FF:FF:FF:FF.
18
19       Return true if the address is valid.
20
22Kernel Hackers Manual 3.10         June 2019            IS_VALID_ETHER_ADDR(9)
Impressum