Re: [tcpdump-workers] capturing multiple packets

2010-04-08 Thread Guy Harris
On Apr 7, 2010, at 11:52 PM, Vlabs .C wrote: > i am developing a small sniffer using libpcap API's. I want to capture, > process ARP, IP and TCP packets at a time. Right now I am not able find how > to do it using pcap_compile to capture more than one type of packet at a > time. "arp or

[tcpdump-workers] capturing multiple packets

2010-04-08 Thread Vlabs .C
i am developing a small sniffer using libpcap API's. I want to capture, process ARP, IP and TCP packets at a time. Right now I am not able find how to do it using pcap_compile to capture more than one type of packet at a time. What I am doing now is, creating 3 different threads to capture these pa