aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-07 22:06:02 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-07 22:06:02 +0000
commitf8c0f7d5c566bbddc2909eceeb63e6ecee591d70 (patch)
treecb03a293b5a5372f18bb114b01d02fd48d76865d /src/transport/gnunet-service-transport_validation.h
parent174ab5aba2bdfde8a4614bf0069a33a7bbe57ce7 (diff)
downloadgnunet-f8c0f7d5c566bbddc2909eceeb63e6ecee591d70.tar.gz
gnunet-f8c0f7d5c566bbddc2909eceeb63e6ecee591d70.zip
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
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r--src/transport/gnunet-service-transport_validation.h16
1 files changed, 6 insertions, 10 deletions
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);
50 * Based on this, the validation module will measure latency for the 50 * Based on this, the validation module will measure latency for the
51 * address more or less often. 51 * address more or less often.
52 * 52 *
53 * @param sender peer sending the PING 53 * @param sender peer
54 * @param hdr the PING 54 * @param plugin_name name of plugin
55 * @param plugin_name name of plugin that received the PING 55 * @param session session
56 * @param session session we got the PING from
57 * @param sender_address address of the sender as known to the plugin, NULL 56 * @param sender_address address of the sender as known to the plugin, NULL
58 * if we did not initiate the connection 57 * if we did not initiate the connection
59 * @param sender_address_len number of bytes in sender_address 58 * @param sender_address_len number of bytes in sender_address
@@ -62,7 +61,6 @@ GST_validation_stop (void);
62 */ 61 */
63void 62void
64GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender, 63GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender,
65 const struct GNUNET_MessageHeader *hdr,
66 const char *plugin_name, struct Session *session, 64 const char *plugin_name, struct Session *session,
67 const void *sender_address, 65 const void *sender_address,
68 size_t sender_address_len, 66 size_t sender_address_len,
@@ -73,10 +71,9 @@ GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender,
73 * Query validation about the latest observed latency on a given 71 * Query validation about the latest observed latency on a given
74 * address. 72 * address.
75 * 73 *
76 * @param sender peer sending the PING 74 * @param sender peer
77 * @param hdr the PING 75 * @param plugin_name name of plugin
78 * @param plugin_name name of plugin that received the PING 76 * @param session session
79 * @param session session we got the PING from
80 * @param sender_address address of the sender as known to the plugin, NULL 77 * @param sender_address address of the sender as known to the plugin, NULL
81 * if we did not initiate the connection 78 * if we did not initiate the connection
82 * @param sender_address_len number of bytes in sender_address 79 * @param sender_address_len number of bytes in sender_address
@@ -85,7 +82,6 @@ GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender,
85 */ 82 */
86struct GNUNET_TIME_Relative 83struct GNUNET_TIME_Relative
87GST_validation_get_address_latency (const struct GNUNET_PeerIdentity *sender, 84GST_validation_get_address_latency (const struct GNUNET_PeerIdentity *sender,
88 const struct GNUNET_MessageHeader *hdr,
89 const char *plugin_name, struct Session *session, 85 const char *plugin_name, struct Session *session,
90 const void *sender_address, 86 const void *sender_address,
91 size_t sender_address_len); 87 size_t sender_address_len);