SysTutorials

Linux Manual Pages › Section 9

is_zero_ether_addr(9)

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