diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-16 07:59:06 +0000 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-11-23 14:51:54 -0800 |
commit | 719b958bbdfd1cb85d4b59826c503d0982322a9d (patch) | |
tree | 412d2902894855b94b9e1f541fbb3cfcd829256e /include/netinet | |
parent | fcbd0165fcf6d0efdfb02220ac77342ce0c0e224 (diff) |
ss: report ecnseen
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>
Diffstat (limited to 'include/netinet')
-rw-r--r-- | include/netinet/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 282b29c5..3f890a13 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_ECN_SEEN 16 /* Values for tcpi_state. */ enum tcp_ca_state |