diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index e85f1a4d0..5b37ccb6a 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -134,7 +134,7 @@ GST_neighbours_keepalive (const struct GNUNET_PeerIdentity *neighbour); | |||
134 | */ | 134 | */ |
135 | void | 135 | void |
136 | GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, | 136 | GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, |
137 | const struct GNUNET_ATS_Information * ats, | 137 | const struct GNUNET_ATS_Information *ats, |
138 | uint32_t ats_count); | 138 | uint32_t ats_count); |
139 | 139 | ||
140 | 140 | ||
@@ -172,7 +172,8 @@ typedef void (*GST_NeighbourIterator) (void *cls, | |||
172 | neighbour, | 172 | neighbour, |
173 | const struct GNUNET_ATS_Information * | 173 | const struct GNUNET_ATS_Information * |
174 | ats, uint32_t ats_count, | 174 | ats, uint32_t ats_count, |
175 | const struct GNUNET_HELLO_Address *address); | 175 | const struct GNUNET_HELLO_Address * |
176 | address); | ||
176 | 177 | ||
177 | 178 | ||
178 | /** | 179 | /** |
@@ -213,10 +214,10 @@ GST_neighbours_session_terminated (const struct GNUNET_PeerIdentity *peer, | |||
213 | */ | 214 | */ |
214 | int | 215 | int |
215 | GST_neighbours_switch_to_address_3way (const struct GNUNET_PeerIdentity *peer, | 216 | GST_neighbours_switch_to_address_3way (const struct GNUNET_PeerIdentity *peer, |
216 | const struct GNUNET_HELLO_Address *address, | 217 | const struct GNUNET_HELLO_Address |
217 | struct Session *session, | 218 | *address, struct Session *session, |
218 | const struct GNUNET_ATS_Information *ats, | 219 | const struct GNUNET_ATS_Information *ats, |
219 | uint32_t ats_count, | 220 | uint32_t ats_count, |
220 | struct GNUNET_BANDWIDTH_Value32NBO | 221 | struct GNUNET_BANDWIDTH_Value32NBO |
221 | bandwidth_in, | 222 | bandwidth_in, |
222 | struct GNUNET_BANDWIDTH_Value32NBO | 223 | struct GNUNET_BANDWIDTH_Value32NBO |
@@ -259,7 +260,7 @@ GST_neighbours_handle_connect (const struct GNUNET_MessageHeader *message, | |||
259 | void | 260 | void |
260 | GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, | 261 | GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, |
261 | const struct GNUNET_PeerIdentity *peer, | 262 | const struct GNUNET_PeerIdentity *peer, |
262 | const struct GNUNET_HELLO_Address *address, | 263 | const struct GNUNET_HELLO_Address *address, |
263 | struct Session *session, | 264 | struct Session *session, |
264 | const struct GNUNET_ATS_Information *ats, | 265 | const struct GNUNET_ATS_Information *ats, |
265 | uint32_t ats_count); | 266 | uint32_t ats_count); |
@@ -268,7 +269,7 @@ void | |||
268 | GST_neighbours_handle_ack (const struct GNUNET_MessageHeader *message, | 269 | GST_neighbours_handle_ack (const struct GNUNET_MessageHeader *message, |
269 | const struct GNUNET_PeerIdentity *peer, | 270 | const struct GNUNET_PeerIdentity *peer, |
270 | const struct GNUNET_HELLO_Address *address, | 271 | const struct GNUNET_HELLO_Address *address, |
271 | struct Session *session, | 272 | struct Session *session, |
272 | const struct GNUNET_ATS_Information *ats, | 273 | const struct GNUNET_ATS_Information *ats, |
273 | uint32_t ats_count); | 274 | uint32_t ats_count); |
274 | 275 | ||
@@ -276,7 +277,7 @@ GST_neighbours_handle_ack (const struct GNUNET_MessageHeader *message, | |||
276 | /** | 277 | /** |
277 | * Obtain current latency information for the given neighbour. | 278 | * Obtain current latency information for the given neighbour. |
278 | * | 279 | * |
279 | * @param peer | 280 | * @param peer |
280 | * @return observed latency of the address, FOREVER if the address was | 281 | * @return observed latency of the address, FOREVER if the address was |
281 | * never successfully validated | 282 | * never successfully validated |
282 | */ | 283 | */ |