From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@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.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 | 6 ++++++ 1 file changed, 6 insertions(+) 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