summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_bpf.4
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-03 18:29:24 +0000
committerru <ru@FreeBSD.org>2004-07-03 18:29:24 +0000
commit1cf159866714352fd8d7789b97068220cbb5a1a4 (patch)
tree5526e5113f4e9589bb734483867453b89a7ca4e6 /share/man/man4/ng_bpf.4
parentbf15efbfc56854d6fb20bb4ff7801d7549fe2bfd (diff)
downloadFreeBSD-src-1cf159866714352fd8d7789b97068220cbb5a1a4.zip
FreeBSD-src-1cf159866714352fd8d7789b97068220cbb5a1a4.tar.gz
Mechanically kill hard sentence breaks and double whitespaces.
Diffstat (limited to 'share/man/man4/ng_bpf.4')
-rw-r--r--share/man/man4/ng_bpf.412
1 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4
index 1c24b07..c63c89c 100644
--- a/share/man/man4/ng_bpf.4
+++ b/share/man/man4/ng_bpf.4
@@ -51,7 +51,8 @@ node type allows Berkeley Packet Filter (see
.Xr bpf 4 )
filters to be applied to data travelling through a Netgraph network.
Each node allows an arbitrary number of connections to arbitrarily
-named hooks. With each hook is associated a
+named hooks.
+With each hook is associated a
.Xr bpf 4
filter program which is applied to incoming data only, a destination hook
for matching packets, a destination hook for non-matching packets,
@@ -60,7 +61,8 @@ and various statistics counters.
A
.Xr bpf 4
program returns an unsigned integer, which is normally interpreted as
-the length of the prefix of the packet to return. In the context of this
+the length of the prefix of the packet to return.
+In the context of this
node type, returning zero is considered a non-match, in which case the
entire packet is delivered out the non-match destination hook.
Returning a value greater than zero causes the packet to be truncated
@@ -79,7 +81,8 @@ This node type supports the generic control messages, plus the following:
.Bl -tag -width foo
.It Dv NGM_BPF_SET_PROGRAM
This command sets the filter program that will be applied to incoming
-data on a hook. The following structure must be supplied as an argument:
+data on a hook.
+The following structure must be supplied as an argument:
.Bd -literal -offset 4n
struct ng_bpf_hookprog {
char thisHook[NG_HOOKSIZ]; /* name of hook */
@@ -101,7 +104,8 @@ Matching and non-matching incoming packets are delivered out the hooks named
.Dv ifMatch
and
.Dv ifNotMatch ,
-respectively. The program must be a valid
+respectively.
+The program must be a valid
.Xr bpf 4
program or else
.Er EINVAL
OpenPOWER on IntegriCloud