summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec.api
diff options
context:
space:
mode:
authorYulong Pei <yulong.pei@intel.com>2020-08-14 18:21:08 +0800
committerMatthew Smith <mgsmith@netgate.com>2020-09-02 13:09:10 +0000
commit2e84d665542cba52461a5abcac4e05b050ffe4ff (patch)
treec69fafc5d3fc326c376471b16f3cc98cbed7853e /src/vnet/ipsec/ipsec.api
parent7d4a997ea1fa93c305873ee1156765adc062cb27 (diff)
ipsec: add ipsec set async mode api
Type: improvement Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I841f4407ed8c1a448e5102059fc79ae1f7d461de
Diffstat (limited to 'src/vnet/ipsec/ipsec.api')
-rw-r--r--src/vnet/ipsec/ipsec.api12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec.api b/src/vnet/ipsec/ipsec.api
index 16d210f69b9..52a16ede1aa 100644
--- a/src/vnet/ipsec/ipsec.api
+++ b/src/vnet/ipsec/ipsec.api
@@ -535,6 +535,18 @@ autoreply define ipsec_select_backend {
u8 index;
};
+
+/** \brief IPsec Set Async mode
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param async_enable - ipsec async mode on or off
+*/
+autoreply define ipsec_set_async_mode {
+ u32 client_index;
+ u32 context;
+ bool async_enable;
+};
+
/*
* Local Variables:
* eval: (c-set-style "gnu")