GNUnet  0.11.x
Data Fields
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/handbook/gnunet/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 244 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 249 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 255 of file ats.h.

Referenced by GAS_scheduling_transmit_address_suggestion(), and handle_ats_address_suggestion().

◆ 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 262 of file ats.h.

Referenced by GAS_scheduling_transmit_address_suggestion(), and handle_ats_address_suggestion().

◆ bandwidth_out

struct GNUNET_BANDWIDTH_Value32NBO AddressSuggestionMessage::bandwidth_out

How much bandwidth we are allowed for sending.

Definition at line 267 of file ats.h.

Referenced by GAS_scheduling_transmit_address_suggestion(), and handle_ats_address_suggestion().

◆ bandwidth_in

struct GNUNET_BANDWIDTH_Value32NBO AddressSuggestionMessage::bandwidth_in

How much bandwidth we are allowed for receiving.

Definition at line 272 of file ats.h.

Referenced by GAS_scheduling_transmit_address_suggestion(), and handle_ats_address_suggestion().


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