Move reassembler code to namespaces

This commit is contained in:
Tim Wojtulewicz 2020-07-22 11:49:35 -07:00
parent e3ee1860b8
commit 0355d13099
12 changed files with 59 additions and 35 deletions

View file

@ -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