Clean up snmpnetstat man page, removing some left over cruft man
original bsd netstat page.
diff --git a/man/snmpnetstat.1.def b/man/snmpnetstat.1.def
index 7d1dd2a..a351666 100644
--- a/man/snmpnetstat.1.def
+++ b/man/snmpnetstat.1.def
@@ -12,7 +12,7 @@
.\" both that copyright notice and this permission notice appear in
.\" supporting documentation, and that the name of CMU not be
.\" used in advertising or publicity pertaining to distribution of the
-.\" software without specific, written prior permission.
+.\" software without specific, written prior permission.
.\"
.\" CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
.\" ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -58,21 +58,21 @@
.\" Use is subject to license terms specified in the COPYING file
.\" distributed with the Net-SNMP package.
.\" ******************************************************************/
-.TH SNMPNETSTAT 1 "04 Mar 2013" VVERSIONINFO "Net-SNMP"
+.TH SNMPNETSTAT 1 "04 Nov 2013" VVERSIONINFO "Net-SNMP"
.SH NAME
snmpnetstat \- display networking status and configuration information from a network entity via SNMP
.SH SYNOPSIS
.B snmpnetstat
-[COMMON OPTIONS] [\-Ca] [\-Cn] AGENT
+[COMMON OPTIONS] [\-Ca] [\-Cn] [\-Cf address_family] AGENT
.br
.B snmpnetstat
-[COMMON OPTIONS] [\-Ci] [\-Co] [\-Cr] [\-Cn] [\-Cs] AGENT
+[COMMON OPTIONS] [\-Cr] [\-Cn] [\-Cf address_family] AGENT
.br
.B snmpnetstat
-[COMMON OPTIONS] [\-Ci] [\-Cn] [\-CI interface] AGENT [interval]
+[COMMON OPTIONS] [\-Ci] [\-C o | b | d] [\-Cn] [\-CI interface] [\-Cw interval] AGENT
.br
.B snmpnetstat
-[COMMON OPTIONS] [\-Ca] [\-Cn] [\-Cs] [\-Cp protocol] AGENT
+[COMMON OPTIONS] [\-Cs[s]] [\-Cp protocol] AGENT
.SH DESCRIPTION
The
.B snmpnetstat
@@ -117,21 +117,30 @@
.PP
.B \-CL
use the legacy SNMP MIB elements, not the modern IP version agnostic
-tables. It will automatically fall back to the legacy tables if the
-modern ones are not available.
+tables. \fIsnmpnetstat\fR will automatically fall back to the legacy
+tables if the modern ones are not available.
.PP
.B \-Ca
With the default display,
show the state of all sockets; normally sockets used by
server processes are not shown.
.PP
+.BI \-Cf " address_family"
+Only show entries for the selected address family (inet, inet6)
+.PP
.B \-Ci
Show the state of all of the network interfaces.
-The interface display provides a table of cumulative
+The interface display provides a table of cumulative
statistics regarding packets transferred, errors, and collisions.
-The network addresses of the interface and the maximum transmission
+The network addresses of the interface and the maximum transmission
unit (``mtu'') are also displayed.
.PP
+.B \-Cd
+Add dropped packets to the interface display.
+.PP
+.B \-Cb
+Show an extended interface status, giving octets in addition to packets.
+.PP
.B \-Co
Show an abbreviated interface status, giving octets in place of packets.
This is useful when enquiring virtual interfaces (such as Frame-Relay circuits)
@@ -175,8 +184,8 @@
.I repeaters
specifies the max-repeaters value to use.
.PP
-When snmpnetstat is invoked with an interval argument, it
-displays a running count of statistics related to network
+When snmpnetstat is invoked with an interval argument, it
+displays a running count of statistics related to network
interfaces.
.I interval
is the number of seconds between
@@ -185,43 +194,43 @@
.I The Active Sockets Display (default)
.PP
The default display, for active sockets, shows the local
-and remote addresses, protocol, and the internal state of
-the protocol. Address formats are of the form
-``host.port'' or ``network.port'' if a socket's address
-specifies a network but no specific host address. When
+and remote addresses, protocol, and the internal state of
+the protocol. Address formats are of the form
+``host.port'' or ``network.port'' if a socket's address
+specifies a network but no specific host address. When
known, the host and network addresses are displayed symbolically
-according to the data bases
-.I /etc/hosts and
+according to the databases
+.I /etc/hosts and
.IR /etc/networks,
-respectively. If a symbolic name for an
-address is unknown, or if the
+respectively. If a symbolic name for an
+address is unknown, or if the
.B \-Cn
option is specified, the
-address is printed numerically, according to the address
+address is printed numerically, according to the address
family. For more information regarding the Internet ``dot
-format,'' refer to
+format,'' refer to
.IR inet(3N).
-Unspecified, or ``wildcard'', addresses and ports appear as ``*''.
+Unspecified, or ``wildcard'', addresses and ports appear as ``*''.
.PP
.I The Interface Display
.PP
-The interface display provides a table of cumulative
+The interface display provides a table of cumulative
statistics regarding packets transferred, errors, and col-
-lisions. The network addresses of the interface and the
+lisions. The network addresses of the interface and the
maximum transmission unit (``mtu'') are also displayed.
.PP
.I The Routing Table Display
.PP
-The routing table display indicates the available routes
-and their status. Each route consists of a destination
-host or network and a gateway to use in forwarding pack-
-ets. The flags field shows the state of the route (``U''
-if ``up''), whether the route is to a gateway (``G''),
-whether the route was created dynamically by a redirect
-(``D''), and whether the route has been modified by a
-redirect (``M''). Direct routes are created for each
-interface attached to the local host; the gateway field
-for such entries shows the address of the outgoing inter-
+The routing table display indicates the available routes
+and their status. Each route consists of a destination
+host or network and a gateway to use in forwarding pack-
+ets. The flags field shows the state of the route (``U''
+if ``up''), whether the route is to a gateway (``G''),
+whether the route was created dynamically by a redirect
+(``D''), and whether the route has been modified by a
+redirect (``M''). Direct routes are created for each
+interface attached to the local host; the gateway field
+for such entries shows the address of the outgoing inter-
face. The interface entry indicates the network interface
utilized for the route.
.PP
@@ -232,10 +241,10 @@
is invoked with an
.I interval
argument, it
-displays a running count of statistics related to network
-interfaces. This display consists of a column for the
+displays a running count of statistics related to network
+interfaces. This display consists of a column for the
primary interface and a column summarizing information for
-all interfaces. The primary interface may be replaced
+all interfaces. The primary interface may be replaced
with another interface with the
.B \-CI
option. The first line