mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Initial implementation of Lower-Level analyzers
This commit is contained in:
parent
f744d4c070
commit
b2e6c9ac9a
146 changed files with 3967 additions and 613 deletions
24
src/llanalyzer/protocol/mpls/Plugin.cc
Normal file
24
src/llanalyzer/protocol/mpls/Plugin.cc
Normal file
|
@ -0,0 +1,24 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "MPLS.h"
|
||||
#include "plugin/Plugin.h"
|
||||
#include "llanalyzer/Component.h"
|
||||
|
||||
namespace zeek::plugin::LLAnalyzer_MPLS {
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
public:
|
||||
zeek::plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new zeek::llanalyzer::Component("MPLS",
|
||||
zeek::llanalyzer::MPLS::MPLSAnalyzer::Instantiate));
|
||||
|
||||
zeek::plugin::Configuration config;
|
||||
config.name = "LLAnalyzer::MPLS";
|
||||
config.description = "MPLS LL-Analyzer";
|
||||
return config;
|
||||
}
|
||||
|
||||
} plugin;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue