aboutsummaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2014-08-13 16:14:13 -0500
committerDavid Barksdale <amatus@amatus.name>2014-08-13 16:14:13 -0500
commitace6c6d243016e272050787c14e27a83ecd94a25 (patch)
treec837edb1ca98b2552fbc7edba47aeb63f98ca1f0 /include/net/xfrm.h
parent1b6e1688bd215cd7c9cb75650fa815a1ec6567e1 (diff)
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 223e90a4482..645f3956b32 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -164,6 +164,11 @@ struct xfrm_state
struct xfrm_algo *ealg;
struct xfrm_algo *calg;
struct xfrm_algo_aead *aead;
+ #define XFRM_ALGO_FLAGS_OFFLOAD_TRANPORT 0x0001
+ #define XFRM_ALGO_FLAGS_OFFLOAD_TUNNEL 0x0002
+ #define XFRM_ALGO_FLAGS_OFFLOAD_ESP 0x0004
+ #define XFRM_ALGO_FLAGS_OFFLOAD_AH 0x0008
+ u32 alg_flags;
/* Data for encapsulator */
struct xfrm_encap_tmpl *encap;