Template
1
0
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:
bol-van
2026-01-31 17:14:00 +03:00
parent b920964ab3
commit a531da39fd

View File

@@ -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()
{ {