summaryrefslogtreecommitdiff
path: root/README.linux
diff options
context:
space:
mode:
Diffstat (limited to 'README.linux')
-rw-r--r--README.linux18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.linux b/README.linux
index ecd00e8f..dd959139 100644
--- a/README.linux
+++ b/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.