1 #ifndef __LINUX_IPV6_WRAPPER_H
2 #define __LINUX_IPV6_WRAPPER_H 1
4 #include_next <linux/ipv6.h>
9 #ifndef HAVE_SKBUFF_HEADER_HELPERS
10 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb)
12 return (struct ipv6hdr *)skb_network_header(skb);
16 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0)
17 void rpl_ip6_expire_frag_queue(struct net *net, struct frag_queue *fq,
18 struct inet_frags *frags);
19 #define ip6_expire_frag_queue rpl_ip6_expire_frag_queue