- wip
authorBart Polot <bart@net.in.tum.de>
Mon, 6 Aug 2012 13:58:26 +0000 (13:58 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 6 Aug 2012 13:58:26 +0000 (13:58 +0000)
src/mesh/gnunet-service-mesh.c
src/mesh/test_mesh_local_traffic.c

index 3972f2d0208a5de500ac43c69151092e65eed601..524b89c027213ab8d7afa588ae08530fed69696a 100644 (file)
@@ -462,9 +462,14 @@ struct MeshTunnelChildInfo
   uint32_t pid;
 
     /**
-     * Maximum PID allowed.
+     * Maximum PID allowed (FWD ACK received).
      */
   uint32_t max_pid;
+
+    /**
+     * Last ACK sent to that child (BCK ACK).
+     */
+  uint32_t last_ack;
 };
 
 
@@ -1650,7 +1655,7 @@ announce_id (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 /**
  * Check if one pid is bigger than other, accounting for overflow.
  *
- * @param biger Argument that should be bigger.
+ * @param bigger Argument that should be bigger.
  * @param smaller Argument that should be smaller.
  *
  * @return True if big is bigger than small
index 78e1049f679d92a86cd8b05e44ebaeb2d39823a6..17d5ec1157d390bb032e23fc4d33153d9bb7e0d2 100644 (file)
@@ -44,7 +44,6 @@ struct test_traffic_message
 
 GNUNET_NETWORK_STRUCT_END
 
-
 static struct GNUNET_MESH_Handle *mesh_peer_1;
 
 static struct GNUNET_MESH_Handle *mesh_peer_2;