Module Name: src Committed By: alnsn Date: Sun Oct 28 20:19:31 UTC 2012
Modified Files: src/share/man/man4: bpf.4 Log Message: Document net.bpf.jit sysctl. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/share/man/man4/bpf.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/bpf.4 diff -u src/share/man/man4/bpf.4:1.50 src/share/man/man4/bpf.4:1.51 --- src/share/man/man4/bpf.4:1.50 Sat Dec 31 20:16:41 2011 +++ src/share/man/man4/bpf.4 Sun Oct 28 20:19:30 2012 @@ -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 .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