Allow a different loss_limit per path
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
5
mud.h
5
mud.h
@@ -26,7 +26,6 @@ struct mud_conf {
|
||||
unsigned long keepalive;
|
||||
unsigned long timetolerance;
|
||||
unsigned long kxtimeout;
|
||||
unsigned losslimit;
|
||||
int tc;
|
||||
};
|
||||
|
||||
@@ -65,6 +64,7 @@ struct mud_path {
|
||||
uint64_t rx_max_rate;
|
||||
uint64_t beat;
|
||||
unsigned char fixed_rate;
|
||||
unsigned char loss_limit;
|
||||
} conf;
|
||||
uint64_t idle;
|
||||
unsigned char ok;
|
||||
@@ -95,7 +95,8 @@ int mud_set_aes (struct mud *);
|
||||
int mud_set_conf (struct mud *, struct mud_conf *);
|
||||
|
||||
int mud_set_state (struct mud *, struct sockaddr *, enum mud_state,
|
||||
unsigned long, unsigned long, unsigned long, unsigned char);
|
||||
unsigned long, unsigned long, unsigned long,
|
||||
unsigned char, unsigned char);
|
||||
|
||||
int mud_peer (struct mud *, struct sockaddr *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user