aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-13 19:31:49 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-13 19:31:49 +0100
commita4475afe1ad535c898bb0be7f30d2d3eff14dddf (patch)
tree3c66081d743867ae76d4fb0385bdc4e5b46593f9 /src/include
parentb5296ebccf5190bfc9f7976a1c88cd86d4ccf44c (diff)
downloadgnunet-a4475afe1ad535c898bb0be7f30d2d3eff14dddf.tar.gz
gnunet-a4475afe1ad535c898bb0be7f30d2d3eff14dddf.zip
implementing libgnunettransportaddress
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h33
-rw-r--r--src/include/gnunet_transport_address_service.h2
2 files changed, 21 insertions, 14 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 793430184..29db8372f 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -3106,40 +3106,47 @@ extern "C"
3106/** 3106/**
3107 * Type of a fragment of a CORE message created by transport to adjust 3107 * Type of a fragment of a CORE message created by transport to adjust
3108 * message length to a queue's MTU. 3108 * message length to a queue's MTU.
3109 */ 3109 */
3110#define GNUNET_MESSAGE_TYPE_TRANSPORT_FRAGMENT 1214 3110#define GNUNET_MESSAGE_TYPE_TRANSPORT_FRAGMENT 1214
3111 3111
3112/** 3112/**
3113 * Acknowledgement generated for a fragment. 3113 * Acknowledgement generated for a fragment.
3114 */ 3114 */
3115#define GNUNET_MESSAGE_TYPE_TRANSPORT_FRAGMENT_ACK 1215 3115#define GNUNET_MESSAGE_TYPE_TRANSPORT_FRAGMENT_ACK 1215
3116 3116
3117/** 3117/**
3118 * Wrapper around non-fragmented CORE message used to measure RTT 3118 * Wrapper around non-fragmented CORE message used to measure RTT
3119 * and ensure reliability. 3119 * and ensure reliability.
3120 */ 3120 */
3121#define GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_BOX 1216 3121#define GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_BOX 1216
3122 3122
3123/** 3123/**
3124 * Confirmation for a #GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_BOX. 3124 * Confirmation for a #GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_BOX.
3125 */ 3125 */
3126#define GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_ACK 1217 3126#define GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_ACK 1217
3127 3127
3128/** 3128/**
3129 * Message sent for topology discovery at transport level. 3129 * Message sent for topology discovery at transport level.
3130 */ 3130 */
3131#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_LEARN 1218 3131#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_LEARN 1218
3132 3132
3133/** 3133/**
3134 * Source-routed transport message based DV information gathered. 3134 * Source-routed transport message based DV information gathered.
3135 */ 3135 */
3136#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_BOX 1219 3136#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_BOX 1219
3137 3137
3138/** 3138/**
3139 * Transport signalling incoming backchannel message to a communicator. 3139 * Transport signalling incoming backchannel message to a communicator.
3140 */ 3140 */
3141#define GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING 1220 3141#define GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING 1220
3142 3142
3143/**
3144 * We learned a possible network address of another peer. Transport
3145 * should consider verifying it, and if successful, remembering it
3146 * in the Peerstore.
3147 */
3148#define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_CONSIDER_VERIFY 1221
3149
3143 3150
3144/** 3151/**
3145 * Message sent to indicate to the transport that a monitor 3152 * Message sent to indicate to the transport that a monitor
@@ -3230,7 +3237,7 @@ extern "C"
3230 3237
3231/** 3238/**
3232 * TCP communicator end of stream. 3239 * TCP communicator end of stream.
3233 */ 3240 */
3234#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_FINISH 1452 3241#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_FINISH 1452
3235 3242
3236/** 3243/**
diff --git a/src/include/gnunet_transport_address_service.h b/src/include/gnunet_transport_address_service.h
index 86d0a423e..afd065d66 100644
--- a/src/include/gnunet_transport_address_service.h
+++ b/src/include/gnunet_transport_address_service.h
@@ -94,7 +94,7 @@ GNUNET_TRANSPORT_address_disconnect (struct GNUNET_TRANSPORT_AddressHandle *ch);
94 * @param raw_size number of bytes in @a raw 94 * @param raw_size number of bytes in @a raw
95 */ 95 */
96void 96void
97GNUNET_TRANSPORT_address_try (struct GNUNET_TRANSPORT_CommunicatorHandle *ch, 97GNUNET_TRANSPORT_address_try (struct GNUNET_TRANSPORT_AddressHandle *ch,
98 const void *raw, 98 const void *raw,
99 const size_t raw_size); 99 const size_t raw_size);
100 100