Move Func up to zeek namespace, rename BroFunc to ScriptFunc

This commit is contained in:
Tim Wojtulewicz 2020-07-02 14:10:04 -07:00
parent 86fdf0eaa9
commit a2bc42dd93
36 changed files with 190 additions and 184 deletions

View file

@ -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;