diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-17 19:58:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-17 19:58:31 +0100 |
commit | 7f756511ec2bafd5a5a2c3f2c40f7c08f3c39f85 (patch) | |
tree | 082e48c1a1ffea6b0aca9b67664da2c952eb2ff0 /src/cadet/gnunet-service-cadet-new_connection.c | |
parent | 63b0ff261a89b0fc39a20b3913c5a6f0d328926b (diff) | |
download | gnunet-7f756511ec2bafd5a5a2c3f2c40f7c08f3c39f85.tar.gz gnunet-7f756511ec2bafd5a5a2c3f2c40f7c08f3c39f85.zip |
towards decrypting traffic in new CADET
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_connection.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_connection.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_connection.c b/src/cadet/gnunet-service-cadet-new_connection.c index 6b802b69a..ff0579dc2 100644 --- a/src/cadet/gnunet-service-cadet-new_connection.c +++ b/src/cadet/gnunet-service-cadet-new_connection.c | |||
@@ -25,12 +25,20 @@ | |||
25 | * end-to-end routes and transmits messages along the route | 25 | * end-to-end routes and transmits messages along the route |
26 | * @author Bartlomiej Polot | 26 | * @author Bartlomiej Polot |
27 | * @author Christian Grothoff | 27 | * @author Christian Grothoff |
28 | * | ||
29 | * TODO: | ||
30 | * - congestion control | ||
31 | * - GCC_debug() | ||
32 | * - keepalive messages | ||
33 | * - performance metrics | ||
34 | * - back-off reset | ||
28 | */ | 35 | */ |
29 | #include "platform.h" | 36 | #include "platform.h" |
30 | #include "gnunet-service-cadet-new_channel.h" | 37 | #include "gnunet-service-cadet-new_channel.h" |
38 | #include "gnunet-service-cadet-new_connection.h" | ||
31 | #include "gnunet-service-cadet-new_paths.h" | 39 | #include "gnunet-service-cadet-new_paths.h" |
32 | #include "gnunet-service-cadet-new_peer.h" | 40 | #include "gnunet-service-cadet-new_peer.h" |
33 | #include "gnunet-service-cadet-new_connection.h" | 41 | #include "gnunet-service-cadet-new_tunnels.h" |
34 | #include "gnunet_cadet_service.h" | 42 | #include "gnunet_cadet_service.h" |
35 | #include "cadet_protocol.h" | 43 | #include "cadet_protocol.h" |
36 | 44 | ||
@@ -247,7 +255,8 @@ void | |||
247 | GCC_handle_kx (struct CadetConnection *cc, | 255 | GCC_handle_kx (struct CadetConnection *cc, |
248 | const struct GNUNET_CADET_KX *msg) | 256 | const struct GNUNET_CADET_KX *msg) |
249 | { | 257 | { |
250 | GNUNET_assert (0); // FIXME: not implemented | 258 | GCT_handle_kx (cc->ct, |
259 | msg); | ||
251 | } | 260 | } |
252 | 261 | ||
253 | 262 | ||
@@ -261,7 +270,8 @@ void | |||
261 | GCC_handle_encrypted (struct CadetConnection *cc, | 270 | GCC_handle_encrypted (struct CadetConnection *cc, |
262 | const struct GNUNET_CADET_Encrypted *msg) | 271 | const struct GNUNET_CADET_Encrypted *msg) |
263 | { | 272 | { |
264 | GNUNET_assert (0); // FIXME: not implemented | 273 | GCT_handle_encrypted (cc->ct, |
274 | msg); | ||
265 | } | 275 | } |
266 | 276 | ||
267 | 277 | ||