diff mbox series

[API-NEXT,v1,2/3] api: ipsec: add capabilities for fragmentation support

Message ID 1511877607-32699-3-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>


It is expected that implementation can support any combination of
fragmentatation (after, before, both or none). Add capabilities to
report such support to application.

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 | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index c1307194e..697278f90 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -263,6 +263,12 @@  typedef struct odp_ipsec_capability_t {
 	/** Extended Sequence Numbers support */
 	odp_support_t esn;
 
+	/** Fragment after IPsec support */
+	odp_support_t frag_after;
+
+	/** Fragment before IPsec support */
+	odp_support_t frag_before;
+
 	/**
 	 * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS) of
 	 *  resulting inbound packets