summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-11-10 12:58:35 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-11-10 12:58:35 +0000
commita74166876d91f823b86ddad9894d0b0a0f50ee46 (patch)
tree9012f6593f6c47bb65db4c1ebe6eb36e44a1d74f /src/transport/gnunet-service-transport_neighbours.h
parentbeda377f4ab06a563f8f91768196e1858939e5ec (diff)
latency measurement with neighbour_keep_alive_task
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h
index 72ced636d..7a79d5113 100644
--- a/src/transport/gnunet-service-transport_neighbours.h
+++ b/src/transport/gnunet-service-transport_neighbours.h
@@ -124,6 +124,17 @@ GST_neighbours_calculate_receive_delay (const struct GNUNET_PeerIdentity
void
GST_neighbours_keepalive (const struct GNUNET_PeerIdentity *neighbour);
+/**
+ * We received a KEEP_ALIVE_RESPONSE message and use this to calculate latency
+ * to this peer
+ *
+ * @param neighbour neighbour to keep alive
+ */
+void
+GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour,
+ const struct GNUNET_ATS_Information * ats,
+ uint32_t ats_count);
+
/**
* Change the incoming quota for the given peer.