Set the size of the kernel packet buffer for this adapter.
|AdapterHandle ||Handle to the adapter. |
|BufferSize ||New size, in bytes. |
- 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.
- 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.