On 2000-12-11 10:49 +0100, Loris Degioanni <[EMAIL PROTECTED]> wrote: > > # sysctl -w debug.bpf_bufsize=32768 debug.bpf_maxbufsize=4194304 > > > > makes the default buffer size 32K and limits the size to 4MB, for > > example. > > Notice however that in pcap-bpf.c, pcap_open_live() forces the buffer > size to 32K through an IOCTL. This means that the sysctl is overridden > if BPF is used throug libpcap. Yes, you are of course correct mentioning that ! The override used to up the buffer size from the kernel default of 4KB to 32KB, but now that the default has become 32KB, we probably should use the default as is and leave the user the option of choosing a different default by means of sysctl ... Regards, STefan - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
- Re: [tcpdump-workers] Fwd: kyxtech: freebsd outsniff... Guy Harris
- [tcpdump-workers] Re: Fwd: kyxtech: freebsd outsniff... Mike Smith
- [tcpdump-workers] Re: Fwd: kyxtech: freebsd outsniff... Matt Dillon
- [tcpdump-workers] Re: [Ethereal-dev] Re: Fwd: k... Guy Harris
- [tcpdump-workers] Re: [Ethereal-dev] Re: Fw... Matt Dillon
- [tcpdump-workers] Re: [Ethereal-dev] Re... Guy Harris
- [tcpdump-workers] Re: [Ethereal-dev] Re: Fwd: k... Guy Harris
- [tcpdump-workers] Re: [Ethereal-dev] Re: Fw... Guy Harris
- [tcpdump-workers] Re: Re: [Ethereal-dev... Stefan Esser
- R: [tcpdump-workers] Re: Re: [Ether... Loris Degioanni
- [tcpdump-workers] Re: Fwd: kyx... Stefan Esser
- [tcpdump-workers] Re: Fwd: kyxtech: freebsd outsniff... Alfred Perlstein
- [tcpdump-workers] R: [Ethereal-dev] Fwd: kyxtech: fr... Loris Degioanni
- [tcpdump-workers] Re: Fwd: kyxtech: freebsd outsniff... opentrax
- [tcpdump-workers] R: [Ethereal-dev] Re: Fwd: ky... Fulvio Risso
- [tcpdump-workers] Re: R: [Ethereal-dev] Re:... Michael T. Stolarchuk
- R: [tcpdump-workers] Re: R: [Ethereal-d... Loris Degioanni
- Re: R: [tcpdump-workers] Re: R: [Et... Michael T. Stolarchuk
- R: R: [tcpdump-workers] Re: R:... Loris Degioanni
