aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/ipsec.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>2017-11-28 15:37:18 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-12-27 21:41:46 +0300
commitab6aaa6e8bf50430b4d4a4a674751f110631fbf4 (patch)
tree03804a619c008452a42e32d1421419649a29a29f /include/odp/api/spec/ipsec.h
parent9e4c797a41fd7ed3b11f5e49b6d88933675ea4c8 (diff)
api: ipsec: add capabilities for fragmentation support
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> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/spec/ipsec.h')
-rw-r--r--include/odp/api/spec/ipsec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 4a33af8ea..0be9664eb 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -260,6 +260,12 @@ typedef struct odp_ipsec_capability_t {
/** IP Authenticated Header (ODP_IPSEC_AH) support */
odp_support_t proto_ah;
+ /** 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