restrict PA-TNC messages to maximum size
This commit is contained in:
@@ -62,6 +62,20 @@ struct imv_state_t {
|
||||
*/
|
||||
void (*set_flags)(imv_state_t *this, bool has_long, bool has_excl);
|
||||
|
||||
/**
|
||||
* Set the maximum size of a PA-TNC message for this TNCCS connection
|
||||
*
|
||||
* @max_msg_len maximum size of a PA-TNC message
|
||||
*/
|
||||
void (*set_max_msg_len)(imv_state_t *this, u_int32_t max_msg_len);
|
||||
|
||||
/**
|
||||
* Get the maximum size of a PA-TNC message for this TNCCS connection
|
||||
*
|
||||
* @return maximum size of a PA-TNC message
|
||||
*/
|
||||
u_int32_t (*get_max_msg_len)(imv_state_t *this);
|
||||
|
||||
/**
|
||||
* Change the connection state
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user