tcpdump mailing list archives

Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces


From: Guy Harris <guy () alum mit edu>
Date: Thu, 18 Apr 2013 00:52:50 -0700


On Apr 17, 2013, at 8:03 PM, abhinav narain <abhinavnarain10 () gmail com> wrote:

The other fancy thing which I am doing is setting a SIGPROCMASK to capture alarms
to get to a handler which writes into the file every x minute(and if the table is full)

What happens if you eliminate that (and any code paths that eliminating that breaks)?

That seems to be the biggest difference between your code and tcpdump's code (both your program and tcpdump use 
pcap_loop() as their main loops).
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: