child-sa: Add new state to track installation of only the inbound SA

This commit is contained in:
Tobias Brunner
2017-05-23 18:41:31 +02:00
parent 4989aba822
commit 83186d3cf7
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -31,6 +31,7 @@ ENUM(child_sa_state_names, CHILD_CREATED, CHILD_DESTROYING,
"CREATED",
"ROUTED",
"INSTALLING",
"INSTALLED_INBOUND",
"INSTALLED",
"UPDATING",
"REKEYING",
+6 -1
View 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,