zeek/src/analyzer/protocol/icmp/Plugin.cc

24 lines
541 B
C++

// See the file in the main distribution directory for copyright.
#include "ICMP.h"
#include "plugin/Plugin.h"
#include "analyzer/Component.h"
namespace plugin {
namespace Zeek_ICMP {
class Plugin : public zeek::plugin::Plugin {
public:
zeek::plugin::Configuration Configure() override
{
AddComponent(new zeek::analyzer::Component("ICMP", ::analyzer::icmp::ICMP_Analyzer::Instantiate));
zeek::plugin::Configuration config;
config.name = "Zeek::ICMP";
config.description = "ICMP analyzer";
return config;
}
} plugin;
}
}