summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2010-02-24 11:00:27 +0000
committerpooka <pooka@NetBSD.org>2010-02-24 11:00:27 +0000
commitbc1cf39b94f8dccb618d7db00a74615434ec3cd8 (patch)
treef76c00cb812c8e9851733f56a7b36927b7d01a3c /usr.bin/netstat/netstat.h
parent2897183305a2e3ab73574b3a0e558a1ac06fafaa (diff)
Add -h, which makes output of bytes counts "humanized" (e.g. -bih)
(netstat had -h some 15 years ago, but since then it has been just a fancy way of calling usage())
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r--usr.bin/netstat/netstat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h
index ff3ed125e2c..078f4329bd7 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -1,4 +1,4 @@
-/* $NetBSD: netstat.h,v 1.39 2009/09/14 10:36:51 degroote Exp $ */
+/* $NetBSD: netstat.h,v 1.40 2010/02/24 11:00:27 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -41,6 +41,7 @@ int dflag; /* show i/f dropped packets */
#ifndef SMALL
int gflag; /* show group (multicast) routing or stats */
#endif
+int hflag; /* humanize byte counts */
int iflag; /* show interfaces */
int Lflag; /* don't show LLINFO entries */
int lflag; /* show routing table with use and ref */