summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/inet.c
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2006-09-20 12:29:12 +0000
committerwkoszek <wkoszek@FreeBSD.org>2006-09-20 12:29:12 +0000
commit605d460600a10bd77a6f30bcd67bffc116200ef7 (patch)
tree485c28b453acc19abc2771bb45605788f7015fe0 /usr.bin/netstat/inet.c
parentfe47827a4e49d2844c5743c676f7defa4e293644 (diff)
downloadFreeBSD-src-605d460600a10bd77a6f30bcd67bffc116200ef7.zip
FreeBSD-src-605d460600a10bd77a6f30bcd67bffc116200ef7.tar.gz
Export tcps_rcvmemdrop available in 'struct tcpstat' with netstat(1).
Requested by: Tomasz Pilat <tomasz.pilat (at) axelspringer.pl> Approved by: andre
Diffstat (limited to 'usr.bin/netstat/inet.c')
-rw-r--r--usr.bin/netstat/inet.c1
1 files changed, 1 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud