[tcpdump-workers] Same packet on different interfaces

2013-06-06 Thread Asier Martínez
Hi to all, I'm trying to sniff from several wifi cards at the same time with pcap library, if the wifi interfaces are set for example to channel 1 and 3, there is a chance for both of them to read the same packet. Anyone have an idea how I can discard duplicated packets and only process them once?

[tcpdump-workers] Linux capture buffering

2009-05-10 Thread Asier Martínez
Hi to all, I'm a bit confused in which is the behavior of Libpcap under Linux when it is used to capture packets. If I'm not wrong, Libpcap under Linux ignores timeout argument to_ms, so, Libpcap is returning per captured packet?, or is doing some kind of buffering ? ( with standard and not modifie