Add option 'set tc'

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-02-27 23:12:36 +00:00
parent 44f75458d1
commit ff5b966866
3 changed files with 87 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ enum ctl_type {
CTL_STATE,
CTL_STATUS,
CTL_MTU,
CTL_TC,
CTL_TIMEOUT,
CTL_TIMETOLERANCE,
CTL_PATH_STATUS,
@@ -31,6 +32,7 @@ struct ctl_msg {
struct sockaddr_storage peer;
} status;
int mtu;
int tc;
unsigned long timeout;
unsigned long timetolerance;
};