From 1736b6e0438938b5ae01e5083c60d98c92be1ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Fri, 6 Apr 2018 16:43:49 +0000 Subject: [PATCH] Show rttvar per path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud | 2 +- src/path.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mud b/mud index 0c11ce5..1f25f12 160000 --- a/mud +++ b/mud @@ -1 +1 @@ -Subproject commit 0c11ce5785e5dea597f5d4812f7f490dc1299f78 +Subproject commit 1f25f12e4a02e5a13bc0bfa7302d09cd7d11601d diff --git a/src/path.c b/src/path.c index 9ff82d3..217df37 100644 --- a/src/path.c +++ b/src/path.c @@ -53,6 +53,7 @@ gt_path_status(int fd) " peer: %s port %"PRIu16"\n" " mtu: %zu bytes\n" " rtt: %.3f ms\n" + " rttvar: %.3f ms\n" " output: %"PRIu64" packets\n" " input: %"PRIu64" packets\n", statestr, @@ -64,6 +65,7 @@ gt_path_status(int fd) gt_get_port((struct sockaddr *)&res.path_status.addr), res.path_status.mtu.ok, res.path_status.rtt/(double)1e3, + res.path_status.rttvar/(double)1e3, res.path_status.send.total, res.path_status.recv.total); } while (res.ret == EAGAIN);