]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
child-sa: Add new state to track installation of only the inbound SA
authorTobias Brunner <tobias@strongswan.org>
Tue, 28 Feb 2017 13:57:51 +0000 (14:57 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2017 16:41:31 +0000 (18:41 +0200)
src/libcharon/sa/child_sa.c
src/libcharon/sa/child_sa.h

index dc1539fa086d6938f7938f103ea52a3a29aba6bc..9fe936a4e3e85d50ea4951b7597f226e6c276299 100644 (file)
@@ -31,6 +31,7 @@ ENUM(child_sa_state_names, CHILD_CREATED, CHILD_DESTROYING,
        "CREATED",
        "ROUTED",
        "INSTALLING",
+       "INSTALLED_INBOUND",
        "INSTALLED",
        "UPDATING",
        "REKEYING",
index bc5f919ae749260e2e1c9eb0f914da4f84e272eb..4d640917566b95fe8194d1dc69520cb56026bd3a 100644 (file)
@@ -53,7 +53,12 @@ enum child_sa_state_t {
        CHILD_INSTALLING,
 
        /**
-        * Installed an in-use CHILD_SA
+        * Installed the inbound SA of a CHILD_SA during rekeying
+        */
+       CHILD_INSTALLED_INBOUND,
+
+       /**
+        * Installed both SAs of a CHILD_SA
         */
        CHILD_INSTALLED,