aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server/tncs.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-03-30 14:10:44 (GMT)
committerJouni Malinen <j@w1.fi>2008-03-30 14:10:44 (GMT)
commit1c2ff04f3afb8e05db7dbab9d1e0d292a1b10c32 (patch)
tree79a75d624e2e13b63febbf326d5b218bcf539348 /src/eap_server/tncs.h
parent30680e9332c96803533b9dae6105fd7b15b5bb52 (diff)
downloadhostap-1c2ff04f3afb8e05db7dbab9d1e0d292a1b10c32.zip
hostap-1c2ff04f3afb8e05db7dbab9d1e0d292a1b10c32.tar.gz
hostap-1c2ff04f3afb8e05db7dbab9d1e0d292a1b10c32.tar.bz2
TNC: Added preliminary code for IF-TNCCS-SOH server side support
If TNC is enabled, PEAPv0 server is now sending out SoH request to initiate IF-TNCCS-SOH (Microsoft NAP / Statement of Health) handshake. The results are currently only shown in debug log and they do not affect authentication or authorization result.
Diffstat (limited to 'src/eap_server/tncs.h')
-rw-r--r--src/eap_server/tncs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eap_server/tncs.h b/src/eap_server/tncs.h
index f4e2074..18a3a1f 100644
--- a/src/eap_server/tncs.h
+++ b/src/eap_server/tncs.h
@@ -1,5 +1,5 @@
/*
- * EAP-TNC - TNCS (IF-IMV and IF-TNCCS)
+ * EAP-TNC - TNCS (IF-IMV, IF-TNCCS, and IF-TNCCS-SOH)
* Copyright (c) 2007-2008, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
@@ -42,4 +42,8 @@ enum tncs_process_res tncs_process_if_tnccs(struct tncs_data *tncs,
int tncs_global_init(void);
void tncs_global_deinit(void);
+struct wpabuf * tncs_build_soh_request(void);
+struct wpabuf * tncs_process_soh(const u8 *soh_tlv, size_t soh_tlv_len,
+ int *failure);
+
#endif /* TNCS_H */