mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Changed netstats (packet loss) handling to script-land.
- Removed the net_stats_update event. - Created a net_stats function for building and retrieving the current network statistics. - Removed the internal timer for firing the net_stats_update event along with the global heartbeat_interval variable. - Updated the netstats script to use the new BiF. - Updated the stats script to use the new BiF.
This commit is contained in:
parent
871eff9f90
commit
c60015af22
10 changed files with 75 additions and 174 deletions
|
@ -22,10 +22,7 @@ extern RecordType* pcap_packet;
|
|||
extern EnumType* transport_proto;
|
||||
extern TableType* string_set;
|
||||
|
||||
extern RecordType* net_stats;
|
||||
|
||||
extern int watchdog_interval;
|
||||
extern double heartbeat_interval;
|
||||
|
||||
extern int max_timer_expires;
|
||||
extern int max_remote_events_processed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue