mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
23 lines
503 B
C++
23 lines
503 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#pragma once
|
|
|
|
#include <packet_analysis/Analyzer.h>
|
|
#include <packet_analysis/Component.h>
|
|
|
|
namespace zeek::packet_analysis::Null {
|
|
|
|
class NullAnalyzer : public Analyzer {
|
|
public:
|
|
NullAnalyzer();
|
|
~NullAnalyzer() override = default;
|
|
|
|
std::tuple<AnalyzerResult, identifier_t> Analyze(Packet* packet) override;
|
|
|
|
static zeek::packet_analysis::AnalyzerPtr Instantiate()
|
|
{
|
|
return std::make_shared<NullAnalyzer>();
|
|
}
|
|
};
|
|
|
|
}
|