mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
25 lines
493 B
C++
25 lines
493 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
|
|
#include "plugin/Plugin.h"
|
|
|
|
#include "analyzer/protocol/udp/UDP.h"
|
|
|
|
namespace plugin {
|
|
namespace Bro_UDP {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure()
|
|
{
|
|
AddComponent(new ::analyzer::Component("UDP", ::analyzer::udp::UDP_Analyzer::Instantiate));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Bro::UDP";
|
|
config.description = "UDP Analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|