Compute rate

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-04-18 16:35:27 +00:00
parent 8e2b35525c
commit a7044db87c
2 changed files with 10 additions and 0 deletions

3
mud.h
View File

@@ -30,6 +30,7 @@ struct mud_path {
uint64_t rtt;
uint64_t rttvar;
uint64_t rst;
uint64_t r_rate;
uint64_t r_rst;
uint64_t r_rms;
uint64_t r_rmt;
@@ -42,6 +43,8 @@ struct mud_path {
} mtu;
struct {
uint64_t total;
uint64_t rate;
uint64_t bytes;
uint64_t time;
} send, recv;
};