COMPARE_ETHER_ADDR(9) Network device support COMPARE_ETHER_ADDR(9)NAMEcompare_ether_addr - Compare two Ethernet addresses
SYNOPSIS
unsigned compare_ether_addr(const u8 * addr1, const u8 * addr2);
ARGUMENTS
addr1
Pointer to a six-byte array containing the Ethernet address
addr2
Pointer other six-byte array containing the Ethernet address
DESCRIPTION
Compare two Ethernet addresses, returns 0 if equal, non-zero otherwise.
Unlike memcmp, it doesn't return a value suitable for sorting.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 COMPARE_ETHER_ADDR(9)