diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-18 16:10:31 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-18 16:10:31 +0000 |
commit | 6cc556bed0898dcdb168248658574862920818da (patch) | |
tree | 1e4850a7756e0940142ff2009e0fabab1c7660bd /src/transport/plugin_transport_udp.c | |
parent | 2bfa211933d6285ffbdc7d871e695838b5d08b9f (diff) | |
download | gnunet-6cc556bed0898dcdb168248658574862920818da.tar.gz gnunet-6cc556bed0898dcdb168248658574862920818da.zip |
transport plugin api change: split of address receive and ats updates
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 c57ec98e1..885a26b19 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1907,10 +1907,17 @@ process_inbound_tokenized_messages (void *cls, void *client, | |||
1907 | delay = plugin->env->receive (plugin->env->cls, | 1907 | delay = plugin->env->receive (plugin->env->cls, |
1908 | &si->sender, | 1908 | &si->sender, |
1909 | hdr, | 1909 | hdr, |
1910 | (const struct GNUNET_ATS_Information *) &ats, 2, | ||
1911 | si->session, | 1910 | si->session, |
1912 | si->arg, | 1911 | si->arg, |
1913 | si->args); | 1912 | si->args); |
1913 | |||
1914 | plugin->env->update_address_metrics (plugin->env->cls, | ||
1915 | &si->sender, | ||
1916 | si->arg, | ||
1917 | si->args, | ||
1918 | si->session, | ||
1919 | (struct GNUNET_ATS_Information *) &ats, 2); | ||
1920 | |||
1914 | si->session->flow_delay_for_other_peer = delay; | 1921 | si->session->flow_delay_for_other_peer = delay; |
1915 | reschedule_session_timeout(si->session); | 1922 | reschedule_session_timeout(si->session); |
1916 | return GNUNET_OK; | 1923 | return GNUNET_OK; |