Re: [tcpdump-workers] pcap_setdirection and mmap access

2009-11-18 Thread Guy Harris
On Nov 18, 2009, at 12:18 AM, Dragos Ilie wrote: Could somebody please confirm if pcap_setdirection() works with Linux memory-mapped access. My preliminary results indicate that it doesn't (libpcap appears to capture all packets irrespective of the direction). https://sourceforge.net

[tcpdump-workers] pcap_setdirection and mmap access

2009-11-18 Thread Dragos Ilie
Hi! Could somebody please confirm if pcap_setdirection() works with Linux memory-mapped access. My preliminary results indicate that it doesn't (libpcap appears to capture all packets irrespective of the direction). If my results are correct, is there a way to turn off mmap access through the libp