From 2c7659ec930277981b6333b5b3aff7840d11933c Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 25 Oct 2026 18:51:51 +0100 Subject: Decouple config parsing from binding and worker spawning * Options are parsed now into a listener description list before binding them at once and starting the workers later * UDP workers can now be configured per connection * socket reuse is now done more sensibly, mcast sockets always reused * Hold-off logic after spawning udp workers removed --- ot_udp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_udp.h') diff --git a/ot_udp.h b/ot_udp.h index 87d99a9..a8ab9fc 100644 --- a/ot_udp.h +++ b/ot_udp.h @@ -10,8 +10,8 @@ #include "trackerlogic.h" -void udp_init(int64_t sock, unsigned int worker_count); -void udp_kickoff(void); +void udp_init(void); +void udp_workers_install(int64_t sock, unsigned int worker_count); int handle_udp6(int64_t serversocket, struct ot_workstruct *ws); #endif -- cgit v1.3