Added an IKE_SA manager method to enumerate IKE_SA IDs filtered by identities
This commit is contained in:
@@ -169,6 +169,18 @@ struct ike_sa_manager_t {
|
||||
*/
|
||||
enumerator_t *(*create_enumerator) (ike_sa_manager_t* this, bool wait);
|
||||
|
||||
/**
|
||||
* Create an enumerator over ike_sa_id_t*, matching peer identities.
|
||||
*
|
||||
* @param me local peer identity to match
|
||||
* @param other remote peer identity to match
|
||||
* @param family address family to match, 0 for any
|
||||
* @return enumerator over ike_sa_id_t*
|
||||
*/
|
||||
enumerator_t* (*create_id_enumerator)(ike_sa_manager_t *this,
|
||||
identification_t *me, identification_t *other,
|
||||
int family);
|
||||
|
||||
/**
|
||||
* Checkin the SA after usage.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user