projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1031c6d
)
added ATS information to InboundMessage
author
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 30 Nov 2010 10:25:17 +0000
(10:25 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 30 Nov 2010 10:25:17 +0000
(10:25 +0000)
src/transport/transport.h
patch
|
blob
|
history
diff --git
a/src/transport/transport.h
b/src/transport/transport.h
index 237f3158139055e986bdee8bb50d8ba7fd4706cb..747986439c211a7c0f0393e4b4743bc63288868b 100644
(file)
--- a/
src/transport/transport.h
+++ b/
src/transport/transport.h
@@
-189,6
+189,12
@@
struct InboundMessage
*/
uint32_t reserved GNUNET_PACKED;
+ /**
+ * Number of ATS key-value pairs that follow this struct
+ * (excluding the 0-terminator).
+ */
+ uint32_t ats_count GNUNET_PACKED;
+
/**
* Latency estimate.
*/
@@
-204,6
+210,11
@@
struct InboundMessage
*/
uint32_t distance;
+ /**
+ * First of the ATS information blocks (we must have at least
+ * one due to the 0-termination requirement).
+ */
+ struct GNUNET_TRANSPORT_ATS_Information ats;
};