int mdi_addrs_equal(macaddr_t addr1, macaddr_t addr2);
Description
Compares the two MAC addresses addr1 and
addr2.
Return values
mdi_addrs_equal( )
returns 1 if the two addresses are equal,
returns 0 in all other cases.
Usage
This function depends upon the MAC address size
being 6 bytes.
If the MAC address size for
your network media is not 6 bytes,
do not use this functions.