summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-09-19 21:34:43 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-09-19 21:34:43 +0000
commite653127edf9ecafec99c52d3ca3657a9f981d2ae (patch)
treedc175daf6ec3cf65ffe99bd56b2d06089d9c1b69
parent29441679157ff5db8b391182b9f5dd37917f1cb6 (diff)
Notes
-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 1fc30fe4c8f5..f3e640cae6d3 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