mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -11,7 +11,7 @@ ZEEK_FORWARD_DECLARE_NAMESPACED(Func, zeek);
|
|||
ZEEK_FORWARD_DECLARE_NAMESPACED(Val, zeek);
|
||||
|
||||
namespace zeek {
|
||||
using FuncPtr = zeek::IntrusivePtr<Func>;
|
||||
using FuncPtr = IntrusivePtr<Func>;
|
||||
|
||||
namespace detail {
|
||||
|
||||
|
@ -22,15 +22,15 @@ public:
|
|||
|
||||
bool IsActive();
|
||||
|
||||
bool NextPacket(const zeek::IP_Hdr* ip, int len, int caplen);
|
||||
bool NextPacket(const IP_Hdr* ip, int len, int caplen);
|
||||
|
||||
protected:
|
||||
zeek::Val* BuildData(const u_char* data, int hdrlen, int len, int caplen);
|
||||
Val* BuildData(const u_char* data, int hdrlen, int len, int caplen);
|
||||
|
||||
zeek::FuncPtr check_ip;
|
||||
zeek::FuncPtr check_tcp;
|
||||
zeek::FuncPtr check_udp;
|
||||
zeek::FuncPtr check_icmp;
|
||||
FuncPtr check_ip;
|
||||
FuncPtr check_tcp;
|
||||
FuncPtr check_udp;
|
||||
FuncPtr check_icmp;
|
||||
|
||||
// Maximum amount of application data passed to filtering functions.
|
||||
int discarder_maxlen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue