summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-12 15:34:45 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-12 15:34:45 +0000
commit3b8fb06caa5e1e7ee123cc99c6b3e9ba38771598 (patch)
tree3a83cbf30c124e6957991137e86a7840634233d9 /src/include
parent868126cd639e63cd6f4db19a19e49778fc67e0ad (diff)
downloadgnunet-3b8fb06caa5e1e7ee123cc99c6b3e9ba38771598.tar.gz
gnunet-3b8fb06caa5e1e7ee123cc99c6b3e9ba38771598.zip
docprog
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h32
-rw-r--r--src/include/gnunet_signatures.h4
2 files changed, 20 insertions, 16 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/**
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index adb00c1ac..90b04edb1 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -43,9 +43,9 @@ extern "C"
43#define GNUNET_SIGNATURE_PURPOSE_TEST 0 43#define GNUNET_SIGNATURE_PURPOSE_TEST 0
44 44
45/** 45/**
46 * Signature for confirming HELLOs. 46 * Signature for confirming HELLOs for TCP plugins.
47 */ 47 */
48#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_HELLO 1 48#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_TCP_PING 1
49 49
50 50
51/** 51/**