mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Renamed LL-Analyzers to Packet Analyzers.
This commit is contained in:
parent
b2e6c9ac9a
commit
e53ec46c23
148 changed files with 587 additions and 587 deletions
27
testing/btest/plugins/packet-protocol-plugin/src/Plugin.cc
Normal file
27
testing/btest/plugins/packet-protocol-plugin/src/Plugin.cc
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
#include "packet_analysis/Component.h"
|
||||
|
||||
#include "Bar.h"
|
||||
|
||||
namespace zeek::plugin::PacketDemo_Bar {
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
public:
|
||||
zeek::plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new zeek::packet_analysis::Component("Bar",
|
||||
zeek::packet_analysis::PacketDemo::Bar::Instantiate));
|
||||
|
||||
zeek::plugin::Configuration config;
|
||||
config.name = "PacketDemo::Bar";
|
||||
config.description = "A Bar packet analyzer.";
|
||||
config.version.major = 1;
|
||||
config.version.minor = 0;
|
||||
config.version.patch = 0;
|
||||
return config;
|
||||
}
|
||||
|
||||
} plugin;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue