diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-04 22:29:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-04 22:29:59 +0000 |
commit | 4ef653b9f65c03cc9e2506e2dbadd89deb724525 (patch) | |
tree | 367eb30b88740ef0f8442a951e6041a033e18e96 /src/transport/transport.h | |
parent | 97469be15472c5a187658ffd978fc82dc24172f9 (diff) | |
download | gnunet-4ef653b9f65c03cc9e2506e2dbadd89deb724525.tar.gz gnunet-4ef653b9f65c03cc9e2506e2dbadd89deb724525.zip |
reuse, add reserved for alignment
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index 237908581..f05ef3d55 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h | |||
@@ -150,6 +150,11 @@ struct TransportRequestConnectMessage | |||
150 | struct GNUNET_MessageHeader header; | 150 | struct GNUNET_MessageHeader header; |
151 | 151 | ||
152 | /** | 152 | /** |
153 | * For alignment. | ||
154 | */ | ||
155 | uint32_t reserved; | ||
156 | |||
157 | /** | ||
153 | * Identity of the peer we would like to connect to. | 158 | * Identity of the peer we would like to connect to. |
154 | */ | 159 | */ |
155 | struct GNUNET_PeerIdentity peer; | 160 | struct GNUNET_PeerIdentity peer; |
@@ -182,30 +187,6 @@ struct QuotaSetMessage | |||
182 | 187 | ||
183 | 188 | ||
184 | /** | 189 | /** |
185 | * Message used to ask the transport service to create a connection. | ||
186 | */ | ||
187 | struct TryConnectMessage | ||
188 | { | ||
189 | |||
190 | /** | ||
191 | * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_TRY_CONNECT | ||
192 | */ | ||
193 | struct GNUNET_MessageHeader header; | ||
194 | |||
195 | /** | ||
196 | * for alignment | ||
197 | */ | ||
198 | uint32_t reserved; | ||
199 | |||
200 | /** | ||
201 | * About which peer are we talking here? | ||
202 | */ | ||
203 | struct GNUNET_PeerIdentity peer; | ||
204 | |||
205 | }; | ||
206 | |||
207 | |||
208 | /** | ||
209 | * Message used to notify the transport API about a message | 190 | * Message used to notify the transport API about a message |
210 | * received from the network. The actual message follows. | 191 | * received from the network. The actual message follows. |
211 | */ | 192 | */ |