flip connections that begin with SYN-ACKs if subsequent acks or data seen

This commit is contained in:
Vern Paxson 2022-06-15 14:01:32 -07:00
parent 35121779f1
commit 847963e94d
3 changed files with 48 additions and 22 deletions

View file

@ -230,6 +230,9 @@ public:
void AddHistory(char code) { history += code; }
const std::string& GetHistory() const { return history; }
void ReplaceHistory(std::string new_h) { history = std::move(new_h); }
// Sets the root of the analyzer tree as well as the primary PIA.
void SetSessionAdapter(packet_analysis::IP::SessionAdapter* aa, analyzer::pia::PIA* pia);
packet_analysis::IP::SessionAdapter* GetSessionAdapter() { return adapter; }