From 4d35434771b3f943b03949db2fcde3f5fc086de7 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 30 Jul 2012 20:51:07 +0100 Subject: [PATCH] ss: Report MSS from internal TCP information Signed-off-by: Ben Hutchings --- misc/ss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/ss.c b/misc/ss.c index cf529ef7b..8ad830bf5 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -1392,6 +1392,8 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r) (double)info->tcpi_rttvar/1000); if (info->tcpi_ato) printf(" ato:%g", (double)info->tcpi_ato/1000); + if (info->tcpi_snd_mss) + printf(" mss:%d", info->tcpi_snd_mss); if (info->tcpi_snd_cwnd != 2) printf(" cwnd:%d", info->tcpi_snd_cwnd); if (info->tcpi_snd_ssthresh < 0xFFFF) -- 2.47.3