mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Move building session analyzer tree out of analyzer::Manager
This commit is contained in:
parent
7dc803f7bb
commit
c56fb3e8e4
12 changed files with 98 additions and 105 deletions
|
@ -18,9 +18,6 @@ public:
|
|||
return std::make_shared<UDPAnalyzer>();
|
||||
}
|
||||
|
||||
void CreateTransportAnalyzer(Connection* conn, IP::IPBasedTransportAnalyzer*& root,
|
||||
analyzer::pia::PIA*& pia, bool& check_port) override;
|
||||
|
||||
/**
|
||||
* Initialize the analyzer. This method is called after the configuration
|
||||
* was read. Derived classes can override this method to implement custom
|
||||
|
@ -54,6 +51,9 @@ protected:
|
|||
bool WantConnection(uint16_t src_port, uint16_t dst_port,
|
||||
const u_char* data, bool& flip_roles) const override;
|
||||
|
||||
packet_analysis::IP::IPBasedTransportAnalyzer* MakeTransportAnalyzer(Connection* conn) override;
|
||||
analyzer::pia::PIA* MakePIA(Connection* conn) override;
|
||||
|
||||
private:
|
||||
|
||||
// Returns true if the checksum is valid, false if not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue