From e732fb11a915b5e760a8c1fbd1a5f12581912787 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 23 Oct 2014 15:42:21 +0200 Subject: 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. --- src/libcharon/daemon.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libcharon/daemon.h') diff --git a/src/libcharon/daemon.h b/src/libcharon/daemon.h index 36242bb04..8ec1ec253 100644 --- a/src/libcharon/daemon.h +++ b/src/libcharon/daemon.h @@ -158,6 +158,7 @@ typedef struct daemon_t daemon_t; #include #include #include +#include #include #include #include @@ -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 */ -- cgit v1.2.3