// 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/vlan/VLAN.h"

namespace zeek::plugin::Zeek_VLAN {

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

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

} plugin;

} // namespace zeek::plugin::Zeek_VLAN
