aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ipcomp.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-08-06 05:49:12 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-20 21:16:30 -0400
commit9409f38a0c8773c04bff8dda8c552d7ea013d956 (patch)
tree694ad993535d6dcfd479f9b5cb4faab64c12fcd7 /include/net/ipcomp.h
parent6521f30273fbec65146a0f16de74b7b402b0f7b0 (diff)
[IPSEC]: Move linux/crypto.h inclusion out of net/xfrm.h
The header file linux/crypto.h is only needed by a few files so including it in net/xfrm.h (which is included by half of the networking stack) is a waste. This patch moves it out of net/xfrm.h and into the specific header files that actually need it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/net/ipcomp.h')
-rw-r--r--include/net/ipcomp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ipcomp.h b/include/net/ipcomp.h
index e651a57ecdd5..b94e3047b4d9 100644
--- a/include/net/ipcomp.h
+++ b/include/net/ipcomp.h
@@ -1,8 +1,12 @@
1#ifndef _NET_IPCOMP_H 1#ifndef _NET_IPCOMP_H
2#define _NET_IPCOMP_H 2#define _NET_IPCOMP_H
3 3
4#include <linux/types.h>
5
4#define IPCOMP_SCRATCH_SIZE 65400 6#define IPCOMP_SCRATCH_SIZE 65400
5 7
8struct crypto_tfm;
9
6struct ipcomp_data { 10struct ipcomp_data {
7 u16 threshold; 11 u16 threshold;
8 struct crypto_tfm **tfms; 12 struct crypto_tfm **tfms;