Query: compare_ether_addr
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COMPARE_ETHER_ADDR(9) Network device support COMPARE_ETHER_ADDR(9)NAMEcompare_ether_addr - Compare two Ethernet addressesSYNOPSISunsigned compare_ether_addr(const u8 * addr1, const u8 * addr2);ARGUMENTSaddr1 Pointer to a six-byte array containing the Ethernet address addr2 Pointer other six-byte array containing the Ethernet addressDESCRIPTIONCompare two Ethernet addresses, returns 0 if equal, non-zero otherwise. Unlike memcmp, it doesn't return a value suitable for sorting.COPYRIGHTKernel Hackers Manual 3.10 June 2014 COMPARE_ETHER_ADDR(9)