summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorHerbert Xu2006-08-13 00:50:00 +0200
committerHerbert Xu2006-09-21 03:46:14 +0200
commit04ff12609445c7b462d7fc7f2d30dad442c922f3 (patch)
treef19aff48d2e6a4c7e4bf25044c1b30ea428f4318 /include/net/xfrm.h
parent[BLOCK] dm-crypt: Use block ciphers where applicable (diff)
downloadkernel-qcow2-linux-04ff12609445c7b462d7fc7f2d30dad442c922f3.tar.gz
kernel-qcow2-linux-04ff12609445c7b462d7fc7f2d30dad442c922f3.tar.xz
kernel-qcow2-linux-04ff12609445c7b462d7fc7f2d30dad442c922f3.zip
[IPSEC]: Add compatibility algorithm name support
This patch adds a compatibility name field for each IPsec algorithm. This is needed when parameterised algorithms are used. For example, "md5" will become "hmac(md5)", and "aes" will become "cbc(aes)". Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 10396b4bde14..e9114e41affc 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -854,6 +854,7 @@ struct xfrm_algo_comp_info {
struct xfrm_algo_desc {
char *name;
+ char *compat;
u8 available:1;
union {
struct xfrm_algo_auth_info auth;