mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Merge remote branch 'origin/topic/seth/net-stats-bif'
* origin/topic/seth/net-stats-bif: Removing a stray print statement. Changed netstats (packet loss) handling to script-land. Nice idea to pass the old data into a regular scheduled event! Conflicts: src/event.bif
This commit is contained in:
commit
6d2a89f1f8
10 changed files with 77 additions and 177 deletions
|
@ -20,10 +20,7 @@ EnumType* transport_proto;
|
|||
TableType* string_set;
|
||||
TableType* count_set;
|
||||
|
||||
RecordType* net_stats;
|
||||
|
||||
int watchdog_interval;
|
||||
double heartbeat_interval;
|
||||
|
||||
int max_timer_expires;
|
||||
int max_remote_events_processed;
|
||||
|
@ -404,10 +401,7 @@ void init_net_var()
|
|||
ntp_session_timeout = opt_internal_double("ntp_session_timeout");
|
||||
rpc_timeout = opt_internal_double("rpc_timeout");
|
||||
|
||||
net_stats = internal_type("net_stats")->AsRecordType();
|
||||
|
||||
watchdog_interval = int(opt_internal_double("watchdog_interval"));
|
||||
heartbeat_interval = opt_internal_double("heartbeat_interval");
|
||||
|
||||
max_timer_expires = opt_internal_int("max_timer_expires");
|
||||
max_remote_events_processed =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue