libpcap Statistics Counters

libpcap Installation

Intel® PAC
Napatech SmartNIC
Software Installation Guide

Napatech’s implementation of the pcap_stat capture statistics counters.

Napatech's implementation

Counter Description
ps_recv Counts the number of packets received by libpcap before the PCAP filter.
ps_drop Counts all packets dropped by the NT Driver software. Packets might be dropped if streams are shared and opened with host buffer allowance < 100%.
ps_ifdrop Counts the number of packets lost due to host buffer overrun for the actual stream. If multiple host buffers are attached to the stream ID used in the actual libpcap device (merging), the individual drop counters are combined into this ps_ifdrop counter.