GNUnet  0.11.x
Data Fields
ATS_Address Struct Reference

Address with additional information. More...

#include </home/handbook/gnunet/src/ats/gnunet-service-ats_addresses.h>

Collaboration diagram for ATS_Address:
[legend]

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...
 

Detailed Description

Address with additional information.

Definition at line 257 of file gnunet-service-ats_addresses.h.

Field Documentation

◆ peer

struct GNUNET_PeerIdentity ATS_Address::peer

◆ addr

const void* ATS_Address::addr

Address (in plugin-specific binary format).

Definition at line 267 of file gnunet-service-ats_addresses.h.

Referenced by bandwidth_changed_cb(), create_address(), create_ats_address(), free_address(), GAS_addresses_add(), GAS_addresses_update(), and peerinfo_it().

◆ plugin

char* ATS_Address::plugin

◆ solver_information

void* ATS_Address::solver_information

◆ properties

struct GNUNET_ATS_Properties ATS_Address::properties

◆ t_last_activity

struct GNUNET_TIME_Absolute ATS_Address::t_last_activity

Time when address had last activity (update, in uses)

Definition at line 287 of file gnunet-service-ats_addresses.h.

Referenced by GAS_addresses_add(), and GAS_addresses_update().

◆ t_added

struct GNUNET_TIME_Absolute ATS_Address::t_added

Time when address was added.

Definition at line 292 of file gnunet-service-ats_addresses.h.

Referenced by GAS_addresses_add().

◆ addr_len

size_t ATS_Address::addr_len

◆ session_id

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 bandwidth_changed_cb(), create_address(), create_ats_address(), and find_address_cb().

◆ local_address_info

enum GNUNET_HELLO_AddressInfo ATS_Address::local_address_info

◆ atsi_count

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().

◆ assigned_bw_in

uint32_t ATS_Address::assigned_bw_in

◆ assigned_bw_out

uint32_t ATS_Address::assigned_bw_out

◆ last_notified_bw_in

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.

Referenced by bandwidth_changed_cb().

◆ last_notified_bw_out

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.

Referenced by bandwidth_changed_cb().

◆ active

int ATS_Address::active

◆ norm_delay

struct GAS_NormalizationInfo ATS_Address::norm_delay

Normalized delay information for this address.

Definition at line 342 of file gnunet-service-ats_addresses.h.

Referenced by create_address(), find_best_address_it(), GAS_normalization_update_property(), and normalize_address().

◆ norm_distance

struct GAS_NormalizationInfo ATS_Address::norm_distance

Normalized distance information for this address.

Definition at line 347 of file gnunet-service-ats_addresses.h.

Referenced by create_address(), find_best_address_it(), GAS_normalization_update_property(), and normalize_address().

◆ norm_utilization_in

struct GAS_NormalizationInfo ATS_Address::norm_utilization_in

Normalized utilization inbound for this address.

Definition at line 352 of file gnunet-service-ats_addresses.h.

Referenced by create_address(), GAS_normalization_update_property(), and normalize_address().

◆ norm_utilization_out

struct GAS_NormalizationInfo ATS_Address::norm_utilization_out

Normalized utilization outbound for this address.

Definition at line 357 of file gnunet-service-ats_addresses.h.

Referenced by create_address(), GAS_normalization_update_property(), and normalize_address().


The documentation for this struct was generated from the following file: