diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-06 04:39:19 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-06 04:39:19 +0000 |
commit | 85c394f637976950c4635529d6198b5f93d4c397 (patch) | |
tree | c6519bbba53205e912ed2ad77d845249bbcff494 /src | |
parent | 54fa2add0f3ed4941e7f7c1d7e9a8d11f4d1c3fc (diff) | |
download | gnunet-85c394f637976950c4635529d6198b5f93d4c397.tar.gz gnunet-85c394f637976950c4635529d6198b5f93d4c397.zip |
- missing cli<->serv messages
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/mesh.h | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h index 0113f7855..bb71d1668 100644 --- a/src/mesh/mesh.h +++ b/src/mesh/mesh.h | |||
@@ -179,11 +179,6 @@ struct GNUNET_MESH_LocalInfo | |||
179 | MESH_ChannelNumber channel_id GNUNET_PACKED; | 179 | MESH_ChannelNumber channel_id GNUNET_PACKED; |
180 | 180 | ||
181 | /** | 181 | /** |
182 | * Alignment. | ||
183 | */ | ||
184 | uint32_t reserved GNUNET_PACKED; | ||
185 | |||
186 | /** | ||
187 | * ID of the owner of the channel (can be local peer). | 182 | * ID of the owner of the channel (can be local peer). |
188 | */ | 183 | */ |
189 | struct GNUNET_PeerIdentity owner; | 184 | struct GNUNET_PeerIdentity owner; |
@@ -194,6 +189,45 @@ struct GNUNET_MESH_LocalInfo | |||
194 | struct GNUNET_PeerIdentity destination; | 189 | struct GNUNET_PeerIdentity destination; |
195 | }; | 190 | }; |
196 | 191 | ||
192 | /** | ||
193 | * Message to inform the client about one of the tunnels in the service. | ||
194 | */ | ||
195 | struct GNUNET_MESH_LocalInfoTunnel | ||
196 | { | ||
197 | /** | ||
198 | * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL[S] | ||
199 | */ | ||
200 | struct GNUNET_MessageHeader header; | ||
201 | |||
202 | /** | ||
203 | * Number of channels. | ||
204 | */ | ||
205 | uint32_t channels GNUNET_PACKED; | ||
206 | |||
207 | /** | ||
208 | * ID of the destination of the tunnel (can be local peer). | ||
209 | */ | ||
210 | struct GNUNET_PeerIdentity destination; | ||
211 | |||
212 | /** | ||
213 | * Number of connections. | ||
214 | */ | ||
215 | uint32_t connections GNUNET_PACKED; | ||
216 | |||
217 | /** | ||
218 | * Encryption state. | ||
219 | */ | ||
220 | uint16_t estate GNUNET_PACKED; | ||
221 | |||
222 | /** | ||
223 | * Connection state. | ||
224 | */ | ||
225 | uint16_t cstate GNUNET_PACKED; | ||
226 | |||
227 | /* If TUNNEL (no 'S'): GNUNET_PeerIdentity connection_ids[connections] */ | ||
228 | /* If TUNNEL (no 'S'): uint32_t channel_ids[channels] */ | ||
229 | }; | ||
230 | |||
197 | 231 | ||
198 | GNUNET_NETWORK_STRUCT_END | 232 | GNUNET_NETWORK_STRUCT_END |
199 | 233 | ||