Add a new rate based scheduler

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-04-23 20:52:31 +00:00
parent b2e4bc1b8f
commit ba9bef6268
3 changed files with 54 additions and 49 deletions

2
mud.h
View File

@@ -75,6 +75,6 @@ int mud_set_state (struct mud *, struct sockaddr *, enum mud_state);
int mud_peer (struct mud *, struct sockaddr *);
int mud_recv (struct mud *, void *, size_t);
int mud_send (struct mud *, const void *, size_t, int);
int mud_send (struct mud *, const void *, size_t, unsigned);
struct mud_path *mud_get_paths(struct mud *, unsigned *);