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

@ -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; }
};
/**