Update ipsec_xform definition to include ESN field. This allows the application to control the ESN starting value.
Signed-off-by: Declan Doherty <[email protected]> Signed-off-by: Radu Nicolau <[email protected]> Signed-off-by: Abhijit Sinha <[email protected]> Signed-off-by: Daniel Martin Buckley <[email protected]> Acked-by: Fan Zhang <[email protected]> Acked-by: Anoob Joseph <[email protected]> --- lib/security/rte_security.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 2e136d7929..48353a3e18 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -217,6 +217,14 @@ struct rte_security_ipsec_xform { /**< Anti replay window size to enable sequence replay attack handling. * replay checking is disabled if the window size is 0. */ + union { + uint64_t value; + struct { + uint32_t low; + uint32_t hi; + }; + } esn; + /**< Extended Sequence Number */ }; /** -- 2.25.1

