>From dcfe6e052d43cac53d40e031b857b5f1ce06a26b Mon Sep 17 00:00:00 2001 From: Alex Badea Date: Thu, 18 Jun 2009 16:46:44 +0300 Subject: [PATCH] xfrm: introduce XFRM_STATE_ESN flag, and extended replay structure --- src/include/linux/xfrm.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/include/linux/xfrm.h b/src/include/linux/xfrm.h index 5bd2274..00b1f57 100644 --- a/src/include/linux/xfrm.h +++ b/src/include/linux/xfrm.h @@ -74,6 +74,12 @@ struct xfrm_replay_state __u32 bitmap; }; +struct xfrm_replay_state_ext +{ + __u32 oseq_hi; + __u32 seq_hi; +}; + struct xfrm_algo { char alg_name[64]; int alg_key_len; /* in bits */ @@ -171,6 +177,7 @@ struct xfrm_usersa_info { __u8 replay_window; __u8 flags; #define XFRM_STATE_NOECN 1 +#define XFRM_STATE_ESN 64 /* Extended Sequence Numbers */ }; struct xfrm_usersa_id { -- 1.5.4.3