What about using pcap_stats()?
You cannot know exactly the number of packet trasferred into the DLL memory,
but you can at least know the number of packets captured.

        fulvio

> -----Original Message-----
> From: Loris Degioanni [mailto:[EMAIL PROTECTED]
> Sent: domenica 24 aprile 2005 2.03
> To: [email protected]
> Subject: Re: [WinPcap-users] How many packets passed from kernel driver
> to DLL?
>
>
> Not if you use wpcap.dll, since in that case the user-level packet
> buffer is totally hidden by the API. If you want this kind of
> information you probably need to use packet.dll, or patch wpcap.dll to
> return it.
>
> Loris
>
>
> Fed wrote:
> > Hello all,
> >
> > I have one question: is it possible to know how many packets have been
> > passed from the kernel driver to the DLL while I'm reading one single
> > packet?
> >
> > I mean: I need to read 1 (one) packet and simultaneously know how many
> > packets the kernel driver has passed into the buffer ot the DLL.
> >
> > Thank you in advance,
> >
> > Federico
> >
> >
> >
> >
> > ==================================================================
> >  This is the WinPcap users list. It is archived at
> >  http://www.mail-archive.com/[email protected]/
> >
> >  To unsubscribe use
> >  mailto: [EMAIL PROTECTED]
> > ==================================================================
> >
>
>
> ==================================================================
>  This is the WinPcap users list. It is archived at
>  http://www.mail-archive.com/[email protected]/
>
>  To unsubscribe use
>  mailto: [EMAIL PROTECTED]
> ==================================================================



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to