aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_protocol.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-05-12 22:21:16 +0000
committerBart Polot <bart@net.in.tum.de>2011-05-12 22:21:16 +0000
commitbb0f1a9c37476ebe08b2de7b6fb7f8b2ed0514b5 (patch)
tree091423fbd715fc8c8ed0bd8107ae6b9cde4bf8c9 /src/mesh/mesh_protocol.h
parent33b69c82ed1aed813b58aa076fbbed72a8e834b4 (diff)
downloadgnunet-bb0f1a9c37476ebe08b2de7b6fb7f8b2ed0514b5.tar.gz
gnunet-bb0f1a9c37476ebe08b2de7b6fb7f8b2ed0514b5.zip
WiP
Diffstat (limited to 'src/mesh/mesh_protocol.h')
-rw-r--r--src/mesh/mesh_protocol.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h
index 50bb50b02..01a44b58b 100644
--- a/src/mesh/mesh_protocol.h
+++ b/src/mesh/mesh_protocol.h
@@ -55,18 +55,18 @@ struct GNUNET_MESH_ManipulatePath
55 * Global id of the tunnel this path belongs to, 55 * Global id of the tunnel this path belongs to,
56 * unique in conjunction with the origin. 56 * unique in conjunction with the origin.
57 */ 57 */
58 uint32_t tid GNUNET_PACKED; 58 uint32_t tid GNUNET_PACKED;
59 59
60 /** 60 /**
61 * Information about speed requirements. If the tunnel cannot sustain the 61 * Information about speed requirements. If the tunnel cannot sustain the
62 * minimum bandwidth, packets are to be dropped. 62 * minimum bandwidth, packets are to be dropped.
63 */ 63 */
64 uint32_t speed_min GNUNET_PACKED; 64 uint32_t speed_min GNUNET_PACKED;
65 65
66 /** 66 /**
67 * 64-bit alignment. 67 * 64-bit alignment.
68 */ 68 */
69 uint32_t reserved GNUNET_PACKED; 69 uint32_t reserved GNUNET_PACKED;
70 70
71 /** 71 /**
72 * path_length structs defining the *whole* path from the origin [0] to the 72 * path_length structs defining the *whole* path from the origin [0] to the
@@ -88,12 +88,12 @@ struct GNUNET_MESH_OriginMulticast
88 /** 88 /**
89 * TID of the tunnel 89 * TID of the tunnel
90 */ 90 */
91 uint32_t tid GNUNET_PACKED; 91 uint32_t tid GNUNET_PACKED;
92 92
93 /** 93 /**
94 * OID of the tunnel 94 * OID of the tunnel
95 */ 95 */
96 struct GNUNET_PeerIdentity oid; 96 struct GNUNET_PeerIdentity oid;
97 97
98 /** 98 /**
99 * Payload follows 99 * Payload follows
@@ -114,17 +114,17 @@ struct GNUNET_MESH_DataMessageFromOrigin
114 /** 114 /**
115 * TID of the tunnel 115 * TID of the tunnel
116 */ 116 */
117 uint32_t tid GNUNET_PACKED; 117 uint32_t tid GNUNET_PACKED;
118 118
119 /** 119 /**
120 * OID of the tunnel 120 * OID of the tunnel
121 */ 121 */
122 struct GNUNET_PeerIdentity oid; 122 struct GNUNET_PeerIdentity oid;
123 123
124 /** 124 /**
125 * Destination. 125 * Destination.
126 */ 126 */
127 struct GNUNET_PeerIdentity destination; 127 struct GNUNET_PeerIdentity destination;
128 128
129 /** 129 /**
130 * Payload follows 130 * Payload follows
@@ -145,17 +145,17 @@ struct GNUNET_MESH_DataMessageToOrigin
145 /** 145 /**
146 * TID of the tunnel 146 * TID of the tunnel
147 */ 147 */
148 uint32_t tid GNUNET_PACKED; 148 uint32_t tid GNUNET_PACKED;
149 149
150 /** 150 /**
151 * OID of the tunnel 151 * OID of the tunnel
152 */ 152 */
153 struct GNUNET_PeerIdentity oid; 153 struct GNUNET_PeerIdentity oid;
154 154
155 /** 155 /**
156 * Sender of the message. 156 * Sender of the message.
157 */ 157 */
158 struct GNUNET_PeerIdentity sender; 158 struct GNUNET_PeerIdentity sender;
159 159
160 /** 160 /**
161 * Payload follows 161 * Payload follows
@@ -175,17 +175,17 @@ struct GNUNET_MESH_SpeedNotify
175 /** 175 /**
176 * TID of the tunnel 176 * TID of the tunnel
177 */ 177 */
178 uint32_t tid GNUNET_PACKED; 178 uint32_t tid GNUNET_PACKED;
179 179
180 /** 180 /**
181 * OID of the tunnel 181 * OID of the tunnel
182 */ 182 */
183 struct GNUNET_PeerIdentity oid; 183 struct GNUNET_PeerIdentity oid;
184 184
185 /** 185 /**
186 * Slowest link down the path (above minimum speed requirement). 186 * Slowest link down the path (above minimum speed requirement).
187 */ 187 */
188 uint32_t speed_min; 188 uint32_t speed_min;
189 189
190}; 190};
191 191