Add set option kxtimeout

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-03-14 07:57:32 +00:00
parent b0a589b792
commit c06abdbe3c
3 changed files with 39 additions and 12 deletions

View File

@@ -10,6 +10,7 @@ enum ctl_type {
CTL_STATUS,
CTL_MTU,
CTL_TC,
CTL_KXTIMEOUT,
CTL_TIMEOUT,
CTL_TIMETOLERANCE,
CTL_PATH_STATUS,
@@ -30,10 +31,9 @@ struct ctl_msg {
struct sockaddr_storage bind;
struct sockaddr_storage peer;
} status;
int mtu;
size_t mtu;
int tc;
unsigned long timeout;
unsigned long timetolerance;
unsigned long ms;
};
};