summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/README.linux
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-06-21 01:36:27 +0000
committerfenner <fenner@FreeBSD.org>2002-06-21 01:36:27 +0000
commit1e8ea467791f99f6068888787c27fd8b6b923d2c (patch)
tree4bf19d614b784f03cdea171c65cf7b2e9f63715c /contrib/libpcap/README.linux
parenta6bce8883c0f9dd7fee0eb03667f57b40b1d9dab (diff)
downloadFreeBSD-src-1e8ea467791f99f6068888787c27fd8b6b923d2c.zip
FreeBSD-src-1e8ea467791f99f6068888787c27fd8b6b923d2c.tar.gz
Import libpcap 0.7.1, from
http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz
Diffstat (limited to 'contrib/libpcap/README.linux')
-rw-r--r--contrib/libpcap/README.linux18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libpcap/README.linux b/contrib/libpcap/README.linux
index ecd00e8..dd95913 100644
--- a/contrib/libpcap/README.linux
+++ b/contrib/libpcap/README.linux
@@ -68,3 +68,21 @@ file says:
Filtering works on all socket types except TCP for now. See the text
file linux/Documentation/networking/filter.txt for more information.
If unsure, say N.
+
+
+Statistics:
+Statistics reported by pcap are platform specific. The statistics
+reported by pcap_stats on Linux are as follows:
+
+2.2.x
+=====
+ps_recv Number of packets that were accepted by the pcap filter
+ps_drops Always 0, this statistic is not gatherd on this platform
+
+2.4.x
+=====
+ps_rec Number of packets that were accepted by the pcap filter
+ps_drops Number of packets that had passed filtering but were not
+ passed on to pcap due to things like buffer shortage, etc.
+ This is useful because these are packets you are interested in
+ but won't be reported by, for example, tcpdump output.
OpenPOWER on IntegriCloud