ikev2: make liveness params configurable
[vpp.git] / src / plugins / ikev2 / ikev2.api
index bd33016..8c56c98 100644 (file)
@@ -346,6 +346,22 @@ autoreply define ikev2_profile_set_ipsec_udp_port
   u16 port;
   string name[64];
 };
+
+/** \brief IKEv2: Set liveness parameters
+    @param client_index - opaque cookie to identify the sender
+    @param context - sender context, to match reply w/ request
+    @param period - how often is liveness check performed
+    @param max_retries - max retries for liveness check
+*/
+autoreply define ikev2_profile_set_liveness
+{
+  u32 client_index;
+  u32 context;
+
+  u32 period;
+  u32 max_retries;
+};
+
 /*
  * Local Variables:
  * eval: (c-set-style "gnu")