diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_tunnel.h')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.h b/src/cadet/gnunet-service-cadet_tunnel.h index 8d65cbebd..e3ca57e9c 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.h +++ b/src/cadet/gnunet-service-cadet_tunnel.h | |||
@@ -295,26 +295,27 @@ GCT_get_channel (struct CadetTunnel *t, CADET_ChannelNumber chid); | |||
295 | 295 | ||
296 | 296 | ||
297 | /** | 297 | /** |
298 | * Decrypt and demultiplex by message type. Call appropriate handler | 298 | * Decrypt and process an encrypted message. |
299 | * for a message towards a channel of a local tunnel. | 299 | * |
300 | * Calls the appropriate handler for a message in a channel of a local tunnel. | ||
300 | * | 301 | * |
301 | * @param t Tunnel this message came on. | 302 | * @param t Tunnel this message came on. |
302 | * @param msg Message header. | 303 | * @param msg Message header. |
303 | */ | 304 | */ |
304 | void | 305 | void |
305 | GCT_handle_encrypted (struct CadetTunnel *t, | 306 | GCT_handle_encrypted (struct CadetTunnel *t, |
306 | const struct GNUNET_MessageHeader *msg); | 307 | const struct GNUNET_CADET_Encrypted *msg); |
307 | 308 | ||
308 | 309 | ||
309 | /** | 310 | /** |
310 | * Demultiplex an encapsulated KX message by message type. | 311 | * Handle a Key eXchange message. |
311 | * | 312 | * |
312 | * @param t Tunnel on which the message came. | 313 | * @param t Tunnel on which the message came. |
313 | * @param message KX message itself. | 314 | * @param msg KX message itself. |
314 | */ | 315 | */ |
315 | void | 316 | void |
316 | GCT_handle_kx (struct CadetTunnel *t, | 317 | GCT_handle_kx (struct CadetTunnel *t, |
317 | const struct GNUNET_MessageHeader *message); | 318 | const struct GNUNET_CADET_KX *msg); |
318 | 319 | ||
319 | 320 | ||
320 | /** | 321 | /** |
@@ -494,13 +495,13 @@ GCT_send_prebuilt_message (const struct GNUNET_MessageHeader *message, | |||
494 | 495 | ||
495 | 496 | ||
496 | /** | 497 | /** |
497 | * Send an Axolotl KX message. | 498 | * Send a KX message. |
498 | * | 499 | * |
499 | * @param t Tunnel on which to send it. | 500 | * @param t Tunnel on which to send it. |
500 | * @param force_reply Force the other peer to reply with a KX message. | 501 | * @param force_reply Force the other peer to reply with a KX message. |
501 | */ | 502 | */ |
502 | void | 503 | void |
503 | GCT_send_ax_kx (struct CadetTunnel *t, int force_reply); | 504 | GCT_send_kx (struct CadetTunnel *t, int force_reply); |
504 | 505 | ||
505 | 506 | ||
506 | /** | 507 | /** |