tcpdump mailing list archives

Re: [PATCH] Re: Bug: Counting dropped packets in


From: Guy Harris <guy () alum mit edu>
Date: Mon, 7 Sep 2009 16:55:06 -0700


On Aug 31, 2009, at 2:36 PM, Dustin Spicuzza wrote:

So... I've changed my patch to populate ps_ifdrop instead, and it should
be good to go, without screwing with current applications.

Checked in.

I suppose the
man page should be updated to mention that ps_ifdrop is only supported
on a few platforms (I noticed that grep shows one or two instances where
it is used).

The pcap_stats man page should be updated to give more detail in general, including that. I've done that as well.

I also fixed some places where pcap_stats() was leaving ps_ifdrop unset, and changed tcpdump to report ps_ifdrop if it's non-zero (and to set it to zero before calling pcap_stats(), to handle the platforms where it was being left unset).
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: