compare_ether_header(9) centos man page | unix.com

Man Page: compare_ether_header

Operating Environment: centos

Section: 9

COMPARE_ETHER_HEADER(9) 				      Network device support					   COMPARE_ETHER_HEADER(9)

NAME
compare_ether_header - Compare two Ethernet headers
SYNOPSIS
unsigned long compare_ether_header(const void * a, const void * b);
ARGUMENTS
a Pointer to Ethernet header b Pointer to Ethernet header
DESCRIPTION
Compare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 COMPARE_ETHER_HEADER(9)
Related Man Pages
ethers(4) - osf1
snoopy(8) - plan9
etherip(4) - netbsd
mc(4) - netbsd
if_smsc(4) - freebsd
Similar Topics in the Unix Linux Community
Weird 'find' results
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it
Controlling user input
[TIP] Processing YAML files with yq