aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/ipsec.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2017-07-12 16:54:33 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-12-27 21:41:45 +0300
commit96e9605bac4b68e51a5edb956547440484bbc550 (patch)
treefc8e78b01319f107c43a2ac8fea726eab224285a /include/odp/api/spec/ipsec.h
parentc1062fff5a358b13e9434dcd9ef0252c9c983a40 (diff)
api: ipsec: remove time based SA lifetime
Application may track time based SA lifetime expiration efficiently and in many ways: e.g. ODP timers may be used, wall clock time may be polled, control plane may send notifications, etc. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@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.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 31fcd7502..2d0aea45b 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -278,20 +278,6 @@ typedef struct odp_ipsec_capability_t {
* be used for many SAs. */
uint32_t max_queues;
- /** Soft expiry limit in seconds support
- *
- * 0: Limit is not supported
- * 1: Limit is supported
- */
- uint8_t soft_limit_sec;
-
- /** Hard expiry limit in seconds support
- *
- * 0: Limit is not supported
- * 1: Limit is supported
- */
- uint8_t hard_limit_sec;
-
/** Supported cipher algorithms */
odp_crypto_cipher_algos_t ciphers;
@@ -524,9 +510,6 @@ typedef struct odp_ipsec_sa_opt_t {
typedef struct odp_ipsec_lifetime_t {
/** Soft expiry limits for the session */
struct {
- /** Limit in seconds from the SA creation */
- uint64_t sec;
-
/** Limit in bytes */
uint64_t bytes;
@@ -536,9 +519,6 @@ typedef struct odp_ipsec_lifetime_t {
/** Hard expiry limits for the session */
struct {
- /** Limit in seconds from the SA creation */
- uint64_t sec;
-
/** Limit in bytes */
uint64_t bytes;
@@ -918,18 +898,12 @@ typedef struct odp_ipsec_op_status_t {
/** Packet does not fit into the given MTU size */
uint32_t mtu : 1;
- /** Soft lifetime expired: seconds */
- uint32_t soft_exp_sec : 1;
-
/** Soft lifetime expired: bytes */
uint32_t soft_exp_bytes : 1;
/** Soft lifetime expired: packets */
uint32_t soft_exp_packets : 1;
- /** Hard lifetime expired: seconds */
- uint32_t hard_exp_sec : 1;
-
/** Hard lifetime expired: bytes */
uint32_t hard_exp_bytes : 1;