Extend packet analysis test.

This commit is contained in:
Jan Grashoefer 2020-09-03 19:59:08 +02:00 committed by Tim Wojtulewicz
parent 3f3f00030d
commit d51252bb3f
17 changed files with 147 additions and 35 deletions

View file

@ -0,0 +1,21 @@
#pragma once
#include <packet_analysis/Analyzer.h>
#include <packet_analysis/Component.h>
namespace zeek::packet_analysis::PacketDemo {
class LLCDemo : public Analyzer {
public:
LLCDemo();
~LLCDemo() override = default;
bool AnalyzePacket(size_t len, const uint8_t* data, Packet* packet) override;
static AnalyzerPtr Instantiate()
{
return std::make_shared<LLCDemo>();
}
};
}