preliminary support for cumulative measurements

This commit is contained in:
Arnout Engelen
2006-11-04 18:56:08 +00:00
parent 90577e8be5
commit 501954c7c1
4 changed files with 145 additions and 48 deletions

View File

@@ -78,6 +78,10 @@ public:
/* for checking if a packet is part of this connection */
/* the reference packet is always *outgoing*. */
Packet * refpacket;
/* total sum or sent/received bytes */
u_int32_t sumSent;
u_int32_t sumRecv;
private:
PackList * sent_packets;
PackList * recv_packets;