support for transport in create_child_sa

include TRANSPORT/TUNNEL information in statusall
This commit is contained in:
Martin Willi
2007-01-08 06:55:50 +00:00
parent 09ff411061
commit 21f42524e0
4 changed files with 26 additions and 8 deletions
+8
View File
@@ -38,6 +38,14 @@ ENUM(dpd_action_names, DPD_NONE, DPD_RESTART,
"DPD_RESTART"
);
ENUM(mode_names, MODE_TRANSPORT, MODE_BEET,
"TRANSPORT",
"TUNNEL",
"2",
"3",
"BEET"
);
typedef struct private_policy_t private_policy_t;
/**
+7 -2
View File
@@ -52,6 +52,11 @@ enum dpd_action_t {
DPD_RESTART,
};
/**
* enum names for dpd_action_t.
*/
extern enum_name_t *dpd_action_names;
/**
* @brief Mode of an IPsec SA.
*
@@ -69,9 +74,9 @@ enum mode_t {
};
/**
* enum names for dpd_action_t.
* enum names for mode_t.
*/
extern enum_name_t *dpd_action_names;
extern enum_name_t *mode_names;
/**
* @brief A policy_t defines the policies to apply to CHILD_SAs.