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

dumpcap:print_statistics_loop

0

I was referred to dumpcap:print_statistics_loop by some of the experts here(forgive me if I don't remember his name). Trying to import the function into my code I see no linkage to the function get_interface_list (my be some others also). So far I use WinPcap library. What should I do more? Regards I. Lesher

asked 11 Sep '12, 05:43

triplebit's gravatar image

triplebit
1777
accept rate: 0%


One Answer:

0

That was me, and it was just a hint to look at the code used there. You can't just import that function into your code, as that's all very specific to Wireshark.

What you need is the pcap_stats() function from WinPcap (www.winpcap.org), used in the mentioned dumpcap function.

I also mentioned the WinPcap developer guide, which I believe is the best way for you to get it working.

http://ask.wireshark.org/questions/14077/display-packet-transitions-before-capturing

Regards
Kurt

answered 13 Sep '12, 06:33

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%