Wireshark-dev: [Wireshark-dev] Adding Capture Engine question
From: "Audet, Jean-Michel" <Jean-Michel.Audet@xxxxxxxxxxxxxx>
Date: Fri, 24 Aug 2007 10:14:37 -0400

Hi,

            I am currently adding a capture engine to sniff i2c traffic. 

 

I am currently adding this code into Linux using the pcap_linux mechanism (like Bluetooth and USB).

 

My question is (and I am not currently sure if it’s Wireshark or libpcap) why do I get calls to my function xx_open_live each seconds (approx) during my capture.  

 

I get calls to the function xx_read to get the packets but I was expecting a call to the xx_open_live function only once when the capture starts and a call to the function xx_close at the end.  My monitoring external hardware cannot be start and stop without loosing packets.

 

Thanks for your help!

 

JM