From: Stephen Hemminger <shemminger@vyatta.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] ss: report ecnseen
Date: Wed, 16 Nov 2011 09:45:50 -0800 [thread overview]
Message-ID: <20111116094550.61b73eee@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1321419087.32381.3.camel@edumazet-laptop>
On Wed, 16 Nov 2011 05:51:27 +0100
Eric Dumazet <eric.dumazet@gmail.com> wrote:
> Support ECNSEEN reporting in ss command.
>
> ESTAB 0 0 10.170.73.123:4900
> 10.170.73.125:51001 uid:501 ino:385994 sk:f31e5f00
> mem:(r0,w0,f0,t0) ts sack ecn ecnseen bic wscale:8,8 rto:210
> rtt:18.75/15 ato:40 cwnd:10 send 69.9Mbps rcv_space:32768
>
> "ecn" means TCP session negociated ECN capability (TCP layer) at setup
> time
>
> "ecnseen" at least one frame with ECT(0) or ECT(1) or ECN (IP layer) was
> received from peer.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> ---
> include/netinet/tcp.h | 1 +
> misc/ss.c | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
> index 282b29c..95a4fe6 100644
> --- a/include/netinet/tcp.h
> +++ b/include/netinet/tcp.h
> @@ -172,6 +172,7 @@ enum
> # define TCPI_OPT_SACK 2
> # define TCPI_OPT_WSCALE 4
> # define TCPI_OPT_ECN 8
> +# define TCPI_OPT_ECNSEEN 16
Please use same name as include/linux/tcp.h TCPI_OPT_ECN_SEEN
Also, need to get this to glibc to make it included in standard distro
headers.
next prev parent reply other threads:[~2011-11-16 17:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-16 17:30 iproute2 repository (temp) Stephen Hemminger
2011-10-11 23:59 ` iproute2 back at kernel.org Stephen Hemminger
2011-10-12 3:18 ` [PATCH iproute2] ss: report ecnseen Eric Dumazet
2011-11-16 4:51 ` Eric Dumazet
2011-11-16 17:45 ` Stephen Hemminger [this message]
2011-11-16 17:59 ` Eric Dumazet
2011-11-21 9:15 ` iproute2 back at kernel.org Petr Šabata
2011-11-21 16:47 ` Stephen Hemminger
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=20111116094550.61b73eee@nehalam.linuxnetplumber.net \
--to=shemminger@vyatta.com \
--cc=eric.dumazet@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.