tcpdump mailing list archives

Re: Exposing linux libpcap ring buffer usage information


From: Guy Harris <guy () alum mit edu>
Date: Tue, 14 Jul 2009 12:19:20 -0700


On Jul 14, 2009, at 9:05 AM, Dustin Spicuzza wrote:

I'd like to get information on how much of the mmap'ed ring buffer is
being used so that I can deal with dropped packets more effectively. I
was going to add a patch for this, but its not clear to me the best way
to expose the information. I'm tempted to just add an additional
call/struct for the information, but it would be nice if the existing
API's could be extended instead.

What existing API were you thinking of extending? Note that you can't grow the pcap_stat structure without breaking binary compatibility.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: