datapath: Rename linux-2.6 and compat-2.6 directories.
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / ipv6.h
1 #ifndef __LINUX_IPV6_WRAPPER_H
2 #define __LINUX_IPV6_WRAPPER_H 1
3
4 #include_next <linux/ipv6.h>
5
6 #ifndef HAVE_SKBUFF_HEADER_HELPERS
7 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb)
8 {
9         return (struct ipv6hdr *)skb_network_header(skb);
10 }
11 #endif
12
13 #endif