is_zero_ether_addr (9) - Linux Manuals

is_zero_ether_addr: Determine if give Ethernet address is all zeros.

NAME

is_zero_ether_addr - Determine if give Ethernet address is all zeros.

SYNOPSIS

bool is_zero_ether_addr(const u8 addr);

ARGUMENTS

addr

Pointer to a six-byte array containing the Ethernet address

DESCRIPTION

Return true if the address is all zeroes.

Please note: addr must be aligned to u16.

COPYRIGHT