ovsdb: Synchronize comments and code in ovsdb_file_commit().
[sliver-openvswitch.git] / datapath / linux-2.6 / compat-2.6 / include / linux / if_arp.h
1 #ifndef __LINUX_IF_ARP_WRAPPER_H
2 #define __LINUX_IF_ARP_WRAPPER_H 1
3
4 #include_next <linux/if_arp.h>
5
6 #ifndef HAVE_SKBUFF_HEADER_HELPERS
7 #include <linux/skbuff.h>
8
9 static inline struct arphdr *arp_hdr(const struct sk_buff *skb)
10 {
11         return (struct arphdr *)skb_network_header(skb);
12 }
13 #endif /* !HAVE_SKBUFF_HEADER_HELPERS */
14
15 #endif