diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
commit | 502af2167f7c218366666ca4944bd7cc54b5b19a (patch) | |
tree | a91fec5cc9769d260640bd91c6633cb9cf395524 /src/mesh/mesh_protocol.h | |
parent | 03af5a603b7cc53432249d5854cd412aa90dde0d (diff) | |
download | gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip |
indentation
Diffstat (limited to 'src/mesh/mesh_protocol.h')
-rw-r--r-- | src/mesh/mesh_protocol.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h index 0259210d1..ad62755e9 100644 --- a/src/mesh/mesh_protocol.h +++ b/src/mesh/mesh_protocol.h | |||
@@ -49,19 +49,19 @@ struct GNUNET_MESH_ManipulatePath | |||
49 | * Size: sizeof(struct GNUNET_MESH_ManipulatePath) + | 49 | * Size: sizeof(struct GNUNET_MESH_ManipulatePath) + |
50 | * path_length * sizeof (struct GNUNET_PeerIdentity) | 50 | * path_length * sizeof (struct GNUNET_PeerIdentity) |
51 | */ | 51 | */ |
52 | struct GNUNET_MessageHeader header; | 52 | struct GNUNET_MessageHeader header; |
53 | 53 | ||
54 | /** | 54 | /** |
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 | * path_length structs defining the *whole* path from the origin [0] to the | 61 | * path_length structs defining the *whole* path from the origin [0] to the |
62 | * final destination [path_length-1]. | 62 | * final destination [path_length-1]. |
63 | */ | 63 | */ |
64 | /* struct GNUNET_PeerIdentity peers[path_length]; */ | 64 | /* struct GNUNET_PeerIdentity peers[path_length]; */ |
65 | }; | 65 | }; |
66 | 66 | ||
67 | /** | 67 | /** |
@@ -72,17 +72,17 @@ struct GNUNET_MESH_Multicast | |||
72 | /** | 72 | /** |
73 | * Type: GNUNET_MESSAGE_TYPE_MESH_MULTICAST | 73 | * Type: GNUNET_MESSAGE_TYPE_MESH_MULTICAST |
74 | */ | 74 | */ |
75 | struct GNUNET_MessageHeader header; | 75 | struct GNUNET_MessageHeader header; |
76 | 76 | ||
77 | /** | 77 | /** |
78 | * TID of the tunnel | 78 | * TID of the tunnel |
79 | */ | 79 | */ |
80 | uint32_t tid GNUNET_PACKED; | 80 | uint32_t tid GNUNET_PACKED; |
81 | 81 | ||
82 | /** | 82 | /** |
83 | * OID of the tunnel | 83 | * OID of the tunnel |
84 | */ | 84 | */ |
85 | struct GNUNET_PeerIdentity oid; | 85 | struct GNUNET_PeerIdentity oid; |
86 | 86 | ||
87 | /** | 87 | /** |
88 | * Payload follows | 88 | * Payload follows |
@@ -98,22 +98,22 @@ struct GNUNET_MESH_Unicast | |||
98 | /** | 98 | /** |
99 | * Type: GNUNET_MESSAGE_TYPE_MESH_UNICAST | 99 | * Type: GNUNET_MESSAGE_TYPE_MESH_UNICAST |
100 | */ | 100 | */ |
101 | struct GNUNET_MessageHeader header; | 101 | struct GNUNET_MessageHeader header; |
102 | 102 | ||
103 | /** | 103 | /** |
104 | * TID of the tunnel | 104 | * TID of the tunnel |
105 | */ | 105 | */ |
106 | uint32_t tid GNUNET_PACKED; | 106 | uint32_t tid GNUNET_PACKED; |
107 | 107 | ||
108 | /** | 108 | /** |
109 | * OID of the tunnel | 109 | * OID of the tunnel |
110 | */ | 110 | */ |
111 | struct GNUNET_PeerIdentity oid; | 111 | struct GNUNET_PeerIdentity oid; |
112 | 112 | ||
113 | /** | 113 | /** |
114 | * Destination. | 114 | * Destination. |
115 | */ | 115 | */ |
116 | struct GNUNET_PeerIdentity destination; | 116 | struct GNUNET_PeerIdentity destination; |
117 | 117 | ||
118 | /** | 118 | /** |
119 | * Payload follows | 119 | * Payload follows |
@@ -129,22 +129,22 @@ struct GNUNET_MESH_ToOrigin | |||
129 | /** | 129 | /** |
130 | * Type: GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN | 130 | * Type: GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN |
131 | */ | 131 | */ |
132 | struct GNUNET_MessageHeader header; | 132 | struct GNUNET_MessageHeader header; |
133 | 133 | ||
134 | /** | 134 | /** |
135 | * TID of the tunnel | 135 | * TID of the tunnel |
136 | */ | 136 | */ |
137 | uint32_t tid GNUNET_PACKED; | 137 | uint32_t tid GNUNET_PACKED; |
138 | 138 | ||
139 | /** | 139 | /** |
140 | * OID of the tunnel | 140 | * OID of the tunnel |
141 | */ | 141 | */ |
142 | struct GNUNET_PeerIdentity oid; | 142 | struct GNUNET_PeerIdentity oid; |
143 | 143 | ||
144 | /** | 144 | /** |
145 | * Sender of the message. | 145 | * Sender of the message. |
146 | */ | 146 | */ |
147 | struct GNUNET_PeerIdentity sender; | 147 | struct GNUNET_PeerIdentity sender; |
148 | 148 | ||
149 | /** | 149 | /** |
150 | * Payload follows | 150 | * Payload follows |
@@ -160,24 +160,24 @@ struct GNUNET_MESH_PathACK | |||
160 | /** | 160 | /** |
161 | * Type: GNUNET_MESSAGE_TYPE_PATH_ACK | 161 | * Type: GNUNET_MESSAGE_TYPE_PATH_ACK |
162 | */ | 162 | */ |
163 | struct GNUNET_MessageHeader header; | 163 | struct GNUNET_MessageHeader header; |
164 | 164 | ||
165 | /** | 165 | /** |
166 | * TID of the tunnel | 166 | * TID of the tunnel |
167 | */ | 167 | */ |
168 | uint32_t tid GNUNET_PACKED; | 168 | uint32_t tid GNUNET_PACKED; |
169 | 169 | ||
170 | /** | 170 | /** |
171 | * OID of the tunnel | 171 | * OID of the tunnel |
172 | */ | 172 | */ |
173 | struct GNUNET_PeerIdentity oid; | 173 | struct GNUNET_PeerIdentity oid; |
174 | 174 | ||
175 | /** | 175 | /** |
176 | * ID of the endpoint | 176 | * ID of the endpoint |
177 | */ | 177 | */ |
178 | struct GNUNET_PeerIdentity peer_id; | 178 | struct GNUNET_PeerIdentity peer_id; |
179 | 179 | ||
180 | /* TODO: signature */ | 180 | /* TODO: signature */ |
181 | }; | 181 | }; |
182 | 182 | ||
183 | 183 | ||
@@ -189,22 +189,22 @@ struct GNUNET_MESH_SpeedNotify | |||
189 | /** | 189 | /** |
190 | * Type: GNUNET_MESSAGE_TYPE_DATA_SPEED_NOTIFY | 190 | * Type: GNUNET_MESSAGE_TYPE_DATA_SPEED_NOTIFY |
191 | */ | 191 | */ |
192 | struct GNUNET_MessageHeader header; | 192 | struct GNUNET_MessageHeader header; |
193 | 193 | ||
194 | /** | 194 | /** |
195 | * TID of the tunnel | 195 | * TID of the tunnel |
196 | */ | 196 | */ |
197 | uint32_t tid GNUNET_PACKED; | 197 | uint32_t tid GNUNET_PACKED; |
198 | 198 | ||
199 | /** | 199 | /** |
200 | * OID of the tunnel | 200 | * OID of the tunnel |
201 | */ | 201 | */ |
202 | struct GNUNET_PeerIdentity oid; | 202 | struct GNUNET_PeerIdentity oid; |
203 | 203 | ||
204 | /** | 204 | /** |
205 | * Slowest link down the path (above minimum speed requirement). | 205 | * Slowest link down the path (above minimum speed requirement). |
206 | */ | 206 | */ |
207 | uint32_t speed_min; | 207 | uint32_t speed_min; |
208 | 208 | ||
209 | }; | 209 | }; |
210 | 210 | ||