Merge MTU probing with failover

This commit also fixes MTU probing in some corner cases.

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-03-05 11:05:36 +00:00
parent adf3bf6710
commit bb60f5f15f
2 changed files with 41 additions and 50 deletions

3
mud.h
View File

@@ -38,9 +38,8 @@ struct mud_path {
struct {
size_t min;
size_t max;
size_t probe;
size_t ok;
uint64_t time;
unsigned char count;
} mtu;
struct {
uint64_t total;