syncing of complete IKE/CHILD_SAs works

This commit is contained in:
Martin Willi
2010-04-07 13:55:11 +02:00
committed by Martin Willi
parent 7999be5b0e
commit c94fe198e9
8 changed files with 346 additions and 14 deletions
@@ -42,6 +42,14 @@ struct ha_sync_cache_t {
*/
ike_sa_t* (*get_ike_sa)(ha_sync_cache_t *this, ike_sa_id_t *id);
/**
* Check if an IKE_SA is in the cache.
*
* @param id IKE_SA identifier of cached SA.
* @return TRUE if IKE_SA found
*/
bool (*has_ike_sa)(ha_sync_cache_t *this, ike_sa_id_t *id);
/**
* Delete a synced and cached IKE_SA entry.
*