Ethereal-dev: RE: [Ethereal-dev] Too many pcap_open_live calls during capture loop

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Jacques, Olivier (OCBU-Test Infra)" <olivier.jacques@xxxxxx>
Date: Tue, 21 Feb 2006 23:43:35 +0100
> I have real doubts that this is caused by Ethereal. I've had 
> a look at the capture_loop.c code and it looks alright 
> (should do one open and one close call).
> 
> Probably some internal calls inside WinPcap?!?
> 
> At which interval does these open calls rush in?

Hi Ulfl, thanks for having a look at this.
It seems (hard to say for sure, as I generated traces to a file / not a
breakpoint), that the pcap_open_live is called for each packet received.
Is there anything specific done by Ethereal with pcap/wpcap at the time
a packet is received?
I'm not at the office currently, but I'll try to have a further look at
that next week.

Olivier.