mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
31 lines
692 B
C++
31 lines
692 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#ifndef ANALYZER_PROTOCOL_SNMP_SNMP_H
|
|
#define ANALYZER_PROTOCOL_SNMP_SNMP_H
|
|
|
|
#include "snmp_pac.h"
|
|
|
|
namespace analyzer { namespace snmp {
|
|
|
|
class SNMP_Analyzer : public analyzer::Analyzer {
|
|
|
|
public:
|
|
|
|
SNMP_Analyzer(Connection* conn);
|
|
virtual ~SNMP_Analyzer();
|
|
|
|
virtual void Done();
|
|
virtual void DeliverPacket(int len, const u_char* data, bool orig,
|
|
uint64 seq, const IP_Hdr* ip, int caplen);
|
|
|
|
static analyzer::Analyzer* InstantiateAnalyzer(Connection* conn)
|
|
{ return new SNMP_Analyzer(conn); }
|
|
|
|
protected:
|
|
|
|
binpac::SNMP::SNMP_Conn* interp;
|
|
};
|
|
|
|
} } // namespace analyzer::*
|
|
|
|
#endif
|