Added task types for IKEv1 certificate handling

This commit is contained in:
Martin Willi
2012-03-20 17:31:13 +01:00
parent df06ef2098
commit 8c33850615
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -39,6 +39,8 @@ ENUM(task_type_names, TASK_IKE_INIT, TASK_XAUTH_REQUEST,
"QUICK_MODE",
"VENDOR_V1",
"IKE_NATD_V1",
"IKE_CERT_PRE_V1",
"IKE_CERT_POST_V1",
"XAUTH_REQUEST",
);
#else
@@ -63,6 +65,8 @@ ENUM(task_type_names, TASK_IKE_INIT, TASK_XAUTH_REQUEST,
"QUICK_MODE",
"VENDOR_V1",
"IKE_NATD_V1",
"IKE_CERT_PRE_V1",
"IKE_CERT_POST_V1",
"XAUTH_REQUEST",
);
#endif /* ME */
+4
View File
@@ -77,6 +77,10 @@ enum task_type_t {
TASK_VENDOR_V1,
/** IKEv1 NAT detection */
TASK_IKE_NATD_V1,
/** IKEv1 pre-authentication certificate handling */
TASK_IKE_CERT_PRE_V1,
/** IKEv1 post-authentication certificate handling */
TASK_IKE_CERT_POST_V1,
/** Request the user/pass with XAUTH */
TASK_XAUTH_REQUEST,
};