summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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