summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-28 14:40:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-28 14:40:18 +0000
commit777d9cd68b19282fdc5b5e22ba93710dc3424ffd (patch)
tree39b24588b5e11a7d10cd3e5f4575e2f4a2a0fa2b /src/transport/plugin_transport_udp.h
parentcc972265917834276d78278f56718ee6ef6b86fa (diff)
-cleaning up UDP broadcast code, preparing for cryogenic
Diffstat (limited to 'src/transport/plugin_transport_udp.h')
-rw-r--r--src/transport/plugin_transport_udp.h27
1 files changed, 3 insertions, 24 deletions
diff --git a/src/transport/plugin_transport_udp.h b/src/transport/plugin_transport_udp.h
index fe5a47285..0ca596861 100644
--- a/src/transport/plugin_transport_udp.h
+++ b/src/transport/plugin_transport_udp.h
@@ -222,42 +222,21 @@ struct Plugin
struct GNUNET_TIME_Relative broadcast_interval;
/**
- * Broadcast with IPv4
- */
- int broadcast_ipv4;
-
- /**
- * Broadcast with IPv6
- */
- int broadcast_ipv6;
-
-
- /**
* Tokenizer for inbound messages.
*/
struct GNUNET_SERVER_MessageStreamTokenizer *broadcast_ipv6_mst;
struct GNUNET_SERVER_MessageStreamTokenizer *broadcast_ipv4_mst;
/**
- * ID of select broadcast task
- */
- GNUNET_SCHEDULER_TaskIdentifier send_ipv4_broadcast_task;
-
- /**
- * ID of select broadcast task
- */
- GNUNET_SCHEDULER_TaskIdentifier send_ipv6_broadcast_task;
-
- /**
* IPv6 multicast address
*/
struct sockaddr_in6 ipv6_multicast_address;
/**
- * DLL of IPv4 broadcast addresses
+ * DLL of broadcast addresses
*/
- struct BroadcastAddress *ipv4_broadcast_tail;
- struct BroadcastAddress *ipv4_broadcast_head;
+ struct BroadcastAddress *broadcast_tail;
+ struct BroadcastAddress *broadcast_head;
/**
* Is IPv6 enabled: GNUNET_YES or GNUNET_NO