- fix
[oweals/gnunet.git] / src / transport / plugin_transport_udp.h
index 5637524bca9a51771fc71ee77cbf9324415c7078..bab8e6cf07f1e23369d171d7153a3f78c6cc2b9e 100644 (file)
@@ -159,6 +159,12 @@ struct Plugin
    */
   char *bind6_address;
 
+
+  /**
+   * Bytes currently in buffer
+   */
+  int64_t bytes_in_buffer;
+
   /**
    * Handle to NAT traversal support.
    */
@@ -175,8 +181,6 @@ struct Plugin
   struct GNUNET_NETWORK_FDSet *ws_v4;
 
 
-  int with_v4_ws;
-
   /**
    * The read socket for IPv4
    */
@@ -193,8 +197,6 @@ struct Plugin
    */
   struct GNUNET_NETWORK_FDSet *ws_v6;
 
-  int with_v6_ws;
-
   /**
    * The read socket for IPv6
    */
@@ -268,11 +270,11 @@ struct Plugin
    */
   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;
 };