[Winpcap-users] pcap_next_ex

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Dec 11 00:17:24 GMT 2008


----- Original Message ----- 
From: "Victor Ginzburg" <vginzburg at gmail.com>
To: <winpcap-users at winpcap.org>
Sent: Wednesday, December 10, 2008 11:19 AM
Subject: Re: [Winpcap-users] pcap_next_ex


> On Wed, Dec 10, 2008 at 12:30 PM, Gianluca Varenni
> <gianluca.varenni at cacetech.com> wrote:
>>
>> ----- Original Message ----- From: "Victor Ginzburg" 
>> <vginzburg at gmail.com>
>> To: <winpcap-users at winpcap.org>
>> Sent: Monday, December 08, 2008 11:25 AM
>> Subject: [Winpcap-users] pcap_next_ex
>>
>>
>>> Hi All,
>>>
>>> Is there any way to pick-up multiple packets with one call rather than
>>> one packet at a time with pcap_next_ex?
>>
>> No, at the moment there's no API for that.
>>
>>> And if yes, is there big
>>> performance improvement in terms using less CPU?
>>
>> The performance improvement would be minimal. What is the packet rate 
>> that
>> we are talking about?
>
> around 2000 per second

At 2k packets per second forget about any performance improvement receiving 
multiple packets within one call. If you have any performance problems, they 
are definitely not due to the calls to pcap_next_ex returning one packet at 
a time.

Have a nice day
GV

>
> Thanks,
> -Victor
>
>
>>
>> Have a nice day
>> GV
>>
>>>
>>> Thanks,
>>> -Victor
>>> _______________________________________________
>>> Winpcap-users mailing list
>>> Winpcap-users at winpcap.org
>>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list