zeek/src/analyzer/protocol/rdp/RDPEUDP.h
Tim Wojtulewicz 485d9d5458 Mark the majority of the analyzer classes as final, where appropriate.
Most of these came from use of the -Wsuggest-final-types flag for gcc.
2020-04-03 18:44:09 -04:00

24 lines
598 B
C++

#pragma once
#include "events.bif.h"
#include "analyzer/protocol/udp/UDP.h"
#include "rdpeudp_pac.h"
namespace analyzer { namespace rdpeudp {
class RDP_Analyzer final : public analyzer::Analyzer {
public:
explicit RDP_Analyzer(Connection* conn);
~RDP_Analyzer() override;
void Done() override;
void DeliverPacket(int len, const u_char* data, bool orig,
uint64_t seq, const IP_Hdr* ip, int caplen) override;
static analyzer::Analyzer* InstantiateAnalyzer(Connection* conn)
{ return new RDP_Analyzer(conn); }
protected:
binpac::RDPEUDP::RDPEUDP_Conn* interp;
};
} }