fixed child rekey collision

implemented ike rekey collision
This commit is contained in:
Martin Willi
2007-03-21 14:42:49 +00:00
parent 195ada0b4b
commit eef0859043
8 changed files with 150 additions and 67 deletions
+12
View File
@@ -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);
};
/**