summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorrpaulo <rpaulo@NetBSD.org>2006-08-17 01:32:13 +0000
committerrpaulo <rpaulo@NetBSD.org>2006-08-17 01:32:13 +0000
commitd7a463a8aa613e6733ea904a4ddae86f2b4ffe66 (patch)
tree84d6d7eba51296ba5c506386d5ba1c4ff8c34702 /usr.bin
parent0d7e99a27a36c4280170db0453882f551184015c (diff)
Adapt to ECN.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/inet.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index aa3798bbb79..8345aa1c022 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $NetBSD: inet.c,v 1.73 2006/06/20 19:22:17 rpaulo Exp $ */
+/* $NetBSD: inet.c,v 1.74 2006/08/17 01:32:13 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet.c,v 1.73 2006/06/20 19:22:17 rpaulo Exp $");
+__RCSID("$NetBSD: inet.c,v 1.74 2006/08/17 01:32:13 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -391,6 +391,9 @@ tcp_stats(off, name)
p(tcps_badsig, "\t%llu packet%s with bad signature\n");
p(tcps_goodsig, "\t%llu packet%s with good signature\n");
+ p(tcps_ecn_shs, "\t%llu sucessful ECN handshake%s\n");
+ p(tcps_ecn_ce, "\t%llu packet%s with ECN CE bit\n");
+ p(tcps_ecn_ect, "\t%llu packet%s ECN ECT(0) bit\n");
#undef p
#undef ps
#undef p2