aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_tunnels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_tunnels.c')
-rw-r--r--src/cadet/gnunet-service-cadet_tunnels.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnels.c b/src/cadet/gnunet-service-cadet_tunnels.c
index c1c511da1..cabbeed0c 100644
--- a/src/cadet/gnunet-service-cadet_tunnels.c
+++ b/src/cadet/gnunet-service-cadet_tunnels.c
@@ -238,7 +238,7 @@ struct CadetTunnelAxolotl
238 int ratchet_allowed; 238 int ratchet_allowed;
239 239
240 /** 240 /**
241 * Number of messages recieved since our last ratchet advance. 241 * Number of messages received since our last ratchet advance.
242 * 242 *
243 * If this counter = 0, we cannot send a new ratchet key in the next 243 * If this counter = 0, we cannot send a new ratchet key in the next
244 * message. 244 * message.
@@ -1108,7 +1108,7 @@ store_skipped_key (struct CadetTunnelAxolotl *ax,
1108 * @param HKr Header key. 1108 * @param HKr Header key.
1109 * @param Np Received meesage number. 1109 * @param Np Received meesage number.
1110 * @return #GNUNET_OK if keys were stored. 1110 * @return #GNUNET_OK if keys were stored.
1111 * #GNUNET_SYSERR if an error ocurred (@a Np not expected). 1111 * #GNUNET_SYSERR if an error occurred (@a Np not expected).
1112 */ 1112 */
1113static int 1113static int
1114store_ax_keys (struct CadetTunnelAxolotl *ax, 1114store_ax_keys (struct CadetTunnelAxolotl *ax,
@@ -3030,7 +3030,7 @@ GCT_send_channel_destroy (struct CadetTunnel *t,
3030 struct GNUNET_CADET_ChannelDestroyMessage msg; 3030 struct GNUNET_CADET_ChannelDestroyMessage msg;
3031 3031
3032 LOG (GNUNET_ERROR_TYPE_DEBUG, 3032 LOG (GNUNET_ERROR_TYPE_DEBUG,
3033 "Sending DESTORY message for channel ID %u\n", 3033 "Sending DESTROY message for channel ID %u\n",
3034 ntohl (ctn.cn)); 3034 ntohl (ctn.cn));
3035 msg.header.size = htons (sizeof(msg)); 3035 msg.header.size = htons (sizeof(msg));
3036 msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY); 3036 msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY);
@@ -3105,7 +3105,7 @@ handle_plaintext_channel_destroy (void *cls,
3105 /* We don't know about such a channel, might have been destroyed on our 3105 /* We don't know about such a channel, might have been destroyed on our
3106 end in the meantime, or never existed. */ 3106 end in the meantime, or never existed. */
3107 LOG (GNUNET_ERROR_TYPE_DEBUG, 3107 LOG (GNUNET_ERROR_TYPE_DEBUG,
3108 "Received channel DESTORY for unknown channel %u. Ignoring.\n", 3108 "Received channel DESTROY for unknown channel %u. Ignoring.\n",
3109 ntohl (cm->ctn.cn)); 3109 ntohl (cm->ctn.cn));
3110 return; 3110 return;
3111 } 3111 }
@@ -3157,7 +3157,7 @@ decrypted_error_cb (void *cls,
3157 3157
3158 3158
3159/** 3159/**
3160 * Create a tunnel to @a destionation. Must only be called 3160 * Create a tunnel to @a destination. Must only be called
3161 * from within #GCP_get_tunnel(). 3161 * from within #GCP_get_tunnel().
3162 * 3162 *
3163 * @param destination where to create the tunnel to 3163 * @param destination where to create the tunnel to
@@ -3220,7 +3220,7 @@ GCT_create_tunnel (struct CadetPeer *destination)
3220 * Add a @a connection to the @a tunnel. 3220 * Add a @a connection to the @a tunnel.
3221 * 3221 *
3222 * @param t a tunnel 3222 * @param t a tunnel
3223 * @param cid connection identifer to use for the connection 3223 * @param cid connection identifier to use for the connection
3224 * @param options options for the connection 3224 * @param options options for the connection
3225 * @param path path to use for the connection 3225 * @param path path to use for the connection
3226 * @return #GNUNET_OK on success, 3226 * @return #GNUNET_OK on success,