aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/config/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/config/configuration.h')
-rwxr-xr-xsrc/charon/config/configuration.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/charon/config/configuration.h b/src/charon/config/configuration.h
index 066475a12..f0696328d 100755
--- a/src/charon/config/configuration.h
+++ b/src/charon/config/configuration.h
@@ -70,6 +70,39 @@ struct configuration_t {
u_int32_t (*get_half_open_ike_sa_timeout) (configuration_t *this);
/**
+ * @brief Returns the keepalive interval in ms.
+ *
+ * The keepalive interval defines the idle time after which a
+ * NAT keepalive packet should be sent.
+ *
+ * @param this calling object
+ * @return interval in milliseconds (ms)
+ */
+ u_int32_t (*get_keepalive_interval) (configuration_t *this);
+
+ /**
+ * @brief Returns the keepalive timeout in ms.
+ *
+ * The keepalive timeout defines how long we should keep sending
+ * NAT keepalives after closing an IKE_SA.
+ *
+ * @param this calling object
+ * @return timeout in milliseconds (ms)
+ */
+ u_int32_t (*get_keepalive_timeout) (configuration_t *this);
+
+ /**
+ * @brief Returns the DPD interval in ms.
+ *
+ * The DPD interval defines the time after which a
+ * DPD request packet should be sent.
+ *
+ * @param this calling object
+ * @return interval in milliseconds (ms)
+ */
+ u_int32_t (*get_dpd_interval) (configuration_t *this);
+
+ /**
* @brief Destroys a configuration_t object.
*
* @param this calling object