summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp_broadcasting.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-01 14:32:34 +0000
committerChristian Grothoff <christian@grothoff.org>2015-03-01 14:32:34 +0000
commit8ea46cc3c928bd5f74859dc74f305c94b687aad2 (patch)
tree8a18d4d5a51a7ad7572aa7b5e2386d14e1d1c6b1 /src/transport/plugin_transport_udp_broadcasting.c
parent3c8d61656ddd2f9fcfd86345618086223dde363b (diff)
-simplifying event loop for UDP, separting v4/v6 for better performance (in theory at least)
Diffstat (limited to 'src/transport/plugin_transport_udp_broadcasting.c')
-rw-r--r--src/transport/plugin_transport_udp_broadcasting.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_udp_broadcasting.c b/src/transport/plugin_transport_udp_broadcasting.c
index e7b7cdc23..ea8797f29 100644
--- a/src/transport/plugin_transport_udp_broadcasting.c
+++ b/src/transport/plugin_transport_udp_broadcasting.c
@@ -527,6 +527,13 @@ iface_proc (void *cls,
}
+/**
+ * Setup broadcasting subsystem.
+ *
+ * @param plugin
+ * @param server_addrv6
+ * @param server_addrv4
+ */
void
setup_broadcast (struct Plugin *plugin,
struct sockaddr_in6 *server_addrv6,
@@ -577,6 +584,11 @@ setup_broadcast (struct Plugin *plugin,
}
+/**
+ * Stop broadcasting subsystem.
+ *
+ * @param plugin
+ */
void
stop_broadcast (struct Plugin *plugin)
{