diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-07-25 05:54:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-25 05:54:40 -0400 |
commit | 6fccab671f2f0a24b799f29a4ec878f62d34656c (patch) | |
tree | e90a1ac0770f8fe59bd7c8768663052a7756b950 /include/net | |
parent | cffe1c5d7a5a1e54f7c2c6d0510f651a965bccc3 (diff) |
ipsec: ipcomp - Merge IPComp implementations
This patch merges the IPv4/IPv6 IPComp implementations since most
of the code is identical. As a result future enhancements will no
longer need to be duplicated.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ipcomp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/ipcomp.h b/include/net/ipcomp.h index 330b74e813a9..2a1092abaa07 100644 --- a/include/net/ipcomp.h +++ b/include/net/ipcomp.h | |||
@@ -14,6 +14,12 @@ struct ipcomp_data { | |||
14 | 14 | ||
15 | struct ip_comp_hdr; | 15 | struct ip_comp_hdr; |
16 | struct sk_buff; | 16 | struct sk_buff; |
17 | struct xfrm_state; | ||
18 | |||
19 | int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb); | ||
20 | int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb); | ||
21 | void ipcomp_destroy(struct xfrm_state *x); | ||
22 | int ipcomp_init_state(struct xfrm_state *x); | ||
17 | 23 | ||
18 | static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) | 24 | static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) |
19 | { | 25 | { |