mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +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
|
@ -38,7 +38,12 @@ public:
|
|||
*/
|
||||
unsigned int link;
|
||||
|
||||
Stats() { received = dropped = link = 0; }
|
||||
/**
|
||||
* Bytes received by source after filtering (w/o drops).
|
||||
*/
|
||||
uint64 bytes;
|
||||
|
||||
Stats() { received = dropped = link = bytes = 0; }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue