aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-22 15:04:17 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-22 15:04:17 +0000
commit8d5551b3b718683d369bf343cb9cdb33c06d5906 (patch)
treec13f539ece60aca48985087c847fc5b3b698a3d2 /src/ats/gnunet-service-ats_addresses.h
parent8aea11bce3118cc01c66d3afb5c2ec02b766c95c (diff)
downloadgnunet-8d5551b3b718683d369bf343cb9cdb33c06d5906.tar.gz
gnunet-8d5551b3b718683d369bf343cb9cdb33c06d5906.zip
-do pass local_address_info flag from/to ATS also for performance monitor
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r--src/ats/gnunet-service-ats_addresses.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h
index 072a3d078..b422b08db 100644
--- a/src/ats/gnunet-service-ats_addresses.h
+++ b/src/ats/gnunet-service-ats_addresses.h
@@ -301,9 +301,8 @@ struct ATS_Address
301 301
302 /** 302 /**
303 * Field to store local flags. 303 * Field to store local flags.
304 * FIXME: `enum GNUNET_HELLO_AddressInfo`?
305 */ 304 */
306 uint32_t local_address_info; 305 enum GNUNET_HELLO_AddressInfo local_address_info;
307 306
308 /** 307 /**
309 * ATS performance information for this address, size of the @e atsi array. 308 * ATS performance information for this address, size of the @e atsi array.
@@ -443,6 +442,7 @@ GAS_addresses_destroy_all (void);
443 * @param plugin_addr_len length of @a plugin_addr 442 * @param plugin_addr_len length of @a plugin_addr
444 * @param address_active is address actively used 443 * @param address_active is address actively used
445 * @param atsi ats performance information 444 * @param atsi ats performance information
445 * @param local_address_info flags for the address
446 * @param bandwidth_out current outbound bandwidth assigned to address 446 * @param bandwidth_out current outbound bandwidth assigned to address
447 * @param bandwidth_in current inbound bandwidth assigned to address 447 * @param bandwidth_in current inbound bandwidth assigned to address
448 */ 448 */
@@ -454,6 +454,7 @@ typedef void
454 size_t plugin_addr_len, 454 size_t plugin_addr_len,
455 const int address_active, 455 const int address_active,
456 const struct GNUNET_ATS_Properties *prop, 456 const struct GNUNET_ATS_Properties *prop,
457 enum GNUNET_HELLO_AddressInfo local_address_info,
457 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 458 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
458 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); 459 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in);
459 460