Name

ether_addr_equal — Compare two Ethernet addresses

Synopsis

bool ether_addr_equal (const u8 * addr1,
 const u8 * addr2);
 

Arguments

const u8 * addr1

Pointer to a six-byte array containing the Ethernet address

const u8 * 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.