1COMPARE_ETHER_HEADER(9) Network device support COMPARE_ETHER_HEADER(9)
2
3
4
6 compare_ether_header - Compare two Ethernet headers
7
9 int compare_ether_header(const void * a, const void * b);
10
12 a
13 Pointer to Ethernet header
14
15 b
16 Pointer to Ethernet header
17
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 2.6. November 2011 COMPARE_ETHER_HEADER(9)