GNUnet  0.11.x
Data Fields
GNUNET_ATS_Properties Struct Reference

ATS performance characteristics for an address. More...

#include <gnunet_ats_service.h>

Collaboration diagram for GNUNET_ATS_Properties:
[legend]

Data Fields

struct GNUNET_TIME_Relative delay
 Delay. More...
 
uint32_t utilization_out
 Actual traffic on this connection from this peer to the other peer. More...
 
uint32_t utilization_in
 Actual traffic on this connection from the other peer to this peer. More...
 
unsigned int distance
 Distance on network layer (required for distance-vector routing) in hops. More...
 
enum GNUNET_NetworkType scope
 Which network scope does the respective address belong to? This property does not change. More...
 
uint32_t goodput_out
 Confirmed successful payload on this connection from this peer to the other peer. More...
 
uint32_t goodput_in
 Confirmed useful payload on this connection to this peer from the other peer. More...
 
uint32_t distance
 Distance on network layer (required for distance-vector routing) in hops. More...
 
uint32_t mtu
 MTU of the network layer, UINT32_MAX for no MTU (stream). More...
 
enum GNUNET_NetworkType nt
 Which network scope does the respective address belong to? More...
 
enum GNUNET_TRANSPORT_CommunicatorCharacteristics cc
 What characteristics does this communicator have? More...
 

Detailed Description

ATS performance characteristics for an address.

ATS performance characteristics for a session.

Definition at line 71 of file gnunet_ats_service.h.

Field Documentation

◆ delay

struct GNUNET_TIME_Relative GNUNET_ATS_Properties::delay

Delay.

Time between when the time packet is sent and the packet arrives. FOREVER if we did not measure yet.

Time between when the time packet is sent and the packet arrives. FOREVER if we did not (successfully) measure yet.

Definition at line 77 of file gnunet_ats_service.h.

Referenced by add_valid_address(), addr_info_cb(), ats_performance_info_cb(), find_min_max_it(), GAS_normalization_update_property(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), GNUNET_ATS_TEST_logging_now(), GST_ats_update_delay(), GST_validation_handle_pong(), init_range(), main_run(), normalize_address(), and update_latencies().

◆ utilization_out

uint32_t GNUNET_ATS_Properties::utilization_out

Actual traffic on this connection from this peer to the other peer.

Includes transport overhead.

Unit: [bytes/second]

Definition at line 85 of file gnunet_ats_service.h.

Referenced by ats_performance_info_cb(), find_min_max_it(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), GNUNET_ATS_TEST_logging_now(), GST_ats_update_utilization(), init_range(), main_run(), and normalize_address().

◆ utilization_in

uint32_t GNUNET_ATS_Properties::utilization_in

Actual traffic on this connection from the other peer to this peer.

Includes transport overhead.

Unit: [bytes/second]

Definition at line 93 of file gnunet_ats_service.h.

Referenced by ats_performance_info_cb(), find_min_max_it(), GAS_normalization_update_property(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), GST_ats_update_utilization(), init_range(), main_run(), and normalize_address().

◆ distance [1/2]

unsigned int GNUNET_ATS_Properties::distance

Distance on network layer (required for distance-vector routing) in hops.

Zero for direct connections (i.e. plain TCP/UDP).

Definition at line 99 of file gnunet_ats_service.h.

Referenced by ats_performance_info_cb(), find_min_max_it(), GAS_normalization_update_property(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), GNUNET_ATS_TEST_logging_now(), GST_ats_update_distance(), init_range(), main_run(), and normalize_address().

◆ scope

enum GNUNET_NetworkType GNUNET_ATS_Properties::scope

◆ goodput_out

uint32_t GNUNET_ATS_Properties::goodput_out

Confirmed successful payload on this connection from this peer to the other peer.

Unit: [bytes/second]

Definition at line 60 of file gnunet_ats_transport_service.h.

◆ goodput_in

uint32_t GNUNET_ATS_Properties::goodput_in

Confirmed useful payload on this connection to this peer from the other peer.

Unit: [bytes/second]

Definition at line 68 of file gnunet_ats_transport_service.h.

◆ distance [2/2]

uint32_t GNUNET_ATS_Properties::distance

Distance on network layer (required for distance-vector routing) in hops.

Zero for direct connections (i.e. plain TCP/UDP).

Definition at line 90 of file gnunet_ats_transport_service.h.

◆ mtu

uint32_t GNUNET_ATS_Properties::mtu

MTU of the network layer, UINT32_MAX for no MTU (stream).

Unit: [bytes]

Definition at line 97 of file gnunet_ats_transport_service.h.

◆ nt

enum GNUNET_NetworkType GNUNET_ATS_Properties::nt

Which network scope does the respective address belong to?

Definition at line 102 of file gnunet_ats_transport_service.h.

◆ cc

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_ATS_Properties::cc

What characteristics does this communicator have?

Definition at line 107 of file gnunet_ats_transport_service.h.


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