From 459c4ae387ce3bf02a4ab27c2fc382974f3e1fae Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sat, 6 Jun 2020 12:48:27 +0200 Subject: Fixup announce multicast messages to create real per-server messages --- server.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'server.h') diff --git a/server.h b/server.h index d066588..a6936cd 100644 --- a/server.h +++ b/server.h @@ -17,9 +17,16 @@ struct server { struct list_head proxys; bool running; - struct uring_task task; + /* For config files */ char buf[4096]; size_t len; + + /* For announce messages */ + struct iovec mcast_iov; + struct msghdr mcast_msg; + char mcast_buf[4096]; + + struct uring_task task; struct list_head list; }; -- cgit v1.2.3