summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-05-27 16:03:45 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-28 11:23:20 +0800
commit69b0137f6164a14993504d4cf5a61dabf79e6c43 (patch)
tree0654e06290f7940fdb693513c54dd9fa6c93699b /include/net/xfrm.h
parent165ecc6373c7bfcd63da6dc489980c892fac2db9 (diff)
downloadop-kernel-dev-69b0137f6164a14993504d4cf5a61dabf79e6c43.zip
op-kernel-dev-69b0137f6164a14993504d4cf5a61dabf79e6c43.tar.gz
ipsec: Add IV generator information to xfrm_state
This patch adds IV generator information to xfrm_state. This is currently obtained from our own list of algorithm descriptions. 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 30bca86..f0ee97e 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -168,6 +168,7 @@ struct xfrm_state {
struct xfrm_algo *ealg;
struct xfrm_algo *calg;
struct xfrm_algo_aead *aead;
+ const char *geniv;
/* Data for encapsulator */
struct xfrm_encap_tmpl *encap;
OpenPOWER on IntegriCloud