tcpdump mailing list archives

capturing multiple packets


From: "Vlabs .C" <vlabs.c () gmail com>
Date: Thu, 8 Apr 2010 12:22:47 +0530

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
packets. I am sure there should be a way to capture three different types of
packets at a time using pcap. Can anyone help ?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: