aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/ipsec.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-07-08 09:07:13 +0300
committerGitHub <noreply@github.com>2021-07-08 09:07:13 +0300
commit6c7ac017886e2f1f63a27871254326d7cd1b48d1 (patch)
treea89fd543bacd9483642ebc27517ff59577ba55ad /include/odp/api/spec/ipsec.h
parent3a7a24023021f5959dd2f00fe83cf2635bf25c2d (diff)
parent75b2e7ed219c2f087b7068c4e8b708d475c9026a (diff)
Merge ODP v1.30.0.0v1.30.0.0_DPDK_19.11
Merge ODP linux-generic v1.30.0.0 into ODP-DPDK.
Diffstat (limited to 'include/odp/api/spec/ipsec.h')
-rw-r--r--include/odp/api/spec/ipsec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 5c4ee03ab..2030b19e8 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -937,6 +937,15 @@ typedef struct odp_ipsec_stats_t {
/** Number of packets with hard lifetime(packets) expired */
uint64_t hard_exp_pkts_err;
+
+ /** Total bytes of packet data processed by IPsec SA in success cases
+ *
+ * The range of packet bytes included in the success_bytes count is
+ * implementation defined but includes at least the bytes input for
+ * encryption or bytes output after decryption in ESP or the bytes
+ * authenticated in AH.
+ */
+ uint64_t success_bytes;
} odp_ipsec_stats_t;
/**