aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/ipsec.h
diff options
context:
space:
mode:
authorSachin Yaligar <syaligar@marvell.com>2020-11-17 09:09:47 +0000
committerPetri Savolainen <petri.savolainen@nokia.com>2020-12-21 14:20:03 +0200
commit0e0982b1e199a9c934498dc7933583b02b3301cb (patch)
treec13c8e91701e6abce1ad3309a21430a71d0a1f84 /include/odp/api/spec/ipsec.h
parent99b6540b5c9b794868ae5b0dc766ebf2dbc69a74 (diff)
api: ipsec: add print APIs
Add odp_ipsec_sa_print() API to print implementation defined information about specified SA. Also add odp_ipsec_print() API to print global IPSEC configuration and other related information. Signed-off-by: Sachin Yaligar <syaligar@marvell.com> Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include/odp/api/spec/ipsec.h')
-rw-r--r--include/odp/api/spec/ipsec.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 48b046e43..3cca3bf42 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -1627,6 +1627,23 @@ int odp_ipsec_sa_mtu_update(odp_ipsec_sa_t sa, uint32_t mtu);
void *odp_ipsec_sa_context(odp_ipsec_sa_t sa);
/**
+ * Print global IPSEC configuration info
+ *
+ * Print implementation-defined information about the global IPSEC
+ * configuration.
+ */
+void odp_ipsec_print(void);
+
+/**
+ * Print IPSEC SA info
+ *
+ * @param sa SA handle
+ *
+ * Print implementation-defined IPSEC SA debug information to the ODP log.
+ */
+void odp_ipsec_sa_print(odp_ipsec_sa_t sa);
+
+/**
* @}
*/