Add control CTL_PATH_STATUS

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-02-27 19:06:45 +00:00
parent 44dd8124b7
commit 44f75458d1
2 changed files with 24 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ enum ctl_type {
CTL_MTU,
CTL_TIMEOUT,
CTL_TIMETOLERANCE,
CTL_PATH_STATUS,
};
struct ctl_msg {
@@ -21,6 +22,7 @@ struct ctl_msg {
struct sockaddr_storage addr;
enum mud_state state;
} path;
struct mud_path path_status;
struct {
size_t mtu;
int mtu_auto;