diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:31:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:31:56 +0000 |
commit | 7dd5cd13dd34be6a6ba90e586f599cfada951648 (patch) | |
tree | ad099f24b7521ba33ac8e27d0b8d44ddec509f67 /src/transport/plugin_transport_udp.c | |
parent | 0e5752c4c3a0a3a76c5d434be10fab4613835bda (diff) | |
download | gnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.tar.gz gnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.zip |
new timeout function and keep alives with nonces
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 1ba5bff6c..4480747a5 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1673,6 +1673,13 @@ udp_plugin_create_session (void *cls, | |||
1673 | return s; | 1673 | return s; |
1674 | } | 1674 | } |
1675 | 1675 | ||
1676 | static void | ||
1677 | udp_plugin_update_session_timeout (void *cls, | ||
1678 | const struct GNUNET_PeerIdentity *peer, | ||
1679 | struct Session *session) | ||
1680 | { | ||
1681 | |||
1682 | } | ||
1676 | 1683 | ||
1677 | /** | 1684 | /** |
1678 | * Creates a new outbound session the transport service will use to send data to the | 1685 | * Creates a new outbound session the transport service will use to send data to the |
@@ -3197,7 +3204,7 @@ libgnunet_plugin_transport_udp_init (void *cls) | |||
3197 | api->get_session = &udp_plugin_get_session; | 3204 | api->get_session = &udp_plugin_get_session; |
3198 | api->send = &udp_plugin_send; | 3205 | api->send = &udp_plugin_send; |
3199 | api->get_network = &udp_get_network; | 3206 | api->get_network = &udp_get_network; |
3200 | 3207 | api->update_session_timeout = &udp_plugin_update_session_timeout; | |
3201 | return api; | 3208 | return api; |
3202 | } | 3209 | } |
3203 | 3210 | ||