ether_addr_equal (9) Linux Manual Page
ether_addr_equal – Compare two Ethernet addresses
Synopsis
-
bool ether_addr_equal(const u8addr1* , const u8addr2* );
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.
