ether_addr_equal (9) - Linux Manuals

ether_addr_equal: Compare two Ethernet addresses

NAME

ether_addr_equal - Compare two Ethernet addresses

SYNOPSIS

bool ether_addr_equal(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 true if equal

Please note: addr1 & addr2 must both be aligned to u16.

COPYRIGHT