aboutgitcodebugslistschat
path: root/tcp.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-17 16:58:40 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-11-25 01:34:33 +0100
commit46b78ce96a2894aa251eb6aa1ef17ad040d68ecf (patch)
treef08fc80ed46f3ca7de919d1a76903a9d181f90d2 /tcp.h
parent9ffa0184e30322b160dba01f63f1ec6d8026674c (diff)
downloadpasst-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.tar
passt-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.tar.gz
passt-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.tar.bz2
passt-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.tar.lz
passt-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.tar.xz
passt-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.tar.zst
passt-46b78ce96a2894aa251eb6aa1ef17ad040d68ecf.zip
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>
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tcp.h b/tcp.h
index 3fabb5a..bba0f38 100644
--- a/tcp.h
+++ b/tcp.h
@@ -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