mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Simplify packet analyzer config.
This commit is contained in:
parent
efa262a229
commit
7ede4f48bd
28 changed files with 233 additions and 213 deletions
|
@ -6,7 +6,7 @@
|
|||
using namespace zeek::packet_analysis::PacketDemo;
|
||||
|
||||
LLCDemo::LLCDemo()
|
||||
: zeek::packet_analysis::Analyzer("LLCDemo")
|
||||
: zeek::packet_analysis::Analyzer("LLC_Demo")
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ class Plugin : public zeek::plugin::Plugin {
|
|||
public:
|
||||
zeek::plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new zeek::packet_analysis::Component("RawLayer",
|
||||
AddComponent(new zeek::packet_analysis::Component("Raw_Layer",
|
||||
zeek::packet_analysis::PacketDemo::RawLayer::Instantiate));
|
||||
AddComponent(new zeek::packet_analysis::Component("LLCDemo",
|
||||
AddComponent(new zeek::packet_analysis::Component("LLC_Demo",
|
||||
zeek::packet_analysis::PacketDemo::LLCDemo::Instantiate));
|
||||
|
||||
zeek::plugin::Configuration config;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
using namespace zeek::packet_analysis::PacketDemo;
|
||||
|
||||
RawLayer::RawLayer()
|
||||
: zeek::packet_analysis::Analyzer("RawLayer")
|
||||
: zeek::packet_analysis::Analyzer("Raw_Layer")
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue