mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Move reassembler code to namespaces
This commit is contained in:
parent
e3ee1860b8
commit
0355d13099
12 changed files with 59 additions and 35 deletions
|
@ -9,8 +9,10 @@
|
|||
#include "Sessions.h"
|
||||
#include "Reporter.h"
|
||||
|
||||
#define MIN_ACCEPTABLE_FRAG_SIZE 64
|
||||
#define MAX_ACCEPTABLE_FRAG_SIZE 64000
|
||||
constexpr uint32_t MIN_ACCEPTABLE_FRAG_SIZE = 64;
|
||||
constexpr uint32_t MAX_ACCEPTABLE_FRAG_SIZE = 64000;
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
FragTimer::~FragTimer()
|
||||
{
|
||||
|
@ -332,3 +334,5 @@ void FragReassembler::DeleteTimer()
|
|||
expire_timer = nullptr; // timer manager will delete it
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue