1 #ifndef __LINUX_IF_ARP_WRAPPER_H
2 #define __LINUX_IF_ARP_WRAPPER_H 1
4 #include_next <linux/if_arp.h>
6 #ifndef HAVE_SKBUFF_HEADER_HELPERS
7 #include <linux/skbuff.h>
9 static inline struct arphdr *arp_hdr(const struct sk_buff *skb)
11 return (struct arphdr *)skb_network_header(skb);
13 #endif /* !HAVE_SKBUFF_HEADER_HELPERS */