mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
add bytes recvd to Stats and stats.bro
use libpcap packet hdr.len to count bytes
This commit is contained in:
parent
4c2e5fc8b2
commit
3877b3e34b
5 changed files with 20 additions and 4 deletions
|
@ -440,6 +440,7 @@ type NetStats: record {
|
|||
## packet capture system, this value may not be available and will then
|
||||
## be always set to zero.
|
||||
pkts_link: count &default=0;
|
||||
bytes_recvd: count &default=0; ##< Bytes received by Bro.
|
||||
};
|
||||
|
||||
## Statistics about Bro's resource consumption.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue