aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-12-02 11:59:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-12-02 11:59:56 +0000
commit614afe91d2c80b6fec4e6a090319c1a585944d75 (patch)
treeecd31dde4d596ec9c63fb5efde6243866c24bdc4 /src/transport/transport.h
parent318e4c9274fefbb546363633ea465f9f339cb828 (diff)
downloadgnunet-614afe91d2c80b6fec4e6a090319c1a585944d75.tar.gz
gnunet-614afe91d2c80b6fec4e6a090319c1a585944d75.zip
Working version of transport service with ATS integration
all tests passing on my machine
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 8f22abd18..595fcf51b 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -89,17 +89,7 @@ struct ConnectInfoMessage
89 * Number of ATS key-value pairs that follow this struct 89 * Number of ATS key-value pairs that follow this struct
90 * (excluding the 0-terminator). 90 * (excluding the 0-terminator).
91 */ 91 */
92 uint32_t ats_count GNUNET_PACKED; 92 uint32_t ats_count;
93
94 /**
95 * Transport distance metric (i.e. hops for DV)
96 */
97 uint32_t distance;
98
99 /**
100 * Latency estimate.
101 */
102 struct GNUNET_TIME_RelativeNBO latency;
103 93
104 /** 94 /**
105 * Identity of the new neighbour. 95 * Identity of the new neighbour.
@@ -207,21 +197,11 @@ struct InboundMessage
207 uint32_t ats_count GNUNET_PACKED; 197 uint32_t ats_count GNUNET_PACKED;
208 198
209 /** 199 /**
210 * Latency estimate.
211 */
212 //struct GNUNET_TIME_RelativeNBO latency;
213
214 /**
215 * Which peer sent the message? 200 * Which peer sent the message?
216 */ 201 */
217 struct GNUNET_PeerIdentity peer; 202 struct GNUNET_PeerIdentity peer;
218 203
219 /** 204 /**
220 * Distance metric.
221 */
222 //uint32_t distance;
223
224 /**
225 * First of the ATS information blocks (we must have at least 205 * First of the ATS information blocks (we must have at least
226 * one due to the 0-termination requirement). 206 * one due to the 0-termination requirement).
227 */ 207 */