GNUnet  0.10.x
Data Fields
SessionAllocationMessage Struct Reference

ATS Service allocates resources to an session 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/ats2.h>

Collaboration diagram for SessionAllocationMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 A message of type GNUNET_MESSAGE_TYPE_ATS_SESSION_ALLOCATION. More...
 
uint32_t session_id
 Internal number this client uses to refer to the session 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 allocates resources to an session 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 231 of file ats2.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader SessionAllocationMessage::header

A message of type GNUNET_MESSAGE_TYPE_ATS_SESSION_ALLOCATION.

Definition at line 236 of file ats2.h.

◆ session_id

uint32_t SessionAllocationMessage::session_id

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

Definition at line 242 of file ats2.h.

Referenced by allocate_cb(), and handle_ats_session_allocation().

◆ peer

struct GNUNET_PeerIdentity SessionAllocationMessage::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 249 of file ats2.h.

Referenced by allocate_cb(), and handle_ats_session_allocation().

◆ bandwidth_out

struct GNUNET_BANDWIDTH_Value32NBO SessionAllocationMessage::bandwidth_out

How much bandwidth we are allowed for sending.

Definition at line 254 of file ats2.h.

Referenced by allocate_cb(), and handle_ats_session_allocation().

◆ bandwidth_in

struct GNUNET_BANDWIDTH_Value32NBO SessionAllocationMessage::bandwidth_in

How much bandwidth we are allowed for receiving.

Definition at line 259 of file ats2.h.

Referenced by allocate_cb(), and handle_ats_session_allocation().


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