On Thu, Feb 04, 2021 at 06:31:45PM +, Ferruh Yigit wrote:
> 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 provi
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
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
---
v4:
* remove volatile
* line spa
3 matches
Mail list logo