1
0
mirror of https://passt.top/passt synced 2024-06-30 15:02:40 +00:00

tcp: Remove unused TCP_MAX_SOCKS constant

Presumably it meant something in the past, but it's no longer used.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
David Gibson 2022-11-17 16:58:40 +11:00 committed by Stefano Brivio
parent 9ffa0184e3
commit 46b78ce96a

1
tcp.h
View File

@ -10,7 +10,6 @@
#define TCP_CONN_INDEX_BITS 17 /* 128k */
#define TCP_MAX_CONNS (1 << TCP_CONN_INDEX_BITS)
#define TCP_MAX_SOCKS (TCP_MAX_CONNS + USHRT_MAX * 2)
#define TCP_SOCK_POOL_SIZE 32