1COMPARE_ETHER_HEADER(9)     Network device support     COMPARE_ETHER_HEADER(9)
2
3
4

NAME

6       compare_ether_header - Compare two Ethernet headers
7

SYNOPSIS

9       unsigned long compare_ether_header(const void * a, const void * b);
10

ARGUMENTS

12       a
13           Pointer to Ethernet header
14
15       b
16           Pointer to Ethernet header
17

DESCRIPTION

19       Compare two Ethernet headers, returns 0 if equal. This assumes that the
20       network header (i.e., IP header) is 4-byte aligned OR the platform can
21       handle unaligned access. This is the case for all packets coming into
22       netif_receive_skb or similar entry points.
23
25Kernel Hackers Manual 3.10         June 2019           COMPARE_ETHER_HEADER(9)
Impressum