aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/sa/transactions/ike_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/sa/transactions/ike_auth.h')
-rw-r--r--src/charon/sa/transactions/ike_auth.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/charon/sa/transactions/ike_auth.h b/src/charon/sa/transactions/ike_auth.h
index 89263d47c..4c6fd822c 100644
--- a/src/charon/sa/transactions/ike_auth.h
+++ b/src/charon/sa/transactions/ike_auth.h
@@ -62,6 +62,18 @@ struct ike_auth_t {
*/
void (*set_config) (ike_auth_t* this,
connection_t *connection, policy_t *policy);
+
+ /**
+ * @brief Set the reqid used for CHILD_SA setup.
+ *
+ * The first two message exchanges may set up an associated
+ * CHILD_SA. If we acquire, we must use the same reqid as the
+ * installed policy.
+ *
+ * @param this calling object
+ * @param reqid reqid to use for the CHILD_SA
+ */
+ void (*set_reqid) (ike_auth_t* this, u_int32_t reqid);
/**
* @brief Set the nonces used in the previous ike_sa_init transaction.