GNUnet  0.19.5
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 75 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 620 of file gnunet_ats_service.h.

Referenced by add_valid_address(), addr_info_cb(), find_min_max_it(), GAS_normalization_update_property(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), GST_validation_handle_pong(), init_range(), 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 89 of file gnunet_ats_service.h.

Referenced by find_min_max_it(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), init_range(), 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 97 of file gnunet_ats_service.h.

Referenced by find_min_max_it(), GAS_normalization_update_property(), GNUNET_ATS_properties_hton(), GNUNET_ATS_properties_ntoh(), init_range(), 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 (e.g. plain TCP/UDP).

Definition at line 103 of file gnunet_ats_service.h.

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

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

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

◆ distance [2/2]

uint32_t GNUNET_ATS_Properties::distance

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

Zero for direct connections (e.g. 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.

◆ nt

enum GNUNET_NetworkType GNUNET_ATS_Properties::nt

Which network scope does the respective address belong to?

Definition at line 98 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 98 of file gnunet_ats_transport_service.h.


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