From a577a67e0ec909911b814265902861cfb18640c7 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 6 Aug 2012 13:58:26 +0000 Subject: [PATCH] - wip --- src/mesh/gnunet-service-mesh.c | 9 +++++++-- src/mesh/test_mesh_local_traffic.c | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 3972f2d02..524b89c02 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -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 diff --git a/src/mesh/test_mesh_local_traffic.c b/src/mesh/test_mesh_local_traffic.c index 78e1049f6..17d5ec115 100644 --- a/src/mesh/test_mesh_local_traffic.c +++ b/src/mesh/test_mesh_local_traffic.c @@ -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; -- 2.25.1