mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
winws2: optimize bulk buffer size
This commit is contained in:
@@ -660,7 +660,7 @@ exiterr:
|
|||||||
|
|
||||||
#define WINDIVERT_BULK_MAX 128
|
#define WINDIVERT_BULK_MAX 128
|
||||||
// do not make it less than 65536 - loopback packets can be up to 64K
|
// do not make it less than 65536 - loopback packets can be up to 64K
|
||||||
#define WINDIVERT_PACKET_BUF_SIZE 3*196608 // 3*64K, 128*1500=192000
|
#define WINDIVERT_PACKET_BUF_SIZE 196608 // 3*64K, 128*1500=192000
|
||||||
|
|
||||||
static int win_main()
|
static int win_main()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user