diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 4c25be39c..f961ea4f2 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -174,6 +174,8 @@ GST_neighbours_iterate (GST_NeighbourIterator cb, | |||
174 | * @param sender_address address of the other peer, NULL if other peer | 174 | * @param sender_address address of the other peer, NULL if other peer |
175 | * connected to us | 175 | * connected to us |
176 | * @param sender_address_len number of bytes in sender_address | 176 | * @param sender_address_len number of bytes in sender_address |
177 | * @param ats performance data | ||
178 | * @param ats_count number of entries in ats (excluding 0-termination) | ||
177 | * @return GNUNET_OK if the message was well-formed, GNUNET_SYSERR if not | 179 | * @return GNUNET_OK if the message was well-formed, GNUNET_SYSERR if not |
178 | */ | 180 | */ |
179 | int | 181 | int |
@@ -181,7 +183,9 @@ GST_neighbours_handle_pong (const struct GNUNET_PeerIdentity *sender, | |||
181 | const struct GNUNET_MessageHeader *hdr, | 183 | const struct GNUNET_MessageHeader *hdr, |
182 | const char *plugin_name, | 184 | const char *plugin_name, |
183 | const void *sender_address, | 185 | const void *sender_address, |
184 | size_t sender_address_len) | 186 | size_t sender_address_len, |
187 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | ||
188 | uint32_t ats_count) | ||
185 | { | 189 | { |
186 | return GNUNET_SYSERR; | 190 | return GNUNET_SYSERR; |
187 | } | 191 | } |
@@ -196,6 +200,8 @@ GST_neighbours_handle_pong (const struct GNUNET_PeerIdentity *sender, | |||
196 | * @param sender_address address of the other peer, NULL if other peer | 200 | * @param sender_address address of the other peer, NULL if other peer |
197 | * connected to us | 201 | * connected to us |
198 | * @param sender_address_len number of bytes in sender_address | 202 | * @param sender_address_len number of bytes in sender_address |
203 | * @param ats performance data | ||
204 | * @param ats_count number of entries in ats (excluding 0-termination) | ||
199 | * @return GNUNET_OK if the message was well-formed, GNUNET_SYSERR if not | 205 | * @return GNUNET_OK if the message was well-formed, GNUNET_SYSERR if not |
200 | */ | 206 | */ |
201 | int | 207 | int |
@@ -203,7 +209,9 @@ GST_neighbours_handle_connect (const struct GNUNET_PeerIdentity *sender, | |||
203 | const struct GNUNET_MessageHeader *hdr, | 209 | const struct GNUNET_MessageHeader *hdr, |
204 | const char *plugin_name, | 210 | const char *plugin_name, |
205 | const void *sender_address, | 211 | const void *sender_address, |
206 | size_t sender_address_len) | 212 | size_t sender_address_len, |
213 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | ||
214 | uint32_t ats_count) | ||
207 | { | 215 | { |
208 | return GNUNET_SYSERR; | 216 | return GNUNET_SYSERR; |
209 | } | 217 | } |