diff mbox series

[API-NEXT,v1,1/3] api: ipsec: add capability for ESN support

Message ID 1511877607-32699-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/3] api: ipsec: add capability for ESN support | expand

Commit Message

Github ODP bot Nov. 28, 2017, 2 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@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.ereminsolenikov@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 mbox series

Patch

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