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.