diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-10 12:58:35 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-10 12:58:35 +0000 |
commit | a74166876d91f823b86ddad9894d0b0a0f50ee46 (patch) | |
tree | 9012f6593f6c47bb65db4c1ebe6eb36e44a1d74f /src/transport/gnunet-service-transport_neighbours.h | |
parent | beda377f4ab06a563f8f91768196e1858939e5ec (diff) | |
download | gnunet-a74166876d91f823b86ddad9894d0b0a0f50ee46.tar.gz gnunet-a74166876d91f823b86ddad9894d0b0a0f50ee46.zip |
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.h | 11 |
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 | |||
124 | void | 124 | void |
125 | GST_neighbours_keepalive (const struct GNUNET_PeerIdentity *neighbour); | 125 | GST_neighbours_keepalive (const struct GNUNET_PeerIdentity *neighbour); |
126 | 126 | ||
127 | /** | ||
128 | * We received a KEEP_ALIVE_RESPONSE message and use this to calculate latency | ||
129 | * to this peer | ||
130 | * | ||
131 | * @param neighbour neighbour to keep alive | ||
132 | */ | ||
133 | void | ||
134 | GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, | ||
135 | const struct GNUNET_ATS_Information * ats, | ||
136 | uint32_t ats_count); | ||
137 | |||
127 | 138 | ||
128 | /** | 139 | /** |
129 | * Change the incoming quota for the given peer. | 140 | * Change the incoming quota for the given peer. |