From 89b4ca893fe13e54c6d973cb8ba18e9fb0e54dc0 Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 26 Feb 1996 21:47:13 +0000 Subject: Add a counter for the number of times the listen queue was overflowed to the tcpstat structure. (netstat -s) Reviewed by: wollman Obtained from: Steves, TCP/IP Ill. vol.3, page 189 --- usr.bin/netstat/inet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/netstat') diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 8f1fd95..11ac1ce 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -218,6 +218,7 @@ tcp_stats(off, name) p(tcps_connattempt, "\t%d connection request%s\n"); p(tcps_accepts, "\t%d connection accept%s\n"); p(tcps_badsyn, "\t%d bad connection attempt%s\n"); + p(tcps_listendrop, "\t%d listen queue overflow%s\n"); p(tcps_connects, "\t%d connection%s established (including accepts)\n"); p2(tcps_closed, tcps_drops, "\t%d connection%s closed (including %d drop%s)\n"); -- cgit v1.1