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.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c
index 971b8279f..822e7e5fe 100644
--- a/src/mesh/gnunet-service-mesh_channel.c
+++ b/src/mesh/gnunet-service-mesh_channel.c
@@ -294,7 +294,7 @@ add_buffered_data (const struct GNUNET_MESH_Data *msg,
294 294
295/** 295/**
296 * Send data to a client. 296 * Send data to a client.
297 * 297 *
298 * If the client is ready, send directly, otherwise buffer while listening 298 * If the client is ready, send directly, otherwise buffer while listening
299 * for a local ACK. 299 * for a local ACK.
300 * 300 *
@@ -377,7 +377,7 @@ channel_get (struct MeshTunnel2 *t, MESH_ChannelNumber chid)
377 377
378/** 378/**
379 * Add a client to a channel, initializing all needed data structures. 379 * Add a client to a channel, initializing all needed data structures.
380 * 380 *
381 * @param ch Channel to which add the client. 381 * @param ch Channel to which add the client.
382 * @param c Client which to add to the channel. 382 * @param c Client which to add to the channel.
383 */ 383 */
@@ -466,7 +466,7 @@ static unsigned int
466channel_get_buffer (struct MeshChannel *ch, int fwd) 466channel_get_buffer (struct MeshChannel *ch, int fwd)
467{ 467{
468 struct MeshChannelReliability *rel; 468 struct MeshChannelReliability *rel;
469 469
470 rel = fwd ? ch->dest_rel : ch->root_rel; 470 rel = fwd ? ch->dest_rel : ch->root_rel;
471 471
472 /* If rel is NULL it means that the end is not yet created, 472 /* If rel is NULL it means that the end is not yet created,
@@ -735,7 +735,7 @@ channel_send_connections_ack (struct MeshChannel *ch,
735 * Destroy a reliable message after it has been acknowledged, either by 735 * Destroy a reliable message after it has been acknowledged, either by
736 * direct mid ACK or bitfield. Updates the appropriate data structures and 736 * direct mid ACK or bitfield. Updates the appropriate data structures and
737 * timers and frees all memory. 737 * timers and frees all memory.
738 * 738 *
739 * @param copy Message that is no longer needed: remote peer got it. 739 * @param copy Message that is no longer needed: remote peer got it.
740 */ 740 */
741static void 741static void
@@ -907,7 +907,7 @@ send_client_buffered_data (struct MeshChannel *ch,
907 907
908/** 908/**
909 * Destroy a channel and free all resources. 909 * Destroy a channel and free all resources.
910 * 910 *
911 * @param ch Channel to destroy. 911 * @param ch Channel to destroy.
912 */ 912 */
913static void 913static void
@@ -1004,7 +1004,7 @@ channel_new (struct MeshTunnel2 *t,
1004 1004
1005/** 1005/**
1006 * Set options in a channel, extracted from a bit flag field 1006 * Set options in a channel, extracted from a bit flag field
1007 * 1007 *
1008 * @param ch Channel to set options to. 1008 * @param ch Channel to set options to.
1009 * @param options Bit array in host byte order. 1009 * @param options Bit array in host byte order.
1010 */ 1010 */
@@ -1145,7 +1145,7 @@ GMCH_send_channel_destroy (struct MeshChannel *ch, int fwd)
1145 1145
1146/** 1146/**
1147 * Send data on a channel. 1147 * Send data on a channel.
1148 * 1148 *
1149 * If the destination is local, send it to client, otherwise encrypt and 1149 * If the destination is local, send it to client, otherwise encrypt and
1150 * send to next hop. 1150 * send to next hop.
1151 * 1151 *