[Winpcap-users] winpcap rpcapd buffer size

Martin Vit festr2 at gmail.com
Thu Nov 27 14:03:16 UTC 2014


Default buffer size is 10MB unless the application linked to pcap calls
pcap_set_buffer_size with different buffer size. rpcapd is included in the
winpcap sources and there is no call to pcap_set_buffer_size so it uses the
default 10MB buffer and there is no other way to change this than compile
your own winpcap and changing

wpcap/libpcap/pcap-win32.c:#define WIN32_DEFAULT_KERNEL_BUFFER_SIZE 1000000

to something bigger. On 32bit windows the limit should be somewhat 200MB
and on 64bit there should be no practical limit.

is there any way how to change the default buffer? For high throughput 10MB
is not enough and it seems it has to be compiled from source which is
somewhat tricky and I'm not able to do it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20141127/82690343/attachment.html>

More information about the Winpcap-users mailing list