zeek/src/analyzer/protocol/vxlan/VXLAN.h
2020-07-31 16:22:04 -04:00

24 lines
606 B
C++

// See the file in the main distribution directory for copyright.
#pragma once
#include "analyzer/Analyzer.h"
namespace analyzer { namespace vxlan {
class VXLAN_Analyzer final : public zeek::analyzer::Analyzer {
public:
explicit VXLAN_Analyzer(Connection* conn)
: Analyzer("VXLAN", conn)
{}
void Done() override;
void DeliverPacket(int len, const u_char* data, bool orig,
uint64_t seq, const zeek::IP_Hdr* ip, int caplen) override;
static zeek::analyzer::Analyzer* Instantiate(Connection* conn)
{ return new VXLAN_Analyzer(conn); }
};
} } // namespace analyzer::*