Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Document net.bpf.jit sysctl.



details:   https://anonhg.NetBSD.org/src/rev/1cd943ab8cfc
branches:  trunk
changeset: 782332:1cd943ab8cfc
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Sun Oct 28 20:19:30 2012 +0000

description:
Document net.bpf.jit sysctl.

diffstat:

 share/man/man4/bpf.4 |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 329fac0e8b6c -r 1cd943ab8cfc share/man/man4/bpf.4
--- a/share/man/man4/bpf.4      Sun Oct 28 19:02:29 2012 +0000
+++ b/share/man/man4/bpf.4      Sun Oct 28 20:19:30 2012 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index