netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] ss: Report MSS from internal TCP information
@ 2012-07-30 19:51 Ben Hutchings
  2012-07-31 21:07 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2012-07-30 19:51 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
 misc/ss.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/misc/ss.c b/misc/ss.c
index cf529ef..8ad830b 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)
-- 
1.7.7.6


-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2] ss: Report MSS from internal TCP information
  2012-07-30 19:51 [PATCH iproute2] ss: Report MSS from internal TCP information Ben Hutchings
@ 2012-07-31 21:07 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2012-07-31 21:07 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: netdev

On Mon, 30 Jul 2012 20:51:07 +0100
Ben Hutchings <bhutchings@solarflare.com> wrote:

> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
> ---
>  misc/ss.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/misc/ss.c b/misc/ss.c
> index cf529ef..8ad830b 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)

Applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-31 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 19:51 [PATCH iproute2] ss: Report MSS from internal TCP information Ben Hutchings
2012-07-31 21:07 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).