aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-07-17 09:47:51 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-07-17 09:47:51 +0000
commit615d5aef87f985e4c489fac6c6d6232d35f8b0c2 (patch)
tree82eb29b40821ee0a5405737ac2d9f0428c6c2619 /src/ats/gnunet-service-ats_addresses.h
parent6053799e5d05b8d5c6c664b66e48f367b3dd6578 (diff)
downloadgnunet-615d5aef87f985e4c489fac6c6d6232d35f8b0c2.tar.gz
gnunet-615d5aef87f985e4c489fac6c6d6232d35f8b0c2.zip
do not use NBO internally
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r--src/ats/gnunet-service-ats_addresses.h31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h
index d6e8b0e10..a1f9e69d5 100644
--- a/src/ats/gnunet-service-ats_addresses.h
+++ b/src/ats/gnunet-service-ats_addresses.h
@@ -309,24 +309,24 @@ struct ATS_Address
309 struct GNUNET_PeerIdentity peer; 309 struct GNUNET_PeerIdentity peer;
310 310
311 /** 311 /**
312 * Session ID, can be 0 312 * Address
313 */ 313 */
314 uint32_t session_id; 314 const void *addr;
315 315
316 /** 316 /**
317 * FIXME 317 * Address length
318 */ 318 */
319 uint32_t local_address_info; 319 size_t addr_len;
320 320
321 /** 321 /**
322 * Address 322 * Session ID, can be 0
323 */ 323 */
324 const void *addr; 324 uint32_t session_id;
325 325
326 /** 326 /**
327 * Address length 327 * Field to store local flags
328 */ 328 */
329 size_t addr_len; 329 uint32_t local_address_info;
330 330
331 /** 331 /**
332 * Plugin name 332 * Plugin name
@@ -349,14 +349,25 @@ struct ATS_Address
349 uint32_t atsi_count; 349 uint32_t atsi_count;
350 350
351 /** 351 /**
352 * Inbound bandwidth assigned by solver
353 */
354 uint32_t assigned_bw_in;
355
356 /**
357 * Outbound bandwidth assigned by solver
358 */
359 uint32_t assigned_bw_out;
360
361 /**
352 * Inbound bandwidth assigned by solver in NBO 362 * Inbound bandwidth assigned by solver in NBO
353 */ 363 */
354 struct GNUNET_BANDWIDTH_Value32NBO assigned_bw_in; 364 uint32_t last_notified_bw_in;
355 365
356 /** 366 /**
357 * Outbound bandwidth assigned by solver in NBO 367 * Outbound bandwidth assigned by solver in NBO
358 */ 368 */
359 struct GNUNET_BANDWIDTH_Value32NBO assigned_bw_out; 369 uint32_t last_notified_bw_out;
370
360 371
361 /** 372 /**
362 * Blocking interval 373 * Blocking interval