- disable try_connect to force topology
[oweals/gnunet.git] / src / mesh / mesh2.h
index d42a630a0e4c3f84227a8f23e8f67f316dca8647..360bfabb4431801009996430a0c12885ba871d00 100644 (file)
@@ -38,9 +38,6 @@ extern "C"
 
 #define MESH_DEBUG              GNUNET_YES
 
-#define INITIAL_WINDOW_SIZE     8
-#define ACK_THRESHOLD           INITIAL_WINDOW_SIZE / 2
-
 #include "platform.h"
 #include "gnunet_common.h"
 #include "gnunet_util_lib.h"
@@ -112,10 +109,7 @@ struct GNUNET_MESH_ClientConnect
      *       sizeof(uint16_t) * types
      */
   struct GNUNET_MessageHeader header;
-  uint16_t types GNUNET_PACKED;
-  uint16_t ports GNUNET_PACKED;
-  /* uint16_t                 list_types[types]           */
-  /* uint32_t                 list_ports[ports]           */
+  /* uint32_t                 list_ports[]           */
 };
 
 
@@ -210,7 +204,7 @@ struct GNUNET_MESH_LocalAck
     /**
      * ID of the last packet allowed.
      */
-  uint32_t max_pid GNUNET_PACKED;
+  uint32_t ack GNUNET_PACKED;
 };