mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Move Func and associated classes into zeek::detail namespace
This commit is contained in:
parent
937a462e70
commit
d6f1ea16ac
51 changed files with 516 additions and 453 deletions
|
@ -7,11 +7,14 @@
|
|||
#include "IntrusivePtr.h"
|
||||
|
||||
class IP_Hdr;
|
||||
class Func;
|
||||
using FuncPtr = zeek::IntrusivePtr<Func>;
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Func, zeek::detail);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Val, zeek);
|
||||
|
||||
namespace zeek::detail {
|
||||
using FuncPtr = zeek::IntrusivePtr<Func>;
|
||||
}
|
||||
|
||||
class Discarder {
|
||||
public:
|
||||
Discarder();
|
||||
|
@ -24,10 +27,10 @@ public:
|
|||
protected:
|
||||
zeek::Val* BuildData(const u_char* data, int hdrlen, int len, int caplen);
|
||||
|
||||
FuncPtr check_ip;
|
||||
FuncPtr check_tcp;
|
||||
FuncPtr check_udp;
|
||||
FuncPtr check_icmp;
|
||||
zeek::detail::FuncPtr check_ip;
|
||||
zeek::detail::FuncPtr check_tcp;
|
||||
zeek::detail::FuncPtr check_udp;
|
||||
zeek::detail::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