diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-12 15:34:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-12 15:34:45 +0000 |
commit | 3b8fb06caa5e1e7ee123cc99c6b3e9ba38771598 (patch) | |
tree | 3a83cbf30c124e6957991137e86a7840634233d9 /src/include/gnunet_protocols.h | |
parent | 868126cd639e63cd6f4db19a19e49778fc67e0ad (diff) | |
download | gnunet-3b8fb06caa5e1e7ee123cc99c6b3e9ba38771598.tar.gz gnunet-3b8fb06caa5e1e7ee123cc99c6b3e9ba38771598.zip |
docprog
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index f78464593..419bbe28d 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -170,20 +170,10 @@ extern "C" | |||
170 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TRY_CONNECT 27 | 170 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TRY_CONNECT 27 |
171 | 171 | ||
172 | /** | 172 | /** |
173 | * Request to other peer to confirm receipt. | ||
174 | */ | ||
175 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_PING 28 | ||
176 | |||
177 | /** | ||
178 | * Message from other peer confirming receipt. | ||
179 | */ | ||
180 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_PONG 29 | ||
181 | |||
182 | /** | ||
183 | * Response to another peer confirming that communication was | 173 | * Response to another peer confirming that communication was |
184 | * established. | 174 | * established. |
185 | */ | 175 | */ |
186 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_ACK 30 | 176 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_ACK 28 |
187 | 177 | ||
188 | 178 | ||
189 | /** | 179 | /** |
@@ -213,14 +203,28 @@ extern "C" | |||
213 | 203 | ||
214 | 204 | ||
215 | /** | 205 | /** |
216 | * Welcome message between TCP transports. | 206 | * Message by which a TCP transport notifies |
207 | * the other that it wants to check an address | ||
208 | * (and not initiate a persistent connection). | ||
209 | */ | ||
210 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_PING 40 | ||
211 | |||
212 | /** | ||
213 | * Message by which a TCP transport confirms | ||
214 | * the other that the address used worked. | ||
215 | */ | ||
216 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_PONG 41 | ||
217 | |||
218 | /** | ||
219 | * Welcome message between TCP transports | ||
220 | * (for a persistent connection). | ||
217 | */ | 221 | */ |
218 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_WELCOME 40 | 222 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_WELCOME 42 |
219 | 223 | ||
220 | /** | 224 | /** |
221 | * Data message between TCP transports. | 225 | * Data message between TCP transports. |
222 | */ | 226 | */ |
223 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_DATA 41 | 227 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_DATA 43 |
224 | 228 | ||
225 | 229 | ||
226 | /** | 230 | /** |