aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.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/xfrm.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/xfrm.h')
-rw-r--r--include/net/xfrm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 9c5ee9f20b65..10396b4bde14 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -8,7 +8,6 @@
8#include <linux/list.h> 8#include <linux/list.h>
9#include <linux/skbuff.h> 9#include <linux/skbuff.h>
10#include <linux/socket.h> 10#include <linux/socket.h>
11#include <linux/crypto.h>
12#include <linux/pfkeyv2.h> 11#include <linux/pfkeyv2.h>
13#include <linux/in6.h> 12#include <linux/in6.h>
14#include <linux/mutex.h> 13#include <linux/mutex.h>
@@ -985,6 +984,7 @@ extern struct xfrm_algo_desc *xfrm_ealg_get_byname(char *name, int probe);
985extern struct xfrm_algo_desc *xfrm_calg_get_byname(char *name, int probe); 984extern struct xfrm_algo_desc *xfrm_calg_get_byname(char *name, int probe);
986 985
987struct crypto_tfm; 986struct crypto_tfm;
987struct scatterlist;
988typedef void (icv_update_fn_t)(struct crypto_tfm *, struct scatterlist *, unsigned int); 988typedef void (icv_update_fn_t)(struct crypto_tfm *, struct scatterlist *, unsigned int);
989 989
990extern void skb_icv_walk(const struct sk_buff *skb, struct crypto_tfm *tfm, 990extern void skb_icv_walk(const struct sk_buff *skb, struct crypto_tfm *tfm,