diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2011-12-08 09:52:40 -0800 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2011-12-08 09:52:40 -0800 |
commit | 51c07c9e1fc925c2e1aeca04c3b9971dfdb7c1a0 (patch) | |
tree | 2315f4204dc156385a52f528188cd59c9ee7217f /datapath/linux/compat/include/net/ipv6.h | |
parent | ca286ba95be3c0815e5f9c4df54dbed7f5e2d4e7 (diff) |
datapath: Fix build on RHEL 5.5
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/linux/compat/include/net/ipv6.h')
-rw-r--r-- | datapath/linux/compat/include/net/ipv6.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/datapath/linux/compat/include/net/ipv6.h b/datapath/linux/compat/include/net/ipv6.h new file mode 100644 index 00000000..8bb7d656 --- /dev/null +++ b/datapath/linux/compat/include/net/ipv6.h @@ -0,0 +1,13 @@ +#ifndef __NET_IPV6_WRAPPER_H +#define __NET_IPV6_WRAPPER_H 1 + +#include_next <net/ipv6.h> + +/* This function is upstream but not the version which supplies the + * fragment offset. We plan to propose the extended version. + */ +#define ipv6_skip_exthdr rpl_ipv6_skip_exthdr +extern int ipv6_skip_exthdr(const struct sk_buff *skb, int start, + u8 *nexthdrp, __be16 *frag_offp); + +#endif |