Address with additional information. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/ats/gnunet-service-ats_addresses.h>
Data Fields | |
struct GNUNET_PeerIdentity | peer |
Peer ID this address is for. More... | |
const void * | addr |
Address (in plugin-specific binary format). More... | |
char * | plugin |
Plugin name. More... | |
void * | solver_information |
Solver-specific information for this address. More... | |
struct GNUNET_ATS_Properties | properties |
ATS performance information for this address. More... | |
struct GNUNET_TIME_Absolute | t_last_activity |
Time when address had last activity (update, in uses) More... | |
struct GNUNET_TIME_Absolute | t_added |
Time when address was added. More... | |
size_t | addr_len |
Address length, number of bytes in addr. More... | |
uint32_t | session_id |
Session ID, can never be 0. More... | |
enum GNUNET_HELLO_AddressInfo | local_address_info |
Field to store local flags. More... | |
uint32_t | atsi_count |
ATS performance information for this address, size of the atsi array. More... | |
uint32_t | assigned_bw_in |
Inbound bandwidth assigned by solver. More... | |
uint32_t | assigned_bw_out |
Outbound bandwidth assigned by solver. More... | |
uint32_t | last_notified_bw_in |
Inbound bandwidth assigned by solver in NBO. More... | |
uint32_t | last_notified_bw_out |
Outbound bandwidth assigned by solver in NBO. More... | |
int | active |
Is this the active address for this peer? More... | |
struct GAS_NormalizationInfo | norm_delay |
Normalized delay information for this address. More... | |
struct GAS_NormalizationInfo | norm_distance |
Normalized distance information for this address. More... | |
struct GAS_NormalizationInfo | norm_utilization_in |
Normalized utilization inbound for this address. More... | |
struct GAS_NormalizationInfo | norm_utilization_out |
Normalized utilization outbound for this address. More... | |
Address with additional information.
Definition at line 257 of file gnunet-service-ats_addresses.h.
struct GNUNET_PeerIdentity ATS_Address::peer |
Peer ID this address is for.
Definition at line 250 of file gnunet-service-ats_addresses.h.
Referenced by all_require_connectivity(), gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), create_address(), create_ats_address(), distribute_bandwidth(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), free_address(), GAS_addresses_add(), GAS_addresses_update(), and update_active_address().
const void* ATS_Address::addr |
Address (in plugin-specific binary format).
Definition at line 267 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), create_ats_address(), free_address(), GAS_addresses_add(), GAS_addresses_update(), and peerinfo_it().
char* ATS_Address::plugin |
Plugin name.
Definition at line 272 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), create_ats_address(), free_address(), GAS_addresses_add(), and GAS_addresses_update().
void* ATS_Address::solver_information |
Solver-specific information for this address.
Definition at line 277 of file gnunet-service-ats_addresses.h.
Referenced by find_best_address_it(), GAS_addresses_update(), GAS_proportional_stop_get_address(), libgnunet_plugin_ats_proportional_done(), and update_active_address().
struct GNUNET_ATS_Properties ATS_Address::properties |
ATS performance information for this address.
Definition at line 277 of file gnunet-service-ats_addresses.h.
Referenced by find_min_max_it(), GAS_addresses_add(), GAS_addresses_update(), and GAS_plugin_new_address().
struct GNUNET_TIME_Absolute ATS_Address::t_last_activity |
Time when address had last activity (update, in uses)
Definition at line 277 of file gnunet-service-ats_addresses.h.
Referenced by GAS_addresses_add(), and GAS_addresses_update().
struct GNUNET_TIME_Absolute ATS_Address::t_added |
Time when address was added.
Definition at line 277 of file gnunet-service-ats_addresses.h.
Referenced by GAS_addresses_add().
size_t ATS_Address::addr_len |
Address length, number of bytes in addr.
Definition at line 297 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), create_ats_address(), free_address(), GAS_addresses_add(), and GAS_addresses_update().
uint32_t ATS_Address::session_id |
Session ID, can never be 0.
Definition at line 302 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), create_ats_address(), and find_address_cb().
enum GNUNET_HELLO_AddressInfo ATS_Address::local_address_info |
Field to store local flags.
Definition at line 302 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), free_address(), GAS_addresses_add(), and GAS_addresses_update().
uint32_t ATS_Address::atsi_count |
ATS performance information for this address, size of the atsi array.
Definition at line 312 of file gnunet-service-ats_addresses.h.
Referenced by create_ats_address().
uint32_t ATS_Address::assigned_bw_in |
Inbound bandwidth assigned by solver.
Definition at line 317 of file gnunet-service-ats_addresses.h.
Referenced by GAS_addresses_add(), GAS_addresses_update(), GNUNET_ATS_solver_logging_now(), propagate_bandwidth(), and update_active_address().
uint32_t ATS_Address::assigned_bw_out |
Outbound bandwidth assigned by solver.
Definition at line 322 of file gnunet-service-ats_addresses.h.
Referenced by GAS_addresses_add(), GAS_addresses_update(), GNUNET_ATS_solver_logging_now(), propagate_bandwidth(), and update_active_address().
uint32_t ATS_Address::last_notified_bw_in |
Inbound bandwidth assigned by solver in NBO.
Definition at line 327 of file gnunet-service-ats_addresses.h.
uint32_t ATS_Address::last_notified_bw_out |
Outbound bandwidth assigned by solver in NBO.
Definition at line 332 of file gnunet-service-ats_addresses.h.
int ATS_Address::active |
Is this the active address for this peer?
Definition at line 337 of file gnunet-service-ats_addresses.h.
Referenced by distribute_bandwidth(), find_active_address(), find_best_address_it(), GAS_addresses_add(), GAS_addresses_update(), get_active_address_it(), GNUNET_ATS_solver_logging_now(), propagate_bandwidth(), and update_active_address().
struct GAS_NormalizationInfo ATS_Address::norm_delay |
Normalized delay information for this address.
Definition at line 337 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), and find_best_address_it().
struct GAS_NormalizationInfo ATS_Address::norm_distance |
Normalized distance information for this address.
Definition at line 337 of file gnunet-service-ats_addresses.h.
Referenced by create_address(), and find_best_address_it().
struct GAS_NormalizationInfo ATS_Address::norm_utilization_in |
Normalized utilization inbound for this address.
Definition at line 337 of file gnunet-service-ats_addresses.h.
Referenced by create_address().
struct GAS_NormalizationInfo ATS_Address::norm_utilization_out |
Normalized utilization outbound for this address.
Definition at line 337 of file gnunet-service-ats_addresses.h.
Referenced by create_address().