From 605d460600a10bd77a6f30bcd67bffc116200ef7 Mon Sep 17 00:00:00 2001 From: wkoszek Date: Wed, 20 Sep 2006 12:29:12 +0000 Subject: Export tcps_rcvmemdrop available in 'struct tcpstat' with netstat(1). Requested by: Tomasz Pilat Approved by: andre --- 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 6475a39..5f5f54b 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -415,6 +415,7 @@ tcp_stats(u_long off __unused, const char *name, int af1 __unused) p(tcps_rcvbadsum, "\t\t%lu discarded for bad checksum%s\n"); p(tcps_rcvbadoff, "\t\t%lu discarded for bad header offset field%s\n"); p1a(tcps_rcvshort, "\t\t%lu discarded because packet too short\n"); + p1a(tcps_rcvmemdrop, "\t\t%lu discarded due to memory problems\n"); p(tcps_connattempt, "\t%lu connection request%s\n"); p(tcps_accepts, "\t%lu connection accept%s\n"); p(tcps_badsyn, "\t%lu bad connection attempt%s\n"); -- cgit v1.1