diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv6/ip6_tables.h | 9 | ||||
-rw-r--r-- | include/linux/openvswitch.h | 1 | ||||
-rw-r--r-- | include/net/ipv6.h | 10 |
3 files changed, 11 insertions, 9 deletions
diff --git a/include/linux/netfilter_ipv6/ip6_tables.h b/include/linux/netfilter_ipv6/ip6_tables.h index 5f84c6229dc6..610208b18c05 100644 --- a/include/linux/netfilter_ipv6/ip6_tables.h +++ b/include/linux/netfilter_ipv6/ip6_tables.h | |||
@@ -47,15 +47,6 @@ ip6t_ext_hdr(u8 nexthdr) | |||
47 | (nexthdr == IPPROTO_DSTOPTS); | 47 | (nexthdr == IPPROTO_DSTOPTS); |
48 | } | 48 | } |
49 | 49 | ||
50 | enum { | ||
51 | IP6T_FH_F_FRAG = (1 << 0), | ||
52 | IP6T_FH_F_AUTH = (1 << 1), | ||
53 | }; | ||
54 | |||
55 | /* find specified header and get offset to it */ | ||
56 | extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, | ||
57 | int target, unsigned short *fragoff, int *fragflg); | ||
58 | |||
59 | #ifdef CONFIG_COMPAT | 50 | #ifdef CONFIG_COMPAT |
60 | #include <net/compat.h> | 51 | #include <net/compat.h> |
61 | 52 | ||
diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h index eb1efa54fe84..d42e174bd0c8 100644 --- a/include/linux/openvswitch.h +++ b/include/linux/openvswitch.h | |||
@@ -243,6 +243,7 @@ enum ovs_key_attr { | |||
243 | OVS_KEY_ATTR_ICMPV6, /* struct ovs_key_icmpv6 */ | 243 | OVS_KEY_ATTR_ICMPV6, /* struct ovs_key_icmpv6 */ |
244 | OVS_KEY_ATTR_ARP, /* struct ovs_key_arp */ | 244 | OVS_KEY_ATTR_ARP, /* struct ovs_key_arp */ |
245 | OVS_KEY_ATTR_ND, /* struct ovs_key_nd */ | 245 | OVS_KEY_ATTR_ND, /* struct ovs_key_nd */ |
246 | OVS_KEY_ATTR_SKB_MARK, /* u32 skb mark */ | ||
246 | __OVS_KEY_ATTR_MAX | 247 | __OVS_KEY_ATTR_MAX |
247 | }; | 248 | }; |
248 | 249 | ||
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, |