GNUnet  0.10.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 78 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(), prop_ntoh(), properties_hton(), update_counters(), 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 86 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(), normalize_address(), prop_ntoh(), properties_hton(), and update_counters().

◆ 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 94 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(), normalize_address(), prop_ntoh(), and properties_hton().

◆ 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 100 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(), normalize_address(), prop_ntoh(), properties_hton(), and update_counters().

◆ 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 61 of file gnunet_ats_transport_service.h.

Referenced by prop_ntoh(), properties_hton(), and update_counters().

◆ 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 69 of file gnunet_ats_transport_service.h.

Referenced by prop_ntoh(), properties_hton(), and update_counters().

◆ 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 91 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 98 of file gnunet_ats_transport_service.h.

Referenced by prop_ntoh(), and properties_hton().

◆ nt

enum GNUNET_NetworkType GNUNET_ATS_Properties::nt

Which network scope does the respective address belong to?

Definition at line 103 of file gnunet_ats_transport_service.h.

Referenced by consider_notify_transport(), prop_ntoh(), properties_hton(), update_allocation(), and update_counters().

◆ cc

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_ATS_Properties::cc

What characteristics does this communicator have?

Definition at line 108 of file gnunet_ats_transport_service.h.

Referenced by prop_ntoh(), and properties_hton().


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