Date: Sat, 15 Jan 2000 11:46:14 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c bpf.h Message-ID: <200001151946.LAA52061@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001151946.LAA52061>