summaryrefslogtreecommitdiff
path: root/src/ats/ats2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/ats2.h')
-rw-r--r--src/ats/ats2.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/ats/ats2.h b/src/ats/ats2.h
index 723a8440d..df402dba2 100644
--- a/src/ats/ats2.h
+++ b/src/ats/ats2.h
@@ -36,7 +36,8 @@ GNUNET_NETWORK_STRUCT_BEGIN
36/** 36/**
37 * ATS performance characteristics for an address. 37 * ATS performance characteristics for an address.
38 */ 38 */
39struct PropertiesNBO { 39struct PropertiesNBO
40{
40 /** 41 /**
41 * Delay. Time between when the time packet is sent and the packet 42 * Delay. Time between when the time packet is sent and the packet
42 * arrives. FOREVER if we did not (successfully) measure yet. 43 * arrives. FOREVER if we did not (successfully) measure yet.
@@ -106,7 +107,8 @@ struct PropertiesNBO {
106 * Application client to ATS service: we would like to have 107 * Application client to ATS service: we would like to have
107 * address suggestions for this peer. 108 * address suggestions for this peer.
108 */ 109 */
109struct ExpressPreferenceMessage { 110struct ExpressPreferenceMessage
111{
110 /** 112 /**
111 * Type is #GNUNET_MESSAGE_TYPE_ATS_SUGGEST or 113 * Type is #GNUNET_MESSAGE_TYPE_ATS_SUGGEST or
112 * #GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL to stop 114 * #GNUNET_MESSAGE_TYPE_ATS_SUGGEST_CANCEL to stop
@@ -135,7 +137,8 @@ struct ExpressPreferenceMessage {
135/** 137/**
136 * Transport client to ATS service: here is another session you can use. 138 * Transport client to ATS service: here is another session you can use.
137 */ 139 */
138struct SessionAddMessage { 140struct SessionAddMessage
141{
139 /** 142 /**
140 * Type is #GNUNET_MESSAGE_TYPE_ATS_SESSION_ADD or 143 * Type is #GNUNET_MESSAGE_TYPE_ATS_SESSION_ADD or
141 * #GNUNET_MESSAGE_TYPE_ATS_SESSION_ADD_INBOUND_ONLY 144 * #GNUNET_MESSAGE_TYPE_ATS_SESSION_ADD_INBOUND_ONLY
@@ -168,7 +171,8 @@ struct SessionAddMessage {
168 * Message used to notify ATS that the performance 171 * Message used to notify ATS that the performance
169 * characteristics for an session have changed. 172 * characteristics for an session have changed.
170 */ 173 */
171struct SessionUpdateMessage { 174struct SessionUpdateMessage
175{
172 /** 176 /**
173 * Message of type #GNUNET_MESSAGE_TYPE_ATS_SESSION_UPDATE. 177 * Message of type #GNUNET_MESSAGE_TYPE_ATS_SESSION_UPDATE.
174 */ 178 */
@@ -198,7 +202,8 @@ struct SessionUpdateMessage {
198 * was destroyed and must thus henceforth no longer be considered 202 * was destroyed and must thus henceforth no longer be considered
199 * for scheduling. 203 * for scheduling.
200 */ 204 */
201struct SessionDelMessage { 205struct SessionDelMessage
206{
202 /** 207 /**
203 * Type is #GNUNET_MESSAGE_TYPE_ATS_SESSION_DEL. 208 * Type is #GNUNET_MESSAGE_TYPE_ATS_SESSION_DEL.
204 */ 209 */
@@ -223,7 +228,8 @@ struct SessionDelMessage {
223 * identified by the given @e session_id for the given @e peer with 228 * identified by the given @e session_id for the given @e peer with
224 * the given @e bandwidth_in and @e bandwidth_out limits from now on. 229 * the given @e bandwidth_in and @e bandwidth_out limits from now on.
225 */ 230 */
226struct SessionAllocationMessage { 231struct SessionAllocationMessage
232{
227 /** 233 /**
228 * A message of type #GNUNET_MESSAGE_TYPE_ATS_SESSION_ALLOCATION. 234 * A message of type #GNUNET_MESSAGE_TYPE_ATS_SESSION_ALLOCATION.
229 */ 235 */
@@ -258,7 +264,8 @@ struct SessionAllocationMessage {
258 * ATS Service suggests to the transport service to try the address 264 * ATS Service suggests to the transport service to try the address
259 * for the given @e peer. 265 * for the given @e peer.
260 */ 266 */
261struct AddressSuggestionMessage { 267struct AddressSuggestionMessage
268{
262 /** 269 /**
263 * A message of type #GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION. 270 * A message of type #GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION.
264 */ 271 */