Document net.bpf.jit sysctl.

This commit is contained in:
alnsn 2012-10-28 20:19:30 +00:00
parent fb6139e643
commit 9f58677d69
1 changed files with 16 additions and 1 deletions

View File

@ -1,6 +1,6 @@
.\" -*- nroff -*-
.\"
.\" $NetBSD: bpf.4,v 1.50 2011/12/31 20:16:41 riz Exp $
.\" $NetBSD: bpf.4,v 1.51 2012/10/28 20:19:30 alnsn Exp $
.\"
.\" Copyright (c) 1990, 1991, 1992, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -663,6 +663,21 @@ This is only available to the super user and can also be retrieved with the
.Xr netstat 1
utility.
.El
.Pp
On architectures with
.Xr bpfjit 4
support, the additional sysctl is available:
.Pp
.Bl -tag -width "XnetXbpfXjitXX"
.It Li net.bpf.jit
Toggle
.Nm Just-In-Time
compilation of new filter programs.
In order to enable Just-In-Time compilation,
the bpfjit kernel module must be loaded.
Changing a value of this sysctl doesn't affect
existing filter programs.
.El
.Sh FILES
.Pa /dev/bpf
.Sh EXAMPLES