On 2/4/2021 10:33 AM, Ido Goshen wrote:
get value from pcap_stats.ps_drop (see man pcap_stats)
the value is adjusted in this cases:
  - port stop - pcap is closed and will lose count
  - stats reset - pcap doesn't provide reset api
  - rollover - pcap counter size is u_32 only

Signed-off-by: Ido Goshen <[email protected]>

Acked-by: Ferruh Yigit <[email protected]>

Reply via email to