basic syncing of IKE_SAs

recreating SAs with keymat derivation
This commit is contained in:
Martin Willi
2010-04-07 13:55:11 +02:00
committed by Martin Willi
parent 190edaf527
commit 765935c8f6
9 changed files with 548 additions and 71 deletions
@@ -24,6 +24,7 @@
#define HA_SYNC_DISPATCHER_H_
#include "ha_sync_socket.h"
#include "ha_sync_cache.h"
typedef struct ha_sync_dispatcher_t ha_sync_dispatcher_t;
@@ -42,8 +43,10 @@ struct ha_sync_dispatcher_t {
* Create a ha_sync_dispatcher instance pulling from socket.
*
* @param socket socket to pull messages from
* @param cache cache to push synced SAs to
* @return dispatcher object
*/
ha_sync_dispatcher_t *ha_sync_dispatcher_create(ha_sync_socket_t *socket);
ha_sync_dispatcher_t *ha_sync_dispatcher_create(ha_sync_socket_t *socket,
ha_sync_cache_t *cache);
#endif /* HA_SYNC_DISPATCHER_ @}*/