Re: [tcpdump-workers] Headroom

2006-10-08 Thread Stephen Donnelly
On Fri, 2006-10-06 at 13:46 -0400, Harley Stenzel wrote: > Greetings-- > > Has the idea of headroom for libpcap-based stack applications been > discussed before? The idea is to have a known amount of empty/usable > space in front of the buffer given to the application by the > pcap_dispatch callb

Re: [tcpdump-workers] Headroom

2006-10-06 Thread Gianluca Varenni
- Original Message - From: "Harley Stenzel" <[EMAIL PROTECTED]> To: Sent: Friday, October 06, 2006 12:25 PM Subject: Re: [tcpdump-workers] Headroom On 10/6/06, Gianluca Varenni <[EMAIL PROTECTED]> wrote: Uhm, what's the purpose of some amount of memory

Re: [tcpdump-workers] Headroom

2006-10-06 Thread Harley Stenzel
[Attempting to confuse dup message detection] On 10/6/06, Gianluca Varenni <[EMAIL PROTECTED]> wrote: Uhm, what's the purpose of some amount of memory put in front of the pcap_t structure? Maybe I don't understand your proposal completely... I don't want the data in front of the pcap_t struct

Re: [tcpdump-workers] Headroom

2006-10-06 Thread Harley Stenzel
On 10/6/06, Gianluca Varenni <[EMAIL PROTECTED]> wrote: Uhm, what's the purpose of some amount of memory put in front of the pcap_t structure? Maybe I don't understand your proposal completely... I don't want the data in front of the pcap_t structure, I want it in front of the body of the pack

Re: [tcpdump-workers] Headroom

2006-10-06 Thread Gianluca Varenni
- Original Message - From: "Harley Stenzel" <[EMAIL PROTECTED]> To: Sent: Friday, October 06, 2006 10:46 AM Subject: [tcpdump-workers] Headroom Greetings-- Has the idea of headroom for libpcap-based stack applications been discussed before? The idea is to have a

[tcpdump-workers] Headroom

2006-10-06 Thread Harley Stenzel
Greetings-- Has the idea of headroom for libpcap-based stack applications been discussed before? The idea is to have a known amount of empty/usable space in front of the buffer given to the application by the pcap_dispatch callback, pcap_next(), or pcap_next_ex(). It looks like it'd be a ((pcap