mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
21 lines
373 B
C++
21 lines
373 B
C++
#pragma once
|
|
|
|
#include <packet_analysis/Analyzer.h>
|
|
#include <packet_analysis/Component.h>
|
|
|
|
namespace zeek::packet_analysis::PacketDemo {
|
|
|
|
class Bar : public Analyzer {
|
|
public:
|
|
Bar();
|
|
~Bar() override = default;
|
|
|
|
std::tuple<AnalyzerResult, identifier_t> Analyze(Packet* packet) override;
|
|
|
|
static AnalyzerPtr Instantiate()
|
|
{
|
|
return std::make_shared<Bar>();
|
|
}
|
|
};
|
|
|
|
}
|