GNUnet  0.19.5
AddressSuggestionMessage Struct Reference

ATS Service suggests to the transport service to use the address identified by the given session_id for the given peer with the given bandwidth_in and bandwidth_out limits from now on. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/ats/ats.h>

Collaboration diagram for AddressSuggestionMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 A message of type GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION. More...
 
uint32_t session_id
 Internal number this client uses to refer to the address this suggestion is about. More...
 
struct GNUNET_PeerIdentity peer
 Which peer is this about? (Technically redundant, as the session_id should be sufficient, but may enable client to find the session faster and/or check consistency). More...
 
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out
 How much bandwidth we are allowed for sending. More...
 
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in
 How much bandwidth we are allowed for receiving. More...
 

Detailed Description

ATS Service suggests to the transport service to use the address identified by the given session_id for the given peer with the given bandwidth_in and bandwidth_out limits from now on.

Definition at line 243 of file ats.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader AddressSuggestionMessage::header

A message of type GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION.

Definition at line 227 of file ats.h.

◆ session_id

uint32_t AddressSuggestionMessage::session_id

Internal number this client uses to refer to the address this suggestion is about.

Definition at line 254 of file ats.h.

◆ peer

struct GNUNET_PeerIdentity AddressSuggestionMessage::peer

Which peer is this about? (Technically redundant, as the session_id should be sufficient, but may enable client to find the session faster and/or check consistency).

Definition at line 254 of file ats.h.

Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), and gnunet_testing.EqualStatisticsCondition::evaluate().

◆ bandwidth_out

struct GNUNET_BANDWIDTH_Value32NBO AddressSuggestionMessage::bandwidth_out

How much bandwidth we are allowed for sending.

Definition at line 254 of file ats.h.

Referenced by GAS_scheduling_transmit_address_suggestion().

◆ bandwidth_in

struct GNUNET_BANDWIDTH_Value32NBO AddressSuggestionMessage::bandwidth_in

How much bandwidth we are allowed for receiving.

Definition at line 254 of file ats.h.

Referenced by GAS_scheduling_transmit_address_suggestion().


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