diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ipv6.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 979bf6c13141..acbd8e034310 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -630,6 +630,16 @@ extern int ipv6_skip_exthdr(const struct sk_buff *, int start, | |||
630 | 630 | ||
631 | extern bool ipv6_ext_hdr(u8 nexthdr); | 631 | extern bool ipv6_ext_hdr(u8 nexthdr); |
632 | 632 | ||
633 | enum { | ||
634 | IP6_FH_F_FRAG = (1 << 0), | ||
635 | IP6_FH_F_AUTH = (1 << 1), | ||
636 | IP6_FH_F_SKIP_RH = (1 << 2), | ||
637 | }; | ||
638 | |||
639 | /* find specified header and get offset to it */ | ||
640 | extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, | ||
641 | int target, unsigned short *fragoff, int *fragflg); | ||
642 | |||
633 | extern int ipv6_find_tlv(struct sk_buff *skb, int offset, int type); | 643 | extern int ipv6_find_tlv(struct sk_buff *skb, int offset, int type); |
634 | 644 | ||
635 | extern struct in6_addr *fl6_update_dst(struct flowi6 *fl6, | 645 | extern struct in6_addr *fl6_update_dst(struct flowi6 *fl6, |