diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-11-30 10:25:17 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-11-30 10:25:17 +0000 |
commit | d1ddc64bbf47a243268eef655dadfeafba6d928b (patch) | |
tree | 91c5fbd6feb6b17b05262e863d83c1ca2e54909a /src/transport/transport.h | |
parent | 1031c6d5dcba9b7d8396296a61e608a5371215be (diff) | |
download | gnunet-d1ddc64bbf47a243268eef655dadfeafba6d928b.tar.gz gnunet-d1ddc64bbf47a243268eef655dadfeafba6d928b.zip |
added ATS information to InboundMessage
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index 237f31581..747986439 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h | |||
@@ -190,6 +190,12 @@ struct InboundMessage | |||
190 | uint32_t reserved GNUNET_PACKED; | 190 | uint32_t reserved GNUNET_PACKED; |
191 | 191 | ||
192 | /** | 192 | /** |
193 | * Number of ATS key-value pairs that follow this struct | ||
194 | * (excluding the 0-terminator). | ||
195 | */ | ||
196 | uint32_t ats_count GNUNET_PACKED; | ||
197 | |||
198 | /** | ||
193 | * Latency estimate. | 199 | * Latency estimate. |
194 | */ | 200 | */ |
195 | struct GNUNET_TIME_RelativeNBO latency; | 201 | struct GNUNET_TIME_RelativeNBO latency; |
@@ -204,6 +210,11 @@ struct InboundMessage | |||
204 | */ | 210 | */ |
205 | uint32_t distance; | 211 | uint32_t distance; |
206 | 212 | ||
213 | /** | ||
214 | * First of the ATS information blocks (we must have at least | ||
215 | * one due to the 0-termination requirement). | ||
216 | */ | ||
217 | struct GNUNET_TRANSPORT_ATS_Information ats; | ||
207 | }; | 218 | }; |
208 | 219 | ||
209 | 220 | ||