nicira-ext: Support matching IPv6 traffic.
[sliver-openvswitch.git] / datapath / linux-2.6 / compat-2.6 / include / linux / icmpv6.h
1 #ifndef __LINUX_ICMPV6_WRAPPER_H
2 #define __LINUX_ICMPV6_WRAPPER_H 1
3
4 #include_next <linux/icmpv6.h>
5
6 #ifndef HAVE_ICMP6_HDR
7 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb)
8 {
9         return (struct icmp6hdr *)skb_transport_header(skb);
10 }
11 #endif
12
13 #endif