mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Move Func up to zeek namespace, rename BroFunc to ScriptFunc
This commit is contained in:
parent
86fdf0eaa9
commit
a2bc42dd93
36 changed files with 190 additions and 184 deletions
|
@ -8,10 +8,10 @@
|
|||
|
||||
class IP_Hdr;
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Func, zeek::detail);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Func, zeek);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Val, zeek);
|
||||
|
||||
namespace zeek::detail {
|
||||
namespace zeek {
|
||||
using FuncPtr = zeek::IntrusivePtr<Func>;
|
||||
}
|
||||
|
||||
|
@ -27,10 +27,10 @@ public:
|
|||
protected:
|
||||
zeek::Val* BuildData(const u_char* data, int hdrlen, int len, int caplen);
|
||||
|
||||
zeek::detail::FuncPtr check_ip;
|
||||
zeek::detail::FuncPtr check_tcp;
|
||||
zeek::detail::FuncPtr check_udp;
|
||||
zeek::detail::FuncPtr check_icmp;
|
||||
zeek::FuncPtr check_ip;
|
||||
zeek::FuncPtr check_tcp;
|
||||
zeek::FuncPtr check_udp;
|
||||
zeek::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