Move IP Addr/Prefix/Header classes into namespaces

This commit is contained in:
Tim Wojtulewicz 2020-07-16 16:26:22 -07:00
parent 35c61697d9
commit 25c0fc7ab2
100 changed files with 495 additions and 460 deletions

View file

@ -6,8 +6,7 @@
#include "IntrusivePtr.h"
class IP_Hdr;
ZEEK_FORWARD_DECLARE_NAMESPACED(IP_Hdr, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(Func, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(Val, zeek);
@ -22,7 +21,7 @@ public:
bool IsActive();
bool NextPacket(const IP_Hdr* ip, int len, int caplen);
bool NextPacket(const zeek::IP_Hdr* ip, int len, int caplen);
protected:
zeek::Val* BuildData(const u_char* data, int hdrlen, int len, int caplen);