child-sa-manager: Add a global manager storing CHILD_SA relations
To quickly check out IKE_SAs and find associated CHILD_SAs, the child_sa_manager stores relations between CHILD_SAs and IKE_SAs. It provides CHILD_SA specific IKE_SA checkout functions wrapping the ike_sa_manager.
This commit is contained in:
@@ -158,6 +158,7 @@ typedef struct daemon_t daemon_t;
|
||||
#include <control/controller.h>
|
||||
#include <bus/bus.h>
|
||||
#include <sa/ike_sa_manager.h>
|
||||
#include <sa/child_sa_manager.h>
|
||||
#include <sa/trap_manager.h>
|
||||
#include <sa/shunt_manager.h>
|
||||
#include <config/backend_manager.h>
|
||||
@@ -214,6 +215,11 @@ struct daemon_t {
|
||||
*/
|
||||
ike_sa_manager_t *ike_sa_manager;
|
||||
|
||||
/**
|
||||
* A child_sa_manager_t instance.
|
||||
*/
|
||||
child_sa_manager_t *child_sa_manager;
|
||||
|
||||
/**
|
||||
* Manager for triggering policies, called traps
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user