aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtnccs/tnc/tnccs/tnccs_manager.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-07-12 20:01:32 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-07-12 21:26:18 +0200
commit968c83cdebc9e24e75e02069feda9d745c03bf4b (patch)
tree944297be41719208df709b97aad00be2af02d136 /src/libtnccs/tnc/tnccs/tnccs_manager.h
parentc5d2e61802c86c8649f703ae22a2dd3c83074e49 (diff)
downloadstrongswan-968c83cdebc9e24e75e02069feda9d745c03bf4b.tar.bz2
strongswan-968c83cdebc9e24e75e02069feda9d745c03bf4b.tar.xz
restrict PA-TNC messages to maximum size
Diffstat (limited to 'src/libtnccs/tnc/tnccs/tnccs_manager.h')
-rw-r--r--src/libtnccs/tnc/tnccs/tnccs_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libtnccs/tnc/tnccs/tnccs_manager.h b/src/libtnccs/tnc/tnccs/tnccs_manager.h
index 9ca450468..cbf2dc0e9 100644
--- a/src/libtnccs/tnc/tnccs/tnccs_manager.h
+++ b/src/libtnccs/tnc/tnccs/tnccs_manager.h
@@ -70,6 +70,7 @@ struct tnccs_manager_t {
* @param tnccs TNCCS connection instance
* @param send_message TNCCS callback function
* @param request_handshake_retry pointer to boolean variable
+ * @param max_msg_len maximum PA-TNC message size
* @param recs pointer to IMV recommendation set
* @return assigned connection ID
*/
@@ -77,6 +78,7 @@ struct tnccs_manager_t {
tnccs_type_t type, tnccs_t *tnccs,
tnccs_send_message_t send_message,
bool *request_handshake_retry,
+ u_int32_t max_msg_len,
recommendations_t **recs);
/**