Logo Search packages:      
Sourcecode: wireshark version File versions

BOOL AirpcapSetKernelBuffer ( PAirpcapHandle  AdapterHandle,
UINT  BufferSize 
)

Set the size of the kernel packet buffer for this adapter.

Parameters:
AdapterHandle Handle to the adapter.
BufferSize New size, in bytes.
Returns:
TRUE on success.
Every AirPcap open instance has an associated kernel buffer, whose default size is 1 Mbyte. This function can be used to change the size of this buffer, and can be called at any time. A bigger kernel buffer size decreases the risk of dropping packets during network bursts or when the application is busy, at the cost of higher kernel memory usage.

Note:
don't use this function unless you know what you are doing. Due to caching issues and bigger non-paged memory consumption, bigger buffer sizes can decrease the capture performace instead of improving it.


Generated by  Doxygen 1.6.0   Back to index