return this->mid;
}
+METHOD(quick_mode_t, get_config, child_cfg_t*,
+ private_quick_mode_t *this)
+{
+ return this->initiator ? this->config : NULL;
+}
+
METHOD(quick_mode_t, use_reqid, void,
private_quick_mode_t *this, uint32_t reqid)
{
.destroy = _destroy,
},
.get_mid = _get_mid,
+ .get_config = _get_config,
.use_reqid = _use_reqid,
.use_marks = _use_marks,
.use_if_ids = _use_if_ids,
*/
uint32_t (*get_mid)(quick_mode_t *this);
+ /**
+ * Get the child config of this task as initiator.
+ *
+ * @return config for the CHILD_SA, NULL as responder
+ */
+ child_cfg_t *(*get_config)(quick_mode_t *this);
+
/**
* Use a specific reqid to install this CHILD_SA.
*