Name

ether_addr_equal_unaligned — Compare two not u16 aligned Ethernet addresses

Synopsis

bool ether_addr_equal_unaligned (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

Use only when any Ethernet address may not be u16 aligned.