diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-29 18:43:35 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-29 18:43:35 +0100 |
commit | 81f9e9e971e615e9f1f18d1509168b56bb7360c0 (patch) | |
tree | 84bf2b1e3240ee9190bf1ea7f2dfca63c19dafe1 /src/cadet/gnunet-service-cadet-new_tunnels.c | |
parent | dc430a9d23f8fd76f700d6836d4f4748429d70cd (diff) | |
download | gnunet-81f9e9e971e615e9f1f18d1509168b56bb7360c0.tar.gz gnunet-81f9e9e971e615e9f1f18d1509168b56bb7360c0.zip |
introduce buffering options on the route level
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_tunnels.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_tunnels.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_tunnels.c b/src/cadet/gnunet-service-cadet-new_tunnels.c index 3c0271c71..e41164220 100644 --- a/src/cadet/gnunet-service-cadet-new_tunnels.c +++ b/src/cadet/gnunet-service-cadet-new_tunnels.c | |||
@@ -2444,6 +2444,7 @@ consider_path_cb (void *cls, | |||
2444 | ct->t = t; | 2444 | ct->t = t; |
2445 | ct->cc = GCC_create (t->destination, | 2445 | ct->cc = GCC_create (t->destination, |
2446 | path, | 2446 | path, |
2447 | GNUNET_CADET_OPTION_DEFAULT, /* FIXME: set based on what channels want/need! */ | ||
2447 | ct, | 2448 | ct, |
2448 | &connection_ready_cb, | 2449 | &connection_ready_cb, |
2449 | ct); | 2450 | ct); |
@@ -2888,6 +2889,7 @@ GCT_create_tunnel (struct CadetPeer *destination) | |||
2888 | * | 2889 | * |
2889 | * @param t a tunnel | 2890 | * @param t a tunnel |
2890 | * @param cid connection identifer to use for the connection | 2891 | * @param cid connection identifer to use for the connection |
2892 | * @param options options for the connection | ||
2891 | * @param path path to use for the connection | 2893 | * @param path path to use for the connection |
2892 | * @return #GNUNET_OK on success, | 2894 | * @return #GNUNET_OK on success, |
2893 | * #GNUNET_SYSERR on failure (duplicate connection) | 2895 | * #GNUNET_SYSERR on failure (duplicate connection) |
@@ -2895,6 +2897,7 @@ GCT_create_tunnel (struct CadetPeer *destination) | |||
2895 | int | 2897 | int |
2896 | GCT_add_inbound_connection (struct CadetTunnel *t, | 2898 | GCT_add_inbound_connection (struct CadetTunnel *t, |
2897 | const struct GNUNET_CADET_ConnectionTunnelIdentifier *cid, | 2899 | const struct GNUNET_CADET_ConnectionTunnelIdentifier *cid, |
2900 | enum GNUNET_CADET_ChannelOption options, | ||
2898 | struct CadetPeerPath *path) | 2901 | struct CadetPeerPath *path) |
2899 | { | 2902 | { |
2900 | struct CadetTConnection *ct; | 2903 | struct CadetTConnection *ct; |
@@ -2904,6 +2907,7 @@ GCT_add_inbound_connection (struct CadetTunnel *t, | |||
2904 | ct->t = t; | 2907 | ct->t = t; |
2905 | ct->cc = GCC_create_inbound (t->destination, | 2908 | ct->cc = GCC_create_inbound (t->destination, |
2906 | path, | 2909 | path, |
2910 | options, | ||
2907 | ct, | 2911 | ct, |
2908 | cid, | 2912 | cid, |
2909 | &connection_ready_cb, | 2913 | &connection_ready_cb, |