*/
struct IPv4UdpAddress
{
+ /**
+ * Optional options and flags for this address
+ */
+ uint32_t options GNUNET_PACKED;
+
/**
* IPv4 address, in network byte order.
*/
*/
struct IPv6UdpAddress
{
+ /**
+ * Optional options and flags for this address
+ */
+ uint32_t options GNUNET_PACKED;
/**
* IPv6 address.
*/
char *bind6_address;
+
+ /**
+ * Bytes currently in buffer
+ */
+ int64_t bytes_in_buffer;
+
/**
* Handle to NAT traversal support.
*/
struct BroadcastAddress *ipv4_broadcast_head;
/**
- * Enable IPv6
+ * Is IPv6 enabled: GNUNET_YES or GNUNET_NO
*/
int enable_ipv6;
+ /**
+ * Is IPv4 enabled: GNUNET_YES or GNUNET_NO
+ */
+ int enable_ipv4;
+
/**
* Port we broadcasting on.
*/
*/
uint16_t aport;
- struct UDPMessageWrapper *ipv4_queue_head;
- struct UDPMessageWrapper *ipv4_queue_tail;
+ struct UDP_MessageWrapper *ipv4_queue_head;
+ struct UDP_MessageWrapper *ipv4_queue_tail;
- struct UDPMessageWrapper *ipv6_queue_head;
- struct UDPMessageWrapper *ipv6_queue_tail;
+ struct UDP_MessageWrapper *ipv6_queue_head;
+ struct UDP_MessageWrapper *ipv6_queue_tail;
};