// See the file  in the main distribution directory for copyright.

#include "zeek/plugin/Plugin.h"

#include "zeek/packet_analysis/Component.h"
#include "zeek/packet_analysis/protocol/gtpv1/GTPv1.h"

namespace zeek::plugin::detail::Zeek_GTPv1 {

class Plugin final : public zeek::plugin::Plugin {
public:
    zeek::plugin::Configuration Configure() override {
        AddComponent(
            new zeek::packet_analysis::Component("GTPv1", zeek::packet_analysis::gtpv1::GTPv1_Analyzer::Instantiate));

        zeek::plugin::Configuration config;
        config.name = "Zeek::GTPv1";
        config.description = "GTPv1 analyzer";
        return config;
    }
} plugin;

} // namespace zeek::plugin::detail::Zeek_GTPv1
