mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Move TCPStateStats object out of session_mgr
This commit is contained in:
parent
9e1f6f95aa
commit
4114bbebf0
13 changed files with 199 additions and 186 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "zeek/packet_analysis/Analyzer.h"
|
||||
#include "zeek/packet_analysis/Component.h"
|
||||
#include "zeek/packet_analysis/protocol/ip/IPBasedAnalyzer.h"
|
||||
#include "zeek/packet_analysis/protocol/tcp/Stats.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Flags.h"
|
||||
|
||||
namespace zeek::analyzer::tcp { class TCP_Endpoint; }
|
||||
|
@ -30,6 +31,12 @@ public:
|
|||
*/
|
||||
void Initialize() override;
|
||||
|
||||
static TCPStateStats& GetStats()
|
||||
{
|
||||
static TCPStateStats stats;
|
||||
return stats;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue