summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-06-15 18:25:38 +0000
committerru <ru@FreeBSD.org>2001-06-15 18:25:38 +0000
commit67653866aa83c06cbc92828ae2988bbeea1e776d (patch)
treea04fcb8310e27cf5329ae9bf3e13bed1885f12a1 /usr.bin/netstat/netstat.h
parentb24972e849b812765e15dee9436299aa45c7a0de (diff)
downloadFreeBSD-src-67653866aa83c06cbc92828ae2988bbeea1e776d.zip
FreeBSD-src-67653866aa83c06cbc92828ae2988bbeea1e776d.tar.gz
First round of netstat(1) cleanup.
Removed the ambiguity in -s, -f, -p and -i flags handling. Basically, there are four displays (except others): 1. PCB display. 2. Protocol statistics display. (-s) 3. Interface statistics display. (-i) 4. Per-interface protocol statistics display. (-i -s) All of the above except 3) can be limited to a particular protocol family (-f) or a single protocol (-p). Some examples: 1. netstat -f inet -- show PCBs of all INET protocols 2. netstat -p udp -- show PCB of UDP protocol only (NEW!) 3. netstat -s -- show protocol statistics for all families 4. netstat -s -f inet -- show INET protocols statistics 5. netstat -s -p icmp -- show ICMP protocol statistics This is a work in progress. Manpage has been fixed slightly, but is still incomplete.
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r--usr.bin/netstat/netstat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h
index f613847..322a7e2 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -47,7 +47,6 @@ extern int Lflag; /* show size of listen queues */
extern int mflag; /* show memory stats */
extern int numeric_addr; /* show addresses numerically */
extern int numeric_port; /* show ports numerically */
-extern int pflag; /* show given protocol */
extern int rflag; /* show routing tables (or routing stats) */
extern int sflag; /* show protocol statistics */
extern int tflag; /* show i/f watchdog timers */
OpenPOWER on IntegriCloud