summaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h155
1 files changed, 44 insertions, 111 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 7fe869fa8..7e2fd4739 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -16,7 +16,7 @@
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file transport/transport.h 22 * @file transport/transport.h
@@ -55,13 +55,13 @@
55 * Maximum frequency for re-evaluating latencies for all transport addresses. 55 * Maximum frequency for re-evaluating latencies for all transport addresses.
56 */ 56 */
57#define LATENCY_EVALUATION_MAX_DELAY \ 57#define LATENCY_EVALUATION_MAX_DELAY \
58 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 1) 58 GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_HOURS, 1)
59 59
60/** 60/**
61 * Maximum frequency for re-evaluating latencies for connected addresses. 61 * Maximum frequency for re-evaluating latencies for connected addresses.
62 */ 62 */
63#define CONNECTED_LATENCY_EVALUATION_MAX_DELAY \ 63#define CONNECTED_LATENCY_EVALUATION_MAX_DELAY \
64 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 1) 64 GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 1)
65 65
66/** 66/**
67 * Similiar to GNUNET_TRANSPORT_NotifyDisconnect but in and out quotas are 67 * Similiar to GNUNET_TRANSPORT_NotifyDisconnect but in and out quotas are
@@ -88,9 +88,7 @@ GNUNET_NETWORK_STRUCT_BEGIN
88 * asking to check if both processes agree about this 88 * asking to check if both processes agree about this
89 * peers identity. 89 * peers identity.
90 */ 90 */
91struct StartMessage 91struct StartMessage {
92{
93
94 /** 92 /**
95 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_START 93 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_START
96 */ 94 */
@@ -115,24 +113,20 @@ struct StartMessage
115 * Message from the transport service to the library 113 * Message from the transport service to the library
116 * informing about neighbors. 114 * informing about neighbors.
117 */ 115 */
118struct ConnectInfoMessage 116struct ConnectInfoMessage {
119{
120
121 /** 117 /**
122 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT 118 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT
123 */ 119 */
124 struct GNUNET_MessageHeader header; 120 struct GNUNET_MessageHeader header;
125 121
126#if (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 122#if (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \
127 defined(GNUNET_TRANSPORT_CORE_VERSION)) 123 defined(GNUNET_TRANSPORT_CORE_VERSION))
128 124
129 /** 125 /**
130 * Always zero, for alignment. 126 * Always zero, for alignment.
131 */ 127 */
132 uint32_t reserved GNUNET_PACKED; 128 uint32_t reserved GNUNET_PACKED;
133
134#else 129#else
135
136 /** 130 /**
137 * Current outbound quota for this peer 131 * Current outbound quota for this peer
138 */ 132 */
@@ -150,9 +144,7 @@ struct ConnectInfoMessage
150 * Message from the transport service to the library 144 * Message from the transport service to the library
151 * informing about disconnects. 145 * informing about disconnects.
152 */ 146 */
153struct DisconnectInfoMessage 147struct DisconnectInfoMessage {
154{
155
156 /** 148 /**
157 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT 149 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT
158 */ 150 */
@@ -177,9 +169,7 @@ struct DisconnectInfoMessage
177 * 169 *
178 * NOTE: no longer used in TNG! 170 * NOTE: no longer used in TNG!
179 */ 171 */
180struct QuotaSetMessage 172struct QuotaSetMessage {
181{
182
183 /** 173 /**
184 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SET_QUOTA 174 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SET_QUOTA
185 */ 175 */
@@ -201,9 +191,7 @@ struct QuotaSetMessage
201 * Message used to notify the transport API about a message 191 * Message used to notify the transport API about a message
202 * received from the network. The actual message follows. 192 * received from the network. The actual message follows.
203 */ 193 */
204struct InboundMessage 194struct InboundMessage {
205{
206
207 /** 195 /**
208 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV 196 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV
209 */ 197 */
@@ -220,21 +208,17 @@ struct InboundMessage
220 * Message used to notify the transport API that it can 208 * Message used to notify the transport API that it can
221 * send another message to the transport service. 209 * send another message to the transport service.
222 */ 210 */
223struct SendOkMessage 211struct SendOkMessage {
224{
225
226 /** 212 /**
227 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK 213 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK
228 */ 214 */
229 struct GNUNET_MessageHeader header; 215 struct GNUNET_MessageHeader header;
230 216
231#if (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 217#if (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \
232 defined(GNUNET_TRANSPORT_CORE_VERSION)) 218 defined(GNUNET_TRANSPORT_CORE_VERSION))
233 219
234 uint32_t reserved GNUNET_PACKED; 220 uint32_t reserved GNUNET_PACKED;
235
236#else 221#else
237
238 /** 222 /**
239 * #GNUNET_OK if the transmission succeeded, 223 * #GNUNET_OK if the transmission succeeded,
240 * #GNUNET_SYSERR if it failed (i.e. network disconnect); 224 * #GNUNET_SYSERR if it failed (i.e. network disconnect);
@@ -253,7 +237,6 @@ struct SendOkMessage
253 * Includes plugin and protocol specific overheads. 237 * Includes plugin and protocol specific overheads.
254 */ 238 */
255 uint32_t bytes_physical GNUNET_PACKED; 239 uint32_t bytes_physical GNUNET_PACKED;
256
257#endif 240#endif
258 241
259 /** 242 /**
@@ -268,9 +251,7 @@ struct SendOkMessage
268 * send another message to the transport service. 251 * send another message to the transport service.
269 * (Used to implement flow control.) 252 * (Used to implement flow control.)
270 */ 253 */
271struct RecvOkMessage 254struct RecvOkMessage {
272{
273
274 /** 255 /**
275 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV_OK 256 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV_OK
276 */ 257 */
@@ -293,9 +274,7 @@ struct RecvOkMessage
293 * Message used to notify the transport service about a message 274 * Message used to notify the transport service about a message
294 * to be transmitted to another peer. The actual message follows. 275 * to be transmitted to another peer. The actual message follows.
295 */ 276 */
296struct OutboundMessage 277struct OutboundMessage {
297{
298
299 /** 278 /**
300 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND 279 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND
301 */ 280 */
@@ -306,8 +285,8 @@ struct OutboundMessage
306 */ 285 */
307 uint32_t priority GNUNET_PACKED; 286 uint32_t priority GNUNET_PACKED;
308 287
309#if ! (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 288#if !(defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \
310 defined(GNUNET_TRANSPORT_CORE_VERSION)) 289 defined(GNUNET_TRANSPORT_CORE_VERSION))
311 290
312 /** 291 /**
313 * Allowed delay. 292 * Allowed delay.
@@ -322,8 +301,8 @@ struct OutboundMessage
322}; 301};
323 302
324 303
325#if ! (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 304#if !(defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \
326 defined(GNUNET_TRANSPORT_CORE_VERSION)) 305 defined(GNUNET_TRANSPORT_CORE_VERSION))
327 306
328 307
329/** 308/**
@@ -333,9 +312,7 @@ struct OutboundMessage
333 * last message must have a @e res of #GNUNET_OK and an @e addr_len 312 * last message must have a @e res of #GNUNET_OK and an @e addr_len
334 * of zero. 313 * of zero.
335 */ 314 */
336struct AddressToStringResultMessage 315struct AddressToStringResultMessage {
337{
338
339 /** 316 /**
340 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY 317 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY
341 */ 318 */
@@ -359,9 +336,7 @@ struct AddressToStringResultMessage
359 * asking for converting a transport address to a 336 * asking for converting a transport address to a
360 * human-readable UTF-8 string. 337 * human-readable UTF-8 string.
361 */ 338 */
362struct AddressLookupMessage 339struct AddressLookupMessage {
363{
364
365 /** 340 /**
366 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING 341 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING
367 */ 342 */
@@ -398,8 +373,7 @@ struct AddressLookupMessage
398 * Memory layout: 373 * Memory layout:
399 * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]] 374 * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]]
400 */ 375 */
401struct ValidationIterateResponseMessage 376struct ValidationIterateResponseMessage {
402{
403 /** 377 /**
404 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_RESPONSE 378 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_RESPONSE
405 */ 379 */
@@ -459,8 +433,7 @@ struct ValidationIterateResponseMessage
459 * Message from the library to the transport service 433 * Message from the library to the transport service
460 * asking for binary addresses known for a peer. 434 * asking for binary addresses known for a peer.
461 */ 435 */
462struct ValidationMonitorMessage 436struct ValidationMonitorMessage {
463{
464 /** 437 /**
465 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_REQUEST 438 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_REQUEST
466 */ 439 */
@@ -482,8 +455,7 @@ struct ValidationMonitorMessage
482 * Message from the library to the transport service 455 * Message from the library to the transport service
483 * asking for binary addresses known for a peer. 456 * asking for binary addresses known for a peer.
484 */ 457 */
485struct PeerMonitorMessage 458struct PeerMonitorMessage {
486{
487 /** 459 /**
488 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_REQUEST 460 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_REQUEST
489 */ 461 */
@@ -505,8 +477,7 @@ struct PeerMonitorMessage
505 * Message from the library to the transport service 477 * Message from the library to the transport service
506 * asking for binary addresses known for a peer. 478 * asking for binary addresses known for a peer.
507 */ 479 */
508struct TrafficMetricMessage 480struct TrafficMetricMessage {
509{
510 /** 481 /**
511 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC 482 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC
512 */ 483 */
@@ -549,8 +520,7 @@ struct TrafficMetricMessage
549 * Memory layout: 520 * Memory layout:
550 * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]] 521 * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]]
551 */ 522 */
552struct PeerIterateResponseMessage 523struct PeerIterateResponseMessage {
553{
554 /** 524 /**
555 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_RESPONSE 525 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_RESPONSE
556 */ 526 */
@@ -597,9 +567,7 @@ struct PeerIterateResponseMessage
597 * Change in blacklisting (either request or notification, 567 * Change in blacklisting (either request or notification,
598 * depending on which direction it is going). 568 * depending on which direction it is going).
599 */ 569 */
600struct BlacklistMessage 570struct BlacklistMessage {
601{
602
603 /** 571 /**
604 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY or 572 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY or
605 * #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_REPLY. 573 * #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_REPLY.
@@ -622,9 +590,7 @@ struct BlacklistMessage
622/** 590/**
623 * Transport-level connection status update. 591 * Transport-level connection status update.
624 */ 592 */
625struct TransportPluginMonitorMessage 593struct TransportPluginMonitorMessage {
626{
627
628 /** 594 /**
629 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT. 595 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT.
630 */ 596 */
@@ -697,9 +663,7 @@ struct TransportPluginMonitorMessage
697 * Communicator goes online. Note which addresses it can 663 * Communicator goes online. Note which addresses it can
698 * work with. 664 * work with.
699 */ 665 */
700struct GNUNET_TRANSPORT_CommunicatorAvailableMessage 666struct GNUNET_TRANSPORT_CommunicatorAvailableMessage {
701{
702
703 /** 667 /**
704 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_NEW_COMMUNICATOR. 668 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_NEW_COMMUNICATOR.
705 */ 669 */
@@ -717,9 +681,7 @@ struct GNUNET_TRANSPORT_CommunicatorAvailableMessage
717/** 681/**
718 * Add address to the list. 682 * Add address to the list.
719 */ 683 */
720struct GNUNET_TRANSPORT_AddAddressMessage 684struct GNUNET_TRANSPORT_AddAddressMessage {
721{
722
723 /** 685 /**
724 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADD_ADDRESS. 686 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADD_ADDRESS.
725 */ 687 */
@@ -747,9 +709,7 @@ struct GNUNET_TRANSPORT_AddAddressMessage
747/** 709/**
748 * Remove address from the list. 710 * Remove address from the list.
749 */ 711 */
750struct GNUNET_TRANSPORT_DelAddressMessage 712struct GNUNET_TRANSPORT_DelAddressMessage {
751{
752
753 /** 713 /**
754 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DEL_ADDRESS. 714 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DEL_ADDRESS.
755 */ 715 */
@@ -765,9 +725,7 @@ struct GNUNET_TRANSPORT_DelAddressMessage
765/** 725/**
766 * Inform transport about an incoming message. 726 * Inform transport about an incoming message.
767 */ 727 */
768struct GNUNET_TRANSPORT_IncomingMessage 728struct GNUNET_TRANSPORT_IncomingMessage {
769{
770
771 /** 729 /**
772 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG. 730 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG.
773 */ 731 */
@@ -802,9 +760,7 @@ struct GNUNET_TRANSPORT_IncomingMessage
802 * Transport informs us about being done with an incoming message. 760 * Transport informs us about being done with an incoming message.
803 * (only sent if fc_on was set). 761 * (only sent if fc_on was set).
804 */ 762 */
805struct GNUNET_TRANSPORT_IncomingMessageAck 763struct GNUNET_TRANSPORT_IncomingMessageAck {
806{
807
808 /** 764 /**
809 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG_ACK. 765 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG_ACK.
810 */ 766 */
@@ -830,9 +786,7 @@ struct GNUNET_TRANSPORT_IncomingMessageAck
830/** 786/**
831 * Add queue to the transport 787 * Add queue to the transport
832 */ 788 */
833struct GNUNET_TRANSPORT_AddQueueMessage 789struct GNUNET_TRANSPORT_AddQueueMessage {
834{
835
836 /** 790 /**
837 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_SETUP. 791 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_SETUP.
838 */ 792 */
@@ -870,9 +824,7 @@ struct GNUNET_TRANSPORT_AddQueueMessage
870/** 824/**
871 * Remove queue, it is no longer available. 825 * Remove queue, it is no longer available.
872 */ 826 */
873struct GNUNET_TRANSPORT_DelQueueMessage 827struct GNUNET_TRANSPORT_DelQueueMessage {
874{
875
876 /** 828 /**
877 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_TEARDOWN. 829 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_TEARDOWN.
878 */ 830 */
@@ -893,9 +845,7 @@ struct GNUNET_TRANSPORT_DelQueueMessage
893/** 845/**
894 * Transport tells communicator that it wants a new queue. 846 * Transport tells communicator that it wants a new queue.
895 */ 847 */
896struct GNUNET_TRANSPORT_CreateQueue 848struct GNUNET_TRANSPORT_CreateQueue {
897{
898
899 /** 849 /**
900 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE. 850 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE.
901 */ 851 */
@@ -918,9 +868,7 @@ struct GNUNET_TRANSPORT_CreateQueue
918/** 868/**
919 * Communicator tells transport how queue creation went down. 869 * Communicator tells transport how queue creation went down.
920 */ 870 */
921struct GNUNET_TRANSPORT_CreateQueueResponse 871struct GNUNET_TRANSPORT_CreateQueueResponse {
922{
923
924 /** 872 /**
925 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_OK or 873 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_OK or
926 * #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_FAIL. 874 * #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_FAIL.
@@ -937,9 +885,7 @@ struct GNUNET_TRANSPORT_CreateQueueResponse
937/** 885/**
938 * Inform communicator about transport's desire to send a message. 886 * Inform communicator about transport's desire to send a message.
939 */ 887 */
940struct GNUNET_TRANSPORT_SendMessageTo 888struct GNUNET_TRANSPORT_SendMessageTo {
941{
942
943 /** 889 /**
944 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG. 890 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG.
945 */ 891 */
@@ -967,9 +913,7 @@ struct GNUNET_TRANSPORT_SendMessageTo
967/** 913/**
968 * Inform transport that message was sent. 914 * Inform transport that message was sent.
969 */ 915 */
970struct GNUNET_TRANSPORT_SendMessageToAck 916struct GNUNET_TRANSPORT_SendMessageToAck {
971{
972
973 /** 917 /**
974 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG_ACK. 918 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG_ACK.
975 */ 919 */
@@ -997,8 +941,7 @@ struct GNUNET_TRANSPORT_SendMessageToAck
997 * transmission of a backchannel message with the given peer @e pid 941 * transmission of a backchannel message with the given peer @e pid
998 * and communicator. 942 * and communicator.
999 */ 943 */
1000struct GNUNET_TRANSPORT_CommunicatorBackchannel 944struct GNUNET_TRANSPORT_CommunicatorBackchannel {
1001{
1002 /** 945 /**
1003 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL 946 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL
1004 */ 947 */
@@ -1026,8 +969,7 @@ struct GNUNET_TRANSPORT_CommunicatorBackchannel
1026 * Message from transport to communicator passing along a backchannel 969 * Message from transport to communicator passing along a backchannel
1027 * message from the given peer @e pid. 970 * message from the given peer @e pid.
1028 */ 971 */
1029struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming 972struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming {
1030{
1031 /** 973 /**
1032 * Type will be 974 * Type will be
1033 * #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING 975 * #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING
@@ -1052,9 +994,7 @@ struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming
1052/** 994/**
1053 * Request to start monitoring. 995 * Request to start monitoring.
1054 */ 996 */
1055struct GNUNET_TRANSPORT_MonitorStart 997struct GNUNET_TRANSPORT_MonitorStart {
1056{
1057
1058 /** 998 /**
1059 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_START. 999 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_START.
1060 */ 1000 */
@@ -1075,9 +1015,7 @@ struct GNUNET_TRANSPORT_MonitorStart
1075/** 1015/**
1076 * Monitoring data. 1016 * Monitoring data.
1077 */ 1017 */
1078struct GNUNET_TRANSPORT_MonitorData 1018struct GNUNET_TRANSPORT_MonitorData {
1079{
1080
1081 /** 1019 /**
1082 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_DATA. 1020 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_DATA.
1083 */ 1021 */
@@ -1127,9 +1065,7 @@ struct GNUNET_TRANSPORT_MonitorData
1127/** 1065/**
1128 * Request to verify address. 1066 * Request to verify address.
1129 */ 1067 */
1130struct GNUNET_TRANSPORT_AddressToVerify 1068struct GNUNET_TRANSPORT_AddressToVerify {
1131{
1132
1133 /** 1069 /**
1134 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_CONSIDER_VERIFY. 1070 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_CONSIDER_VERIFY.
1135 */ 1071 */
@@ -1153,8 +1089,7 @@ struct GNUNET_TRANSPORT_AddressToVerify
1153 * Application client to TRANSPORT service: we would like to have 1089 * Application client to TRANSPORT service: we would like to have
1154 * address suggestions for this peer. 1090 * address suggestions for this peer.
1155 */ 1091 */
1156struct ExpressPreferenceMessage 1092struct ExpressPreferenceMessage {
1157{
1158 /** 1093 /**
1159 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST or 1094 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST or
1160 * #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST_CANCEL to stop 1095 * #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST_CANCEL to stop
@@ -1184,9 +1119,7 @@ struct ExpressPreferenceMessage
1184 * We got an address of another peer, TRANSPORT service 1119 * We got an address of another peer, TRANSPORT service
1185 * should validate it. There is no response. 1120 * should validate it. There is no response.
1186 */ 1121 */
1187struct RequestHelloValidationMessage 1122struct RequestHelloValidationMessage {
1188{
1189
1190 /** 1123 /**
1191 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_HELLO_VALIDATION. 1124 * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_HELLO_VALIDATION.
1192 */ 1125 */