tcpdump mailing list archives

Exposing linux libpcap ring buffer usage information


From: Dustin Spicuzza <dustin () virtualroadside com>
Date: Tue, 14 Jul 2009 12:05:38 -0400


Hey,

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.

Dustin

-- 
Innovation is just a problem away

Attachment: signature.asc
Description: OpenPGP digital signature


Current thread: