From 0095c1a6042d0247df0c8cd5af1672be91433f3d Mon Sep 17 00:00:00 2001 From: rpaulo Date: Thu, 4 Aug 2005 20:13:29 +0000 Subject: [PATCH] Added a new section called "SYSCTLS" explaining the purpose of net.bpf.maxbufsize, net.bpf.stats and net.bpf.peers. Bump the date. Reviewed by: wiz@ --- share/man/man4/bpf.4 | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4 index 9ac7cf2845ac..3a27cab90dc8 100644 --- a/share/man/man4/bpf.4 +++ b/share/man/man4/bpf.4 @@ -1,6 +1,6 @@ .\" -*- nroff -*- .\" -.\" $NetBSD: bpf.4,v 1.29 2005/07/30 16:37:36 rpaulo Exp $ +.\" $NetBSD: bpf.4,v 1.30 2005/08/04 20:13:29 rpaulo Exp $ .\" .\" Copyright (c) 1990, 1991, 1992, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -24,7 +24,7 @@ .\" This document is derived in part from the enet man page (enet.4) .\" distributed with 4.3BSD Unix. .\" -.Dd July 30, 2005 +.Dd August 4, 2005 .Dt BPF 4 .Os .Sh NAME @@ -589,6 +589,31 @@ array initializers: .Sy BPF_STMT No (opcode, operand) .Sy BPF_JUMP No (opcode, operand, true_offset, false_offset) .Ed +.Sh SYSCTLS +The following sysctls are available when +.Nm +is enabled: +.Pp +.Bl -tag -width "XnetXbpfXmaxbufsizeXX" +.It Li net.bpf.maxbufsize +Sets the maximum buffer size available for +.Nm +peers. +.It Li net.bpf.stats +Shows +.Nm +statistics. +They can be retrieved with the +.Xr netstat 1 +utility. +.It Li net.bpf.peers +Shows the current +.Nm +peers. +This is only available to the super user and can also be retrieved with the +.Xr netstat 1 +utility. +.El .Sh FILES .Pa /dev/bpf .Sh EXAMPLES