Use a sync message cache to resynchronize IKE_SAs without rekeying

This commit is contained in:
Martin Willi
2010-07-26 13:53:49 +02:00
parent 2031002d42
commit aa334daa9b
16 changed files with 595 additions and 170 deletions
+6 -3
View File
@@ -21,14 +21,15 @@
#ifndef HA_CHILD_H_
#define HA_CHILD_H_
typedef struct ha_child_t ha_child_t;
#include "ha_socket.h"
#include "ha_tunnel.h"
#include "ha_segments.h"
#include "ha_cache.h"
#include <daemon.h>
typedef struct ha_child_t ha_child_t;
/**
* Listener to synchronize CHILD_SAs.
*/
@@ -50,8 +51,10 @@ struct ha_child_t {
*
* @param socket socket to use for sending synchronization messages
* @param tunnel tunnel securing sync messages, if any
* @param cache message resync cache
* @return CHILD listener
*/
ha_child_t *ha_child_create(ha_socket_t *socket, ha_tunnel_t *tunnel);
ha_child_t *ha_child_create(ha_socket_t *socket, ha_tunnel_t *tunnel,
ha_cache_t *cache);
#endif /** HA_CHILD_ @}*/