From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

ESN support is marked as SHOULD by RFC 4302/4303, so add capability for
ESN support.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
---
/** Email created from pull request 311 (lumag:ipsec-caps)
 ** https://github.com/Linaro/odp/pull/311
 ** Patch: https://github.com/Linaro/odp/pull/311.patch
 ** Base sha: 4cb02e1caccb9179575e95448fd46979e17d0905
 ** Merge commit sha: aa57ba9cce8dd6a7ae0d02117c362aa07d0985a4
 **/
 include/odp/api/spec/ipsec.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 4a33af8ea..c1307194e 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -260,6 +260,9 @@ typedef struct odp_ipsec_capability_t {
        /** IP Authenticated Header (ODP_IPSEC_AH) support */
        odp_support_t proto_ah;
 
+       /** Extended Sequence Numbers support */
+       odp_support_t esn;
+
        /**
         * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS) of
         *  resulting inbound packets

Reply via email to