mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Rename IPBasedTransportAnalyzer to SessionAdapter
This also also combines the old TransportLayerAnalyzer class into SessionAdapter, and removes the old class. This requires naming changes in a few places but no functionality changes.
This commit is contained in:
parent
c56fb3e8e4
commit
b22ce6848f
24 changed files with 340 additions and 329 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "zeek/IPAddr.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Endpoint.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Flags.h"
|
||||
#include "zeek/packet_analysis/protocol/ip/SessionAdapter.h"
|
||||
#include "zeek/Conn.h"
|
||||
|
||||
// We define two classes here:
|
||||
|
@ -22,7 +23,7 @@ class TCP_Endpoint;
|
|||
class TCP_Reassembler;
|
||||
class TCP_ApplicationAnalyzer;
|
||||
|
||||
class TCP_Analyzer final : public analyzer::TransportLayerAnalyzer {
|
||||
class TCP_Analyzer final : public packet_analysis::IP::SessionAdapter {
|
||||
public:
|
||||
explicit TCP_Analyzer(Connection* conn);
|
||||
~TCP_Analyzer() override;
|
||||
|
@ -72,6 +73,8 @@ public:
|
|||
static analyzer::Analyzer* Instantiate(Connection* conn)
|
||||
{ return new TCP_Analyzer(conn); }
|
||||
|
||||
void AddExtraAnalyzers(Connection* conn) override {}
|
||||
|
||||
protected:
|
||||
friend class TCP_ApplicationAnalyzer;
|
||||
friend class TCP_Reassembler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue