implemented IKE_SA uniqueness using ipsec.conf uniqueids paramater
additionally supports a "keep" value to keep the old IKE_SA
This commit is contained in:
@@ -102,6 +102,14 @@ struct ike_sa_manager_t {
|
||||
ike_sa_t* (*checkout_by_config) (ike_sa_manager_t* this,
|
||||
peer_cfg_t *peer_cfg);
|
||||
|
||||
/**
|
||||
* Check out a duplicate if ike_sa to do uniqueness tests.
|
||||
*
|
||||
* @param ike_sa ike_sa to get a duplicate from
|
||||
* @return checked out duplicate
|
||||
*/
|
||||
ike_sa_t* (*checkout_duplicate)(ike_sa_manager_t *this, ike_sa_t *ike_sa);
|
||||
|
||||
/**
|
||||
* Check out an IKE_SA a unique ID.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user