GNUnet  0.11.x
Data Fields
GNUNET_ATS_SchedulingHandle Struct Reference

Handle to the ATS subsystem for bandwidth/transport scheduling information. More...

Collaboration diagram for GNUNET_ATS_SchedulingHandle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
GNUNET_ATS_AddressSuggestionCallback suggest_cb
 Callback to invoke on suggestions. More...
 
void * suggest_cb_cls
 Closure for suggest_cb. More...
 
struct GNUNET_MQ_Handlemq
 Message queue for sending requests to the ATS service. More...
 
struct GNUNET_ATS_AddressRecord ** session_array
 Array of session objects (we need to translate them to numbers and back for the protocol; the offset in the array is the session number on the network). More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task to trigger reconnect. More...
 
struct GNUNET_TIME_Relative backoff
 Reconnect backoff delay. More...
 
unsigned int session_array_size
 Size of the session_array. More...
 

Detailed Description

Handle to the ATS subsystem for bandwidth/transport scheduling information.

Definition at line 102 of file ats_api_scheduling.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_ATS_SchedulingHandle::cfg

Our configuration.

Definition at line 107 of file ats_api_scheduling.c.

Referenced by GNUNET_ATS_scheduling_init(), and reconnect().

◆ suggest_cb

GNUNET_ATS_AddressSuggestionCallback GNUNET_ATS_SchedulingHandle::suggest_cb

Callback to invoke on suggestions.

Definition at line 112 of file ats_api_scheduling.c.

Referenced by force_reconnect(), GNUNET_ATS_scheduling_init(), and handle_ats_address_suggestion().

◆ suggest_cb_cls

void* GNUNET_ATS_SchedulingHandle::suggest_cb_cls

Closure for suggest_cb.

Definition at line 117 of file ats_api_scheduling.c.

Referenced by force_reconnect(), GNUNET_ATS_scheduling_init(), and handle_ats_address_suggestion().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_ATS_SchedulingHandle::mq

Message queue for sending requests to the ATS service.

Definition at line 122 of file ats_api_scheduling.c.

Referenced by force_reconnect(), GNUNET_ATS_address_destroy(), GNUNET_ATS_address_update(), GNUNET_ATS_scheduling_done(), reconnect(), and send_add_address_message().

◆ session_array

struct GNUNET_ATS_AddressRecord** GNUNET_ATS_SchedulingHandle::session_array

Array of session objects (we need to translate them to numbers and back for the protocol; the offset in the array is the session number on the network).

Index 0 is always NULL and reserved to represent the NULL pointer. Unused entries are also NULL.

Definition at line 130 of file ats_api_scheduling.c.

Referenced by find_empty_session_slot(), find_session(), find_session_id(), GNUNET_ATS_address_add(), GNUNET_ATS_scheduling_done(), GNUNET_ATS_scheduling_init(), reconnect(), and release_session().

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_ATS_SchedulingHandle::task

Task to trigger reconnect.

Definition at line 135 of file ats_api_scheduling.c.

Referenced by force_reconnect(), GNUNET_ATS_scheduling_done(), and reconnect_task().

◆ backoff

struct GNUNET_TIME_Relative GNUNET_ATS_SchedulingHandle::backoff

Reconnect backoff delay.

Definition at line 140 of file ats_api_scheduling.c.

Referenced by force_reconnect(), and handle_ats_address_suggestion().

◆ session_array_size

unsigned int GNUNET_ATS_SchedulingHandle::session_array_size

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