mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Move various elements into ID.h and zeek::id namespace
* A handful of generic/useful/common global type pointers that used to be in NetVar.h * Lookup functions that used to be Var.h
This commit is contained in:
parent
9210d443d3
commit
a5762c12cc
84 changed files with 578 additions and 568 deletions
|
@ -16,10 +16,10 @@
|
|||
|
||||
Discarder::Discarder()
|
||||
{
|
||||
check_ip = zeek::lookup_func("discarder_check_ip");
|
||||
check_tcp = zeek::lookup_func("discarder_check_tcp");
|
||||
check_udp = zeek::lookup_func("discarder_check_udp");
|
||||
check_icmp = zeek::lookup_func("discarder_check_icmp");
|
||||
check_ip = zeek::id::lookup_func("discarder_check_ip");
|
||||
check_tcp = zeek::id::lookup_func("discarder_check_tcp");
|
||||
check_udp = zeek::id::lookup_func("discarder_check_udp");
|
||||
check_icmp = zeek::id::lookup_func("discarder_check_icmp");
|
||||
|
||||
discarder_maxlen = static_cast<int>(opt_internal_int("discarder_maxlen"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue