implemented dynamic detection of TNCCS protocol

This commit is contained in:
Andreas Steffen
2011-01-31 00:59:17 +01:00
parent 5c89a00f05
commit f652995b21
10 changed files with 317 additions and 4 deletions
+2 -1
View File
@@ -15,7 +15,8 @@
#include "tnccs.h"
ENUM(eap_type_names, TNCCS_1_1, TNCCS_2_0,
ENUM(tnccs_type_names, TNCCS_UNKNOWN, TNCCS_2_0,
"unknown TNCCS",
"TNCCS 1.1",
"TNCCS SOH",
"TNCCS 2.0",
+3 -1
View File
@@ -39,9 +39,11 @@ typedef enum tnccs_type_t tnccs_type_t;
* Type of TNC Client/Server protocol
*/
enum tnccs_type_t {
TNCCS_UNKNOWN,
TNCCS_1_1,
TNCCS_SOH,
TNCCS_2_0
TNCCS_2_0,
TNCCS_DYNAMIC
};
/**