Guy Harris ha scritto:

Nicolao Renè wrote:

Hello, I'm using libpcap 0.8 on FreeBSD 5.4, is it possible in some way to reset the pcap stats?


If you mean "in an application using libpcap, which calls pcap_stats() before it stops capturing, is there any way to reset the statistics counters to 0, so that subsequent calls to pcap_stats() return counts since the counters were reset, rather than since the capture was started?", the answer is "no".

Ok that was exactly what I meant.
Thank you for the answer.


-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to