Subject: Re: CVS commit: src/lib/libpcap
To: None <jonathan@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 01/20/2004 21:40:15
Jonathan Stone <jonathan@netbsd.org> writes:
> Log Message:
> Do runtime dynamic binary-search for maximum obtainable bpf capture
> size (via BIOCSBLEN). Obtained from FreeBSD 4.x; originally from
> http://www.tcpdump.org's version of libpcap.
>
> Taken verbatim from the FreeBSD 4.9 version, lint and all, other than
> increasing the maximum size from 32Kibyte to an extremely generous
> 4Mibytes.  We assume root will configure the in-kernel maximum value
> sensibly on small-memory machines.

Actually, if we eventually add a sysctl for the size, could we just
use that instead of searching? (Just a thought.)

Perry