diff options
Diffstat (limited to 'src/charon/sa/tasks/ike_rekey.h')
-rw-r--r-- | src/charon/sa/tasks/ike_rekey.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/charon/sa/tasks/ike_rekey.h b/src/charon/sa/tasks/ike_rekey.h index f1caf5758..125422efd 100644 --- a/src/charon/sa/tasks/ike_rekey.h +++ b/src/charon/sa/tasks/ike_rekey.h @@ -43,6 +43,18 @@ struct ike_rekey_t { * Implements the task_t interface */ task_t task; + + /** + * @brief Register a rekeying task which collides with this one. + * + * If two peers initiate rekeying at the same time, the collision must + * be handled gracefully. The task manager is aware of what exchanges + * are going on and notifies the outgoing task by passing the incoming. + * + * @param this task initated by us + * @param other incoming task + */ + void (*collide)(ike_rekey_t* this, task_t *other); }; /** |