mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Rename analyzer/protocols -> analyzer/protocol
This commit is contained in:
parent
f7a10d915b
commit
4bc2ba60c9
279 changed files with 114 additions and 116 deletions
28
src/analyzer/protocol/dhcp/DHCP.h
Normal file
28
src/analyzer/protocol/dhcp/DHCP.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#ifndef ANALYZER_PROTOCOL_DHCP_DHCP_H
|
||||
#define ANALYZER_PROTOCOL_DHCP_DHCP_H
|
||||
|
||||
#include "analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "dhcp_pac.h"
|
||||
|
||||
namespace analyzer { namespace dhcp {
|
||||
|
||||
class DHCP_Analyzer : public analyzer::Analyzer {
|
||||
public:
|
||||
DHCP_Analyzer(Connection* conn);
|
||||
virtual ~DHCP_Analyzer();
|
||||
|
||||
virtual void Done();
|
||||
virtual void DeliverPacket(int len, const u_char* data, bool orig,
|
||||
int seq, const IP_Hdr* ip, int caplen);
|
||||
|
||||
static analyzer::Analyzer* InstantiateAnalyzer(Connection* conn)
|
||||
{ return new DHCP_Analyzer(conn); }
|
||||
|
||||
protected:
|
||||
binpac::DHCP::DHCP_Conn* interp;
|
||||
};
|
||||
|
||||
} } // namespace analyzer::*
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue