summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-14 12:06:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-14 12:06:18 +0000
commit9df4cb72d3e3b914caa8e1dc451519715a360026 (patch)
treef020046b369296c67e0835cafbb4b3bfe643463c /src/transport/plugin_transport_udp.h
parent3ab14ab0253aeb1e715caad470e8f308c8243cdf (diff)
-make buildbots happier
Diffstat (limited to 'src/transport/plugin_transport_udp.h')
-rw-r--r--src/transport/plugin_transport_udp.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/transport/plugin_transport_udp.h b/src/transport/plugin_transport_udp.h
index 46cea2d5b..fe5a47285 100644
--- a/src/transport/plugin_transport_udp.h
+++ b/src/transport/plugin_transport_udp.h
@@ -57,10 +57,10 @@ GNUNET_NETWORK_STRUCT_BEGIN
*/
struct IPv4UdpAddress
{
- /**
- * Optional options and flags for this address
- */
- uint32_t options GNUNET_PACKED;
+ /**
+ * Optional options and flags for this address
+ */
+ uint32_t options GNUNET_PACKED;
/**
* IPv4 address, in network byte order.
@@ -79,10 +79,10 @@ struct IPv4UdpAddress
*/
struct IPv6UdpAddress
{
- /**
- * Optional options and flags for this address
- */
- uint32_t options GNUNET_PACKED;
+ /**
+ * Optional options and flags for this address
+ */
+ uint32_t options GNUNET_PACKED;
/**
* IPv6 address.
@@ -296,10 +296,16 @@ const char *
udp_address_to_string (void *cls, const void *addr, size_t addrlen);
void
-udp_broadcast_receive ();
+udp_broadcast_receive (struct Plugin *plugin,
+ const char * buf,
+ ssize_t size,
+ const struct sockaddr *addr,
+ size_t addrlen);
void
-setup_broadcast (struct Plugin *plugin, struct sockaddr_in6 *server_addrv6, struct sockaddr_in *server_addrv4);
+setup_broadcast (struct Plugin *plugin,
+ struct sockaddr_in6 *server_addrv6,
+ struct sockaddr_in *server_addrv4);
void
stop_broadcast (struct Plugin *plugin);