this->rekey = spi;
}
+METHOD(quick_mode_t, get_config, child_cfg_t*,
+ private_quick_mode_t *this)
+{
+ return this->config;
+}
+
METHOD(task_t, migrate, void,
private_quick_mode_t *this, ike_sa_t *ike_sa)
{
.use_reqid = _use_reqid,
.use_marks = _use_marks,
.rekey = _rekey,
+ .get_config = _get_config,
},
.ike_sa = ike_sa,
.initiator = config != NULL,
* @param spi spi of SA to rekey
*/
void (*rekey)(quick_mode_t *this, u_int32_t spi);
+
+ /**
+ * Get the used CHILD_SA configuration.
+ *
+ * @return config
+ */
+ child_cfg_t* (*get_config)(quick_mode_t *this);
};
/**