Extending conn_id with a globally unique identifiers.

This commit is contained in:
Robin Sommer 2011-03-15 17:50:30 -07:00
parent 0f854315e9
commit 881071cc99
6 changed files with 73 additions and 4 deletions

View file

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