aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-30 03:32:20 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-30 03:32:20 +0100
commitea7d98e90d841200c2eb8cee31910b5bfa484880 (patch)
tree2549734c01c3f189957551101d746e322339528f /src/include
parenta3dfb3954f1ae0ac7d0135af5e0562d71f25c036 (diff)
downloadgnunet-ea7d98e90d841200c2eb8cee31910b5bfa484880.tar.gz
gnunet-ea7d98e90d841200c2eb8cee31910b5bfa484880.zip
generate ACKs for backchannel
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h10
-rw-r--r--src/include/gnunet_signatures.h5
-rw-r--r--src/include/gnunet_transport_communication_service.h6
3 files changed, 18 insertions, 3 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 409356d77..793430184 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -3234,6 +3234,16 @@ extern "C"
3234#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_FINISH 1452 3234#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_FINISH 1452
3235 3235
3236/** 3236/**
3237 * UDP KX acknowledgement.
3238 */
3239#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_UDP_ACK 1460
3240
3241/**
3242 * UDP communicator padding.
3243 */
3244#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_UDP_PAD 1461
3245
3246/**
3237 * Next available: 1500 3247 * Next available: 1500
3238 */ 3248 */
3239 3249
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index 4f4d546ff..289ea9860 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -212,6 +212,11 @@ extern "C"
212 */ 212 */
213#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_REKEY 32 213#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_REKEY 32
214 214
215/**
216 * Signature used by UDP communicator handshake,
217 */
218#define GNUNET_SIGNATURE_COMMUNICATOR_UDP_HANDSHAKE 33
219
215#if 0 /* keep Emacsens' auto-indent happy */ 220#if 0 /* keep Emacsens' auto-indent happy */
216{ 221{
217#endif 222#endif
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h
index 1cfc82540..b69cbbe06 100644
--- a/src/include/gnunet_transport_communication_service.h
+++ b/src/include/gnunet_transport_communication_service.h
@@ -105,9 +105,9 @@ enum GNUNET_TRANSPORT_CommunicatorCharacteristics {
105 105
106 106
107/** 107/**
108 * Function called when the transport service has received an 108 * Function called when the transport service has received a
109 * acknowledgement for this communicator (!) via a different return 109 * backchannel message for this communicator (!) via a different
110 * path. 110 * return path.
111 * 111 *
112 * Typically used to receive messages of type 112 * Typically used to receive messages of type
113 * #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_FC_LIMITS or 113 * #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_FC_LIMITS or