Show rttvar per path

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-04-06 16:43:49 +00:00
parent 8401b7c112
commit 1736b6e043
2 changed files with 3 additions and 1 deletions

View File

@@ -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);