compare_ether_addr_64bits(9) suse man page | unix.com

Man Page: compare_ether_addr_64bits

Operating Environment: suse

Section: 9

COMPARE_ETHER_ADDR_6(9) 				      Network device support					   COMPARE_ETHER_ADDR_6(9)

NAME
compare_ether_addr_64bits - Compare two Ethernet addresses
SYNOPSIS
unsigned compare_ether_addr_64bits(const u8 addr1[6+2], const u8 addr2[6+2]);
ARGUMENTS
addr1[6+2] Pointer to an array of 8 bytes addr2[6+2] Pointer to an other array of 8 bytes
DESCRIPTION
Compare two ethernet addresses, returns 0 if equal. Same result than "memcmp(addr1, addr2, ETH_ALEN)" but without conditional branches, and possibly long word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte6, byte7, pad1, pad2} Please note that alignment of addr1 & addr2 is only guaranted to be 16 bits.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 COMPARE_ETHER_ADDR_6(9)
Related Man Pages
krb5_print_address(3) - freebsd
krb5_address_search(3) - freebsd
krb5_anyaddr(3) - freebsd
krb5_copy_address(3) - freebsd
krb5_h_addr2sockaddr(3) - freebsd
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
A (ksh) Library For and From UNIX.com
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com