diff options
Diffstat (limited to 'contrib/libpcap/README.linux')
-rw-r--r-- | contrib/libpcap/README.linux | 18 |
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. |