using same reqid if a child sa rekeys an existing one

This commit is contained in:
Martin Willi
2006-06-12 08:36:41 +00:00
parent fec9cb332f
commit 50f98119dd
7 changed files with 37 additions and 20 deletions
+3 -1
View File
@@ -183,6 +183,7 @@ struct child_sa_t {
/**
* @brief Constructor to create a new child_sa_t.
*
* @param rekey_reqid reqid of old CHILD_SA when rekeying, 0 otherwise
* @param me own address
* @param other remote address
* @param soft_lifetime time before rekeying
@@ -191,6 +192,7 @@ struct child_sa_t {
*
* @ingroup sa
*/
child_sa_t * child_sa_create(host_t *me, host_t *other, u_int32_t soft_lifetime, u_int32_t hard_lifetime);
child_sa_t * child_sa_create(u_int32_t rekey_reqid, host_t *me, host_t *other,
u_int32_t soft_lifetime, u_int32_t hard_lifetime);
#endif /*CHILD_SA_H_*/