summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_bpf.4
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-09-19 21:34:43 +0000
committerarchie <archie@FreeBSD.org>2000-09-19 21:34:43 +0000
commitc822295bff294c1644efc6224d5ba671b067ce03 (patch)
tree3718b7615daf7e1218ae1b38f3e2d5c232ff8fa5 /share/man/man4/ng_bpf.4
parent2720b700adf4ad4c967d8d85ccb4fa96ec23f51d (diff)
downloadFreeBSD-src-c822295bff294c1644efc6224d5ba671b067ce03.zip
FreeBSD-src-c822295bff294c1644efc6224d5ba671b067ce03.tar.gz
NGM_BPF_{G,S}ET_FILTER should be NGM_BPF_{G,S}ET_PROGRAM.
Diffstat (limited to 'share/man/man4/ng_bpf.4')
-rw-r--r--share/man/man4/ng_bpf.48
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4
index 1fc30fe..f3e640c 100644
--- a/share/man/man4/ng_bpf.4
+++ b/share/man/man4/ng_bpf.4
@@ -69,15 +69,15 @@ Either or both destination hooks may be the empty string, or may
not exist, in which case the packet is dropped.
.Pp
New hooks are initially configured to drop all packets.
-A new filter may be installed using the
-.Dv NGM_BPF_SET_FILTER
+A new filter program may be installed using the
+.Dv NGM_BPF_SET_PROGRAM
control message.
.Sh HOOKS
This node type supports any number of hooks having arbitrary names.
.Sh CONTROL MESSAGES
This node type supports the generic control messages, plus the following:
.Bl -tag -width foo
-.It Dv NGM_BPF_SET_FILTER
+.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:
.Bd -literal -offset 4n
@@ -106,7 +106,7 @@ respectively. The program must be a valid
program or else
.Er EINVAL
is returned.
-.It Dv NGM_BPF_GET_FILTER
+.It Dv NGM_BPF_GET_PROGRAM
This command takes an
.Tn ASCII
string argument, the hook name, and returns the
OpenPOWER on IntegriCloud