This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Display packet transitions before capturing

0

Running Wireshark, before selecting the right interface, I can see packet transitions on all interfaces, by means of flashing numbers. Since I use WinPcap library I'd like to mimic that in my C++ program. Can someone direct me how to do that? Regards I. Lesher

asked 05 Sep '12, 23:42

triplebit's gravatar image

triplebit
1777
accept rate: 0%


One Answer:

0

That's done with pcap_stats in dumpcap:print_statistics_loop(). Please check the WinPcap developer docs for more information.

Google will also help: 'pcap_stats sample code'

Regards
Kurt

answered 06 Sep '12, 02:03

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 06 Sep '12, 02:03