Query: compare_ether_header
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COMPARE_ETHER_HEADER(9) Network device support COMPARE_ETHER_HEADER(9)NAMEcompare_ether_header - Compare two Ethernet headersSYNOPSISint compare_ether_header(const void * a, const void * b);ARGUMENTSa Pointer to Ethernet header b Pointer to Ethernet headerDESCRIPTIONCompare 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 COMPARE_ETHER_HEADER(9)