mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
27 lines
704 B
C++
27 lines
704 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#include "zeek/plugin/Plugin.h"
|
|
|
|
#include "zeek/packet_analysis/Component.h"
|
|
#include "zeek/packet_analysis/protocol/linux_sll2/LinuxSLL2.h"
|
|
|
|
namespace zeek::plugin::Zeek_LinuxSLL2
|
|
{
|
|
|
|
class Plugin final : public zeek::plugin::Plugin
|
|
{
|
|
public:
|
|
zeek::plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new zeek::packet_analysis::Component(
|
|
"LinuxSLL2", zeek::packet_analysis::LinuxSLL2::LinuxSLL2Analyzer::Instantiate));
|
|
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Zeek::LinuxSLL2";
|
|
config.description = "Linux cooked capture version 2 (SLL2) packet analyzer";
|
|
return config;
|
|
}
|
|
|
|
} plugin;
|
|
|
|
}
|