Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libpcap
Jonathan Stone <jonathan%netbsd.org@localhost> 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
Home |
Main Index |
Thread Index |
Old Index