summaryrefslogtreecommitdiff
path: root/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'server.h')
-rw-r--r--server.h9
1 files changed, 8 insertions, 1 deletions
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;
};