#include <TcpReassembly.h>
A structure for configuring the TcpReassembly class
◆ TcpReassemblyConfiguration()
pcpp::TcpReassemblyConfiguration::TcpReassemblyConfiguration |
( |
bool |
removeConnInfo = true , |
|
|
uint32_t |
closedConnectionDelay = 5 , |
|
|
uint32_t |
maxNumToClean = 30 |
|
) |
| |
|
inline |
A c'tor for this struct
- Parameters
-
[in] | removeConnInfo | The flag indicating whether to remove the connection data after a connection is closed. The default is true |
[in] | closedConnectionDelay | How long the closed connections will not be cleaned up. The value is expressed in seconds. If it's set to 0 the default value will be used. The default is 5. |
[in] | maxNumToClean | The maximum number of items to be cleaned up per one call of purgeClosedConnections. If it's set to 0 the default value will be used. The default is 30. |
◆ closedConnectionDelay
uint32_t pcpp::TcpReassemblyConfiguration::closedConnectionDelay |
How long the closed connections will not be cleaned up. The value is expressed in seconds. If the value is set to 0 then TcpReassembly should use the default value. This parameter is only relevant if removeConnInfo is equal to true.
◆ maxNumToClean
uint32_t pcpp::TcpReassemblyConfiguration::maxNumToClean |
The maximum number of items to be cleaned up per one call of purgeClosedConnections. If the value is set to 0 then TcpReassembly should use the default value. This parameter is only relevant if removeConnInfo is equal to true.
◆ removeConnInfo
bool pcpp::TcpReassemblyConfiguration::removeConnInfo |
The flag indicating whether to remove the connection data after a connection is closed