zeek/src/analyzer/protocol/gtpv1/GTPv1.h
Tim Wojtulewicz 70c2397f69 Plugins: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the plugin classes.
2020-08-24 12:07:03 -07:00

29 lines
739 B
C++

#pragma once
#include "gtpv1_pac.h"
namespace zeek::analyzer::gtpv1 {
class GTPv1_Analyzer final : public analyzer::Analyzer {
public:
explicit GTPv1_Analyzer(Connection* conn);
virtual ~GTPv1_Analyzer();
virtual void Done();
virtual void DeliverPacket(int len, const u_char* data, bool orig,
uint64_t seq, const IP_Hdr* ip, int caplen);
static analyzer::Analyzer* Instantiate(Connection* conn)
{ return new GTPv1_Analyzer(conn); }
protected:
binpac::GTPv1::GTPv1_Conn* interp;
};
} // namespace zeek::analyzer::gtpv1
namespace analyzer::gtpv1 {
using GTPv1_Analyzer [[deprecated("Remove in v4.1. Use zeek::analyzer::gtpv1::GTPv1_Analyzer.")]] = zeek::analyzer::gtpv1::GTPv1_Analyzer;
} // namespace analyzer::gtpv1