aboutsummaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
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;