From owner-cvs-all Sat Jan 15 11:46:17 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 14E1014C3B; Sat, 15 Jan 2000 11:46:15 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA52061; Sat, 15 Jan 2000 11:46:14 -0800 (PST) (envelope-from phk@FreeBSD.org) Message-Id: <200001151946.LAA52061@freefall.freebsd.org> From: Poul-Henning Kamp Date: Sat, 15 Jan 2000 11:46:14 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c bpf.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk phk 2000/01/15 11:46:14 PST Modified files: sys/net bpf.c bpf.h Log: |The hard limit for the BPF buffer size is 32KB, which appears too low |for high speed networks (even at 100Mbit/s this corresponds to 1/300th |of a second). The default buffer size is 4KB, but libpcap and ipfilter |both override this (using the BIOCSBLEN ioctl) and allocate 32KB. | |The following patch adds an sysctl for bpf_maxbufsize, similar to the |one for bpf_bufsize that you added back in December 1995. I choose to |make the default for this limit 512KB (the value suggested by NFR). Submitted by: se Reviewed by: phk Revision Changes Path 1.59 +6 -3 src/sys/net/bpf.c 1.21 +2 -2 src/sys/net/bpf.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message