summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2005-12-18 19:38:43 +0000
committercsjp <csjp@FreeBSD.org>2005-12-18 19:38:43 +0000
commit116fa05e6020161c2d69796fd827231ba57cb838 (patch)
tree72aedb1a2e7441cbbd7606e9b18a9dce20f551ba /usr.bin/netstat/netstat.1
parentcfbe2fd3f720064a5107704865ff523b8453bad9 (diff)
downloadFreeBSD-src-116fa05e6020161c2d69796fd827231ba57cb838.zip
FreeBSD-src-116fa05e6020161c2d69796fd827231ba57cb838.tar.gz
Provide some basic documentation explaining what the bpf(4) flags are
supposed to mean. Also, add an external references for bpf now that we reference flags from that man page.
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.124
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 2c15f65..285ffab 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -430,11 +430,35 @@ By default, this display summarizes information for all interfaces.
Information for a specific interface may be displayed with the
.Fl I
option.
+.Pp
+The
+.Xr bpf 4
+flags displayed when
+.Nm
+is invoked with the
+.Fl B
+option represents the underlying parameters of the bpf peer. Each flag is
+represented as a single lower case letter.
+The mapping between the letters and flags in order of appearance are:
+.Bl -column ".Li i"
+.It Li p Ta Set if listening promiscuously
+.It Li i Ta BIOCIMMEDIATE has been set on the device
+.It Li f Ta BIOCGHDRCMPLT status: source link addresses are being
+filled automatically
+.It Li s Ta BIOCGSEESENT status: see packets originating locally and
+remotely on the interface.
+.It Li a Ta Packet reception generates a signal
+.It Li l Ta BIOCLOCK status: descriptor has been locked
+.El
+.Pp
+For more information about these flags, please refer to
+.Xr bpf 4 .
.Sh SEE ALSO
.Xr fstat 1 ,
.Xr nfsstat 1 ,
.Xr ps 1 ,
.Xr sockstat 1 ,
+.Xr bpf 4 ,
.Xr inet 4 ,
.Xr route 4 ,
.Xr unix 4 ,
OpenPOWER on IntegriCloud