Add number of packets per path

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-04-02 09:30:36 +00:00
parent 6d5738b931
commit 0c11ce5785
2 changed files with 13 additions and 8 deletions

6
mud.h
View File

@@ -33,14 +33,16 @@ struct mud_path {
uint64_t r_rms;
uint64_t r_rmt;
uint64_t limit;
uint64_t recv_time;
uint64_t send_time;
uint64_t stat_time;
struct {
size_t ok;
size_t probe;
uint64_t time;
} mtu;
struct {
uint64_t total;
uint64_t time;
} send, recv;
};
struct mud *mud_create (struct sockaddr *);