diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2008-08-26 15:12:29 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2008-08-26 15:12:29 +0000 |
commit | 08e8549c49ad71e5e3966a1c1616cb6e7ff009e1 (patch) | |
tree | 15890256a0db54e20022a5ce1f2535142668fa65 /usr.bin/netstat | |
parent | ccc2330ba755451caffa377d95369e2954970561 (diff) | |
download | FreeBSD-src-08e8549c49ad71e5e3966a1c1616cb6e7ff009e1.zip FreeBSD-src-08e8549c49ad71e5e3966a1c1616cb6e7ff009e1.tar.gz |
Add ECN stats.
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/inet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 8343581..3978f46 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -682,6 +682,11 @@ tcp_stats(u_long off, const char *name, int af1 __unused, int proto __unused) p(tcps_sack_send_blocks, "\t%lu SACK option%s (SACK blocks) sent\n"); p1a(tcps_sack_sboverflow, "\t%lu SACK scoreboard overflow\n"); + p(tcps_ecn_ce, "\t%lu packet%s with ECN CE bit set\n"); + p(tcps_ecn_ect0, "\t%lu packet%s with ECN ECT(0) bit set\n"); + p(tcps_ecn_ect1, "\t%lu packet%s with ECN ECT(1) bit set\n"); + p(tcps_ecn_shs, "\t%lu successful ECN handshake%s\n"); + p(tcps_ecn_rcwnd, "\t%lu time%s ECN reduced the congestion window\n"); #undef p #undef p1a #undef p2 |