From f8c0f7d5c566bbddc2909eceeb63e6ecee591d70 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Nov 2011 22:06:02 +0000 Subject: more code to get latency in ATSI working; not complete, also now generating a warning -- for a real problem that still needs to be fixed --- src/transport/gnunet-service-transport_validation.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/transport/gnunet-service-transport_validation.h') diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h index 0e3c5e96d..2d93e508e 100644 --- a/src/transport/gnunet-service-transport_validation.h +++ b/src/transport/gnunet-service-transport_validation.h @@ -50,10 +50,9 @@ GST_validation_stop (void); * Based on this, the validation module will measure latency for the * address more or less often. * - * @param sender peer sending the PING - * @param hdr the PING - * @param plugin_name name of plugin that received the PING - * @param session session we got the PING from + * @param sender peer + * @param plugin_name name of plugin + * @param session session * @param sender_address address of the sender as known to the plugin, NULL * if we did not initiate the connection * @param sender_address_len number of bytes in sender_address @@ -62,7 +61,6 @@ GST_validation_stop (void); */ void GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender, - const struct GNUNET_MessageHeader *hdr, const char *plugin_name, struct Session *session, const void *sender_address, size_t sender_address_len, @@ -73,10 +71,9 @@ GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender, * Query validation about the latest observed latency on a given * address. * - * @param sender peer sending the PING - * @param hdr the PING - * @param plugin_name name of plugin that received the PING - * @param session session we got the PING from + * @param sender peer + * @param plugin_name name of plugin + * @param session session * @param sender_address address of the sender as known to the plugin, NULL * if we did not initiate the connection * @param sender_address_len number of bytes in sender_address @@ -85,7 +82,6 @@ GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender, */ struct GNUNET_TIME_Relative GST_validation_get_address_latency (const struct GNUNET_PeerIdentity *sender, - const struct GNUNET_MessageHeader *hdr, const char *plugin_name, struct Session *session, const void *sender_address, size_t sender_address_len); -- cgit v1.2.3