1 #ifndef __NET_IPV6_WRAPPER_H
2 #define __NET_IPV6_WRAPPER_H 1
4 #include_next <net/ipv6.h>
7 OVS_IP6T_FH_F_FRAG = (1 << 0),
8 OVS_IP6T_FH_F_AUTH = (1 << 1),
9 OVS_IP6T_FH_F_SKIP_RH = (1 << 2),
12 /* This function is upstream but not the version which supplies the
13 * fragment offset. We plan to propose the extended version.
15 #define ipv6_skip_exthdr rpl_ipv6_skip_exthdr
16 extern int ipv6_skip_exthdr(const struct sk_buff *skb, int start,
17 u8 *nexthdrp, __be16 *frag_offp);
19 /* This function is upstream, but not the version which skips routing
20 * headers with 0 segments_left. We plan to propose the extended version. */
21 #define ipv6_find_hdr rpl_ipv6_find_hdr
22 extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
23 int target, unsigned short *fragoff, int *fragflg);