mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Extending conn_id with a globally unique identifiers.
This commit is contained in:
parent
0f854315e9
commit
881071cc99
6 changed files with 73 additions and 4 deletions
|
@ -279,6 +279,8 @@ public:
|
|||
|
||||
void AddHistory(char code) { history += code; }
|
||||
|
||||
uint64 CalculateUID();
|
||||
|
||||
void DeleteTimer(double t);
|
||||
|
||||
// Sets the root of the analyzer tree as well as the primary PIA.
|
||||
|
@ -368,6 +370,11 @@ protected:
|
|||
string history;
|
||||
uint32 hist_seen;
|
||||
|
||||
uint64 uid; // Globally unique connection ID.
|
||||
|
||||
static uint64 uid_counter; // Counter for uids.
|
||||
static uint64 uid_instance; // Once computed instance ID.
|
||||
|
||||
TransportLayerAnalyzer* root_analyzer;
|
||||
PIA* primary_PIA;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue