diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-06 12:48:27 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-06 12:48:27 +0200 |
commit | 459c4ae387ce3bf02a4ab27c2fc382974f3e1fae (patch) | |
tree | 31b0780499874f1a35f50da8c1a3d5926b26c067 /server.h | |
parent | ed8cb35c9ff4547275b03bd93baeff1cda3de76e (diff) |
Fixup announce multicast messages to create real per-server messages
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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; }; |