Netdev List
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH iproute2] ss: Report MSS from internal TCP information
Date: Tue, 31 Jul 2012 14:07:15 -0700	[thread overview]
Message-ID: <20120731140715.1dc3cd1b@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1343677867.2667.33.camel@bwh-desktop.uk.solarflarecom.com>

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

      reply	other threads:[~2012-07-31 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 19:51 [PATCH iproute2] ss: Report MSS from internal TCP information Ben Hutchings
2012-07-31 21:07 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120731140715.1dc3cd1b@nehalam.linuxnetplumber.net \
    --to=shemminger@vyatta.com \
    --cc=bhutchings@solarflare.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox