add bytes recvd to Stats and stats.bro

use libpcap packet hdr.len to count bytes
This commit is contained in:
Mike Smiley 2015-02-18 20:53:59 -05:00
parent 4c2e5fc8b2
commit 3877b3e34b
5 changed files with 20 additions and 4 deletions

View file

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