aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_channel.c')
-rw-r--r--src/mesh/gnunet-service-mesh_channel.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c
index e1c60b743..8d1ccb0b9 100644
--- a/src/mesh/gnunet-service-mesh_channel.c
+++ b/src/mesh/gnunet-service-mesh_channel.c
@@ -20,8 +20,13 @@
20 20
21 21
22#include "platform.h" 22#include "platform.h"
23#include "gnunet_util_lib.h"
24
25#include "gnunet_statistics_service.h"
26
23#include "mesh_enc.h" 27#include "mesh_enc.h"
24#include "mesh_protocol_enc.h" 28#include "mesh_protocol_enc.h"
29
25#include "gnunet-service-mesh_channel.h" 30#include "gnunet-service-mesh_channel.h"
26#include "gnunet-service-mesh_local.h" 31#include "gnunet-service-mesh_local.h"
27#include "gnunet-service-mesh_tunnel.h" 32#include "gnunet-service-mesh_tunnel.h"
@@ -245,6 +250,20 @@ struct MeshChannel
245}; 250};
246 251
247 252
253/******************************************************************************/
254/******************************* GLOBALS ***********************************/
255/******************************************************************************/
256
257/**
258 * Global handle to the statistics service.
259 */
260extern struct GNUNET_STATISTICS_Handle *stats;
261
262
263/******************************************************************************/
264/******************************** STATIC ***********************************/
265/******************************************************************************/
266
248/** 267/**
249 * We have received a message out of order, or the client is not ready. 268 * We have received a message out of order, or the client is not ready.
250 * Buffer it until we receive an ACK from the client or the missing 269 * Buffer it until we receive an ACK from the client or the missing
@@ -1177,6 +1196,10 @@ send (const struct GNUNET_MessageHeader *message,
1177} 1196}
1178 1197
1179 1198
1199/******************************************************************************/
1200/******************************** API ***********************************/
1201/******************************************************************************/
1202
1180/** 1203/**
1181 * Count channels in a DLL. 1204 * Count channels in a DLL.
1182 * 1205 *