diff options
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 113 |
1 files changed, 74 insertions, 39 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index 7e2fd4739..36182d8d7 100644 --- a/src/transport/transport.h +++ b/src/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,7 +88,8 @@ 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 | */ |
91 | struct StartMessage { | 91 | struct StartMessage |
92 | { | ||
92 | /** | 93 | /** |
93 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_START | 94 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_START |
94 | */ | 95 | */ |
@@ -113,7 +114,8 @@ struct StartMessage { | |||
113 | * Message from the transport service to the library | 114 | * Message from the transport service to the library |
114 | * informing about neighbors. | 115 | * informing about neighbors. |
115 | */ | 116 | */ |
116 | struct ConnectInfoMessage { | 117 | struct ConnectInfoMessage |
118 | { | ||
117 | /** | 119 | /** |
118 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT | 120 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT |
119 | */ | 121 | */ |
@@ -144,7 +146,8 @@ struct ConnectInfoMessage { | |||
144 | * Message from the transport service to the library | 146 | * Message from the transport service to the library |
145 | * informing about disconnects. | 147 | * informing about disconnects. |
146 | */ | 148 | */ |
147 | struct DisconnectInfoMessage { | 149 | struct DisconnectInfoMessage |
150 | { | ||
148 | /** | 151 | /** |
149 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT | 152 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT |
150 | */ | 153 | */ |
@@ -169,7 +172,8 @@ struct DisconnectInfoMessage { | |||
169 | * | 172 | * |
170 | * NOTE: no longer used in TNG! | 173 | * NOTE: no longer used in TNG! |
171 | */ | 174 | */ |
172 | struct QuotaSetMessage { | 175 | struct QuotaSetMessage |
176 | { | ||
173 | /** | 177 | /** |
174 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SET_QUOTA | 178 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SET_QUOTA |
175 | */ | 179 | */ |
@@ -191,7 +195,8 @@ struct QuotaSetMessage { | |||
191 | * Message used to notify the transport API about a message | 195 | * Message used to notify the transport API about a message |
192 | * received from the network. The actual message follows. | 196 | * received from the network. The actual message follows. |
193 | */ | 197 | */ |
194 | struct InboundMessage { | 198 | struct InboundMessage |
199 | { | ||
195 | /** | 200 | /** |
196 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV | 201 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV |
197 | */ | 202 | */ |
@@ -208,7 +213,8 @@ struct InboundMessage { | |||
208 | * Message used to notify the transport API that it can | 213 | * Message used to notify the transport API that it can |
209 | * send another message to the transport service. | 214 | * send another message to the transport service. |
210 | */ | 215 | */ |
211 | struct SendOkMessage { | 216 | struct SendOkMessage |
217 | { | ||
212 | /** | 218 | /** |
213 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK | 219 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK |
214 | */ | 220 | */ |
@@ -251,7 +257,8 @@ struct SendOkMessage { | |||
251 | * send another message to the transport service. | 257 | * send another message to the transport service. |
252 | * (Used to implement flow control.) | 258 | * (Used to implement flow control.) |
253 | */ | 259 | */ |
254 | struct RecvOkMessage { | 260 | struct RecvOkMessage |
261 | { | ||
255 | /** | 262 | /** |
256 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV_OK | 263 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_RECV_OK |
257 | */ | 264 | */ |
@@ -274,7 +281,8 @@ struct RecvOkMessage { | |||
274 | * Message used to notify the transport service about a message | 281 | * Message used to notify the transport service about a message |
275 | * to be transmitted to another peer. The actual message follows. | 282 | * to be transmitted to another peer. The actual message follows. |
276 | */ | 283 | */ |
277 | struct OutboundMessage { | 284 | struct OutboundMessage |
285 | { | ||
278 | /** | 286 | /** |
279 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND | 287 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND |
280 | */ | 288 | */ |
@@ -285,7 +293,7 @@ struct OutboundMessage { | |||
285 | */ | 293 | */ |
286 | uint32_t priority GNUNET_PACKED; | 294 | uint32_t priority GNUNET_PACKED; |
287 | 295 | ||
288 | #if !(defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ | 296 | #if ! (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ |
289 | defined(GNUNET_TRANSPORT_CORE_VERSION)) | 297 | defined(GNUNET_TRANSPORT_CORE_VERSION)) |
290 | 298 | ||
291 | /** | 299 | /** |
@@ -301,7 +309,7 @@ struct OutboundMessage { | |||
301 | }; | 309 | }; |
302 | 310 | ||
303 | 311 | ||
304 | #if !(defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ | 312 | #if ! (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ |
305 | defined(GNUNET_TRANSPORT_CORE_VERSION)) | 313 | defined(GNUNET_TRANSPORT_CORE_VERSION)) |
306 | 314 | ||
307 | 315 | ||
@@ -312,7 +320,8 @@ struct OutboundMessage { | |||
312 | * last message must have a @e res of #GNUNET_OK and an @e addr_len | 320 | * last message must have a @e res of #GNUNET_OK and an @e addr_len |
313 | * of zero. | 321 | * of zero. |
314 | */ | 322 | */ |
315 | struct AddressToStringResultMessage { | 323 | struct AddressToStringResultMessage |
324 | { | ||
316 | /** | 325 | /** |
317 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY | 326 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY |
318 | */ | 327 | */ |
@@ -336,7 +345,8 @@ struct AddressToStringResultMessage { | |||
336 | * asking for converting a transport address to a | 345 | * asking for converting a transport address to a |
337 | * human-readable UTF-8 string. | 346 | * human-readable UTF-8 string. |
338 | */ | 347 | */ |
339 | struct AddressLookupMessage { | 348 | struct AddressLookupMessage |
349 | { | ||
340 | /** | 350 | /** |
341 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING | 351 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING |
342 | */ | 352 | */ |
@@ -373,7 +383,8 @@ struct AddressLookupMessage { | |||
373 | * Memory layout: | 383 | * Memory layout: |
374 | * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]] | 384 | * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]] |
375 | */ | 385 | */ |
376 | struct ValidationIterateResponseMessage { | 386 | struct ValidationIterateResponseMessage |
387 | { | ||
377 | /** | 388 | /** |
378 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_RESPONSE | 389 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_RESPONSE |
379 | */ | 390 | */ |
@@ -433,7 +444,8 @@ struct ValidationIterateResponseMessage { | |||
433 | * Message from the library to the transport service | 444 | * Message from the library to the transport service |
434 | * asking for binary addresses known for a peer. | 445 | * asking for binary addresses known for a peer. |
435 | */ | 446 | */ |
436 | struct ValidationMonitorMessage { | 447 | struct ValidationMonitorMessage |
448 | { | ||
437 | /** | 449 | /** |
438 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_REQUEST | 450 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_VALIDATION_REQUEST |
439 | */ | 451 | */ |
@@ -455,7 +467,8 @@ struct ValidationMonitorMessage { | |||
455 | * Message from the library to the transport service | 467 | * Message from the library to the transport service |
456 | * asking for binary addresses known for a peer. | 468 | * asking for binary addresses known for a peer. |
457 | */ | 469 | */ |
458 | struct PeerMonitorMessage { | 470 | struct PeerMonitorMessage |
471 | { | ||
459 | /** | 472 | /** |
460 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_REQUEST | 473 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_REQUEST |
461 | */ | 474 | */ |
@@ -477,7 +490,8 @@ struct PeerMonitorMessage { | |||
477 | * Message from the library to the transport service | 490 | * Message from the library to the transport service |
478 | * asking for binary addresses known for a peer. | 491 | * asking for binary addresses known for a peer. |
479 | */ | 492 | */ |
480 | struct TrafficMetricMessage { | 493 | struct TrafficMetricMessage |
494 | { | ||
481 | /** | 495 | /** |
482 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC | 496 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC |
483 | */ | 497 | */ |
@@ -520,7 +534,8 @@ struct TrafficMetricMessage { | |||
520 | * Memory layout: | 534 | * Memory layout: |
521 | * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]] | 535 | * [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]] |
522 | */ | 536 | */ |
523 | struct PeerIterateResponseMessage { | 537 | struct PeerIterateResponseMessage |
538 | { | ||
524 | /** | 539 | /** |
525 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_RESPONSE | 540 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_RESPONSE |
526 | */ | 541 | */ |
@@ -567,7 +582,8 @@ struct PeerIterateResponseMessage { | |||
567 | * Change in blacklisting (either request or notification, | 582 | * Change in blacklisting (either request or notification, |
568 | * depending on which direction it is going). | 583 | * depending on which direction it is going). |
569 | */ | 584 | */ |
570 | struct BlacklistMessage { | 585 | struct BlacklistMessage |
586 | { | ||
571 | /** | 587 | /** |
572 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY or | 588 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY or |
573 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_REPLY. | 589 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_REPLY. |
@@ -590,7 +606,8 @@ struct BlacklistMessage { | |||
590 | /** | 606 | /** |
591 | * Transport-level connection status update. | 607 | * Transport-level connection status update. |
592 | */ | 608 | */ |
593 | struct TransportPluginMonitorMessage { | 609 | struct TransportPluginMonitorMessage |
610 | { | ||
594 | /** | 611 | /** |
595 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT. | 612 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT. |
596 | */ | 613 | */ |
@@ -663,7 +680,8 @@ struct TransportPluginMonitorMessage { | |||
663 | * Communicator goes online. Note which addresses it can | 680 | * Communicator goes online. Note which addresses it can |
664 | * work with. | 681 | * work with. |
665 | */ | 682 | */ |
666 | struct GNUNET_TRANSPORT_CommunicatorAvailableMessage { | 683 | struct GNUNET_TRANSPORT_CommunicatorAvailableMessage |
684 | { | ||
667 | /** | 685 | /** |
668 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_NEW_COMMUNICATOR. | 686 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_NEW_COMMUNICATOR. |
669 | */ | 687 | */ |
@@ -681,7 +699,8 @@ struct GNUNET_TRANSPORT_CommunicatorAvailableMessage { | |||
681 | /** | 699 | /** |
682 | * Add address to the list. | 700 | * Add address to the list. |
683 | */ | 701 | */ |
684 | struct GNUNET_TRANSPORT_AddAddressMessage { | 702 | struct GNUNET_TRANSPORT_AddAddressMessage |
703 | { | ||
685 | /** | 704 | /** |
686 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADD_ADDRESS. | 705 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADD_ADDRESS. |
687 | */ | 706 | */ |
@@ -709,7 +728,8 @@ struct GNUNET_TRANSPORT_AddAddressMessage { | |||
709 | /** | 728 | /** |
710 | * Remove address from the list. | 729 | * Remove address from the list. |
711 | */ | 730 | */ |
712 | struct GNUNET_TRANSPORT_DelAddressMessage { | 731 | struct GNUNET_TRANSPORT_DelAddressMessage |
732 | { | ||
713 | /** | 733 | /** |
714 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DEL_ADDRESS. | 734 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DEL_ADDRESS. |
715 | */ | 735 | */ |
@@ -725,7 +745,8 @@ struct GNUNET_TRANSPORT_DelAddressMessage { | |||
725 | /** | 745 | /** |
726 | * Inform transport about an incoming message. | 746 | * Inform transport about an incoming message. |
727 | */ | 747 | */ |
728 | struct GNUNET_TRANSPORT_IncomingMessage { | 748 | struct GNUNET_TRANSPORT_IncomingMessage |
749 | { | ||
729 | /** | 750 | /** |
730 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG. | 751 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG. |
731 | */ | 752 | */ |
@@ -760,7 +781,8 @@ struct GNUNET_TRANSPORT_IncomingMessage { | |||
760 | * Transport informs us about being done with an incoming message. | 781 | * Transport informs us about being done with an incoming message. |
761 | * (only sent if fc_on was set). | 782 | * (only sent if fc_on was set). |
762 | */ | 783 | */ |
763 | struct GNUNET_TRANSPORT_IncomingMessageAck { | 784 | struct GNUNET_TRANSPORT_IncomingMessageAck |
785 | { | ||
764 | /** | 786 | /** |
765 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG_ACK. | 787 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_INCOMING_MSG_ACK. |
766 | */ | 788 | */ |
@@ -786,7 +808,8 @@ struct GNUNET_TRANSPORT_IncomingMessageAck { | |||
786 | /** | 808 | /** |
787 | * Add queue to the transport | 809 | * Add queue to the transport |
788 | */ | 810 | */ |
789 | struct GNUNET_TRANSPORT_AddQueueMessage { | 811 | struct GNUNET_TRANSPORT_AddQueueMessage |
812 | { | ||
790 | /** | 813 | /** |
791 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_SETUP. | 814 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_SETUP. |
792 | */ | 815 | */ |
@@ -824,7 +847,8 @@ struct GNUNET_TRANSPORT_AddQueueMessage { | |||
824 | /** | 847 | /** |
825 | * Remove queue, it is no longer available. | 848 | * Remove queue, it is no longer available. |
826 | */ | 849 | */ |
827 | struct GNUNET_TRANSPORT_DelQueueMessage { | 850 | struct GNUNET_TRANSPORT_DelQueueMessage |
851 | { | ||
828 | /** | 852 | /** |
829 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_TEARDOWN. | 853 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_TEARDOWN. |
830 | */ | 854 | */ |
@@ -845,7 +869,8 @@ struct GNUNET_TRANSPORT_DelQueueMessage { | |||
845 | /** | 869 | /** |
846 | * Transport tells communicator that it wants a new queue. | 870 | * Transport tells communicator that it wants a new queue. |
847 | */ | 871 | */ |
848 | struct GNUNET_TRANSPORT_CreateQueue { | 872 | struct GNUNET_TRANSPORT_CreateQueue |
873 | { | ||
849 | /** | 874 | /** |
850 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE. | 875 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE. |
851 | */ | 876 | */ |
@@ -868,7 +893,8 @@ struct GNUNET_TRANSPORT_CreateQueue { | |||
868 | /** | 893 | /** |
869 | * Communicator tells transport how queue creation went down. | 894 | * Communicator tells transport how queue creation went down. |
870 | */ | 895 | */ |
871 | struct GNUNET_TRANSPORT_CreateQueueResponse { | 896 | struct GNUNET_TRANSPORT_CreateQueueResponse |
897 | { | ||
872 | /** | 898 | /** |
873 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_OK or | 899 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_OK or |
874 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_FAIL. | 900 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_FAIL. |
@@ -885,7 +911,8 @@ struct GNUNET_TRANSPORT_CreateQueueResponse { | |||
885 | /** | 911 | /** |
886 | * Inform communicator about transport's desire to send a message. | 912 | * Inform communicator about transport's desire to send a message. |
887 | */ | 913 | */ |
888 | struct GNUNET_TRANSPORT_SendMessageTo { | 914 | struct GNUNET_TRANSPORT_SendMessageTo |
915 | { | ||
889 | /** | 916 | /** |
890 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG. | 917 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG. |
891 | */ | 918 | */ |
@@ -913,7 +940,8 @@ struct GNUNET_TRANSPORT_SendMessageTo { | |||
913 | /** | 940 | /** |
914 | * Inform transport that message was sent. | 941 | * Inform transport that message was sent. |
915 | */ | 942 | */ |
916 | struct GNUNET_TRANSPORT_SendMessageToAck { | 943 | struct GNUNET_TRANSPORT_SendMessageToAck |
944 | { | ||
917 | /** | 945 | /** |
918 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG_ACK. | 946 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_MSG_ACK. |
919 | */ | 947 | */ |
@@ -941,7 +969,8 @@ struct GNUNET_TRANSPORT_SendMessageToAck { | |||
941 | * transmission of a backchannel message with the given peer @e pid | 969 | * transmission of a backchannel message with the given peer @e pid |
942 | * and communicator. | 970 | * and communicator. |
943 | */ | 971 | */ |
944 | struct GNUNET_TRANSPORT_CommunicatorBackchannel { | 972 | struct GNUNET_TRANSPORT_CommunicatorBackchannel |
973 | { | ||
945 | /** | 974 | /** |
946 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL | 975 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL |
947 | */ | 976 | */ |
@@ -969,7 +998,8 @@ struct GNUNET_TRANSPORT_CommunicatorBackchannel { | |||
969 | * Message from transport to communicator passing along a backchannel | 998 | * Message from transport to communicator passing along a backchannel |
970 | * message from the given peer @e pid. | 999 | * message from the given peer @e pid. |
971 | */ | 1000 | */ |
972 | struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming { | 1001 | struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming |
1002 | { | ||
973 | /** | 1003 | /** |
974 | * Type will be | 1004 | * Type will be |
975 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING | 1005 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING |
@@ -994,7 +1024,8 @@ struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming { | |||
994 | /** | 1024 | /** |
995 | * Request to start monitoring. | 1025 | * Request to start monitoring. |
996 | */ | 1026 | */ |
997 | struct GNUNET_TRANSPORT_MonitorStart { | 1027 | struct GNUNET_TRANSPORT_MonitorStart |
1028 | { | ||
998 | /** | 1029 | /** |
999 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_START. | 1030 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_START. |
1000 | */ | 1031 | */ |
@@ -1015,7 +1046,8 @@ struct GNUNET_TRANSPORT_MonitorStart { | |||
1015 | /** | 1046 | /** |
1016 | * Monitoring data. | 1047 | * Monitoring data. |
1017 | */ | 1048 | */ |
1018 | struct GNUNET_TRANSPORT_MonitorData { | 1049 | struct GNUNET_TRANSPORT_MonitorData |
1050 | { | ||
1019 | /** | 1051 | /** |
1020 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_DATA. | 1052 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_DATA. |
1021 | */ | 1053 | */ |
@@ -1065,7 +1097,8 @@ struct GNUNET_TRANSPORT_MonitorData { | |||
1065 | /** | 1097 | /** |
1066 | * Request to verify address. | 1098 | * Request to verify address. |
1067 | */ | 1099 | */ |
1068 | struct GNUNET_TRANSPORT_AddressToVerify { | 1100 | struct GNUNET_TRANSPORT_AddressToVerify |
1101 | { | ||
1069 | /** | 1102 | /** |
1070 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_CONSIDER_VERIFY. | 1103 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_CONSIDER_VERIFY. |
1071 | */ | 1104 | */ |
@@ -1089,7 +1122,8 @@ struct GNUNET_TRANSPORT_AddressToVerify { | |||
1089 | * Application client to TRANSPORT service: we would like to have | 1122 | * Application client to TRANSPORT service: we would like to have |
1090 | * address suggestions for this peer. | 1123 | * address suggestions for this peer. |
1091 | */ | 1124 | */ |
1092 | struct ExpressPreferenceMessage { | 1125 | struct ExpressPreferenceMessage |
1126 | { | ||
1093 | /** | 1127 | /** |
1094 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST or | 1128 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST or |
1095 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST_CANCEL to stop | 1129 | * #GNUNET_MESSAGE_TYPE_TRANSPORT_SUGGEST_CANCEL to stop |
@@ -1119,7 +1153,8 @@ struct ExpressPreferenceMessage { | |||
1119 | * We got an address of another peer, TRANSPORT service | 1153 | * We got an address of another peer, TRANSPORT service |
1120 | * should validate it. There is no response. | 1154 | * should validate it. There is no response. |
1121 | */ | 1155 | */ |
1122 | struct RequestHelloValidationMessage { | 1156 | struct RequestHelloValidationMessage |
1157 | { | ||
1123 | /** | 1158 | /** |
1124 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_HELLO_VALIDATION. | 1159 | * Type is #GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_HELLO_VALIDATION. |
1125 | */ | 1160 | */ |