Re: [tcpdump-workers] [patch] zerocopy bpf for libpcap

2008-09-16 Thread Guy Harris
On Sep 16, 2008, at 1:00 AM, Guy Harris wrote: Also, note that there's an API to set the buffer size; perhaps, if that API was called - i.e., if p->opt.buffer_size is non-zero - it should set the mapped buffer size based on that. I've checked in code that should handle that, and also clean

Re: [tcpdump-workers] [patch] zerocopy bpf for libpcap

2008-09-16 Thread Guy Harris
On Sep 12, 2008, at 6:30 AM, Christian Peron wrote: I have included a patch for review. This adds zero-copy bpf support to libpcap. It should be noted that I've tried to incorporate all the feedback that I recieved after the previous submission. Looks good. I've checked it into the main an

[tcpdump-workers] [patch] zerocopy bpf for libpcap

2008-09-12 Thread Christian Peron
All, I have included a patch for review. This adds zero-copy bpf support to libpcap. It should be noted that I've tried to incorporate all the feedback that I recieved after the previous submission. There was one un-related fix in this patch: Index: configure.in ===