summaryrefslogtreecommitdiff
path: root/ot_udp.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-28 17:08:17 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-28 17:08:17 +0100
commitf3f640b6bcf10ba463fc81cec97cfa212c520cfe (patch)
tree94341752815b6b2d4c3a931be9b90c2c0f435baf /ot_udp.h
parent18fcb27ec91f27789270550a2a005cb773bf2fe0 (diff)
Performance improvement, where it works: Let different udp worker threads have their own socket
Diffstat (limited to 'ot_udp.h')
-rw-r--r--ot_udp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot_udp.h b/ot_udp.h
index a8ab9fc..7d4432f 100644
--- a/ot_udp.h
+++ b/ot_udp.h
@@ -11,7 +11,8 @@
11#include "trackerlogic.h" 11#include "trackerlogic.h"
12 12
13void udp_init(void); 13void udp_init(void);
14void udp_workers_install(int64_t sock, unsigned int worker_count); 14/* One thread reading one socket. Called once per worker. */
15void udp_worker_install(int64_t sock);
15int handle_udp6(int64_t serversocket, struct ot_workstruct *ws); 16int handle_udp6(int64_t serversocket, struct ot_workstruct *ws);
16 17
17#endif 18#endif