Re: [tcpdump-workers] Multiple interface capture and thread safety status in libpcap

2012-05-11 Thread Guy Harris
On May 10, 2012, at 7:43 AM, Wiener Schnitzel wrote: > I need to perform packet sniffing on several interfaces at the same time. Are you processing packets from each interface independently, so that a packet on interface A is not looked at when processing packets from interface B, or are you p

[tcpdump-workers] Multiple interface capture and thread safety status in libpcap

2012-05-10 Thread Wiener Schnitzel
Hi all, I need to perform packet sniffing on several interfaces at the same time. My natural approach would be to open a pcap_t object for each interface and place a "select" - considering Linux -call to deal with packet dispatching. My only constraint is that I have to treat the received pac