#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, |  
          |  |  | uint32_t | maxOutOfOrderFragments = 0, |  
          |  |  | bool | enableBaseBufferClearCondition = true |  
          |  | ) |  |  |  | inlineexplicit | 
 
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. |  | [in] | maxOutOfOrderFragments | The maximum number of unmatched fragments to keep per flow before missed fragments are considered lost. The default is unlimited. |  | [in] | enableBaseBufferClearCondition | To enable to clear buffer once packet contains data from a different side than the side seen before |  
 
 
 
◆ 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. 
 
 
◆ enableBaseBufferClearCondition
      
        
          | bool pcpp::TcpReassemblyConfiguration::enableBaseBufferClearCondition | 
      
 
To enable to clear buffer once packet contains data from a different side than the side seen before 
 
 
◆ 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. 
 
 
◆ maxOutOfOrderFragments
      
        
          | uint32_t pcpp::TcpReassemblyConfiguration::maxOutOfOrderFragments | 
      
 
The maximum number of fragments with a non-matching sequence-number to store per connection flow before packets are assumed permanently missed. If the value is 0, TcpReassembly should keep out of order fragments indefinitely, or until a message from the paired side is seen. 
 
 
◆ removeConnInfo
      
        
          | bool pcpp::TcpReassemblyConfiguration::removeConnInfo | 
      
 
The flag indicating whether to remove the connection data after a connection is closed