GNUnet  0.20.0
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

◆ 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 GNUNET_ATS_scheduling_init().

◆ 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 GNUNET_ATS_scheduling_init().

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

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

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_ATS_SchedulingHandle::task

Task to trigger reconnect.

Definition at line 135 of file ats_api_scheduling.c.

◆ backoff

struct GNUNET_TIME_Relative GNUNET_ATS_SchedulingHandle::backoff

Reconnect backoff delay.

Definition at line 135 of file ats_api_scheduling.c.

◆ session_array_size

unsigned int GNUNET_ATS_SchedulingHandle::session_array_size

Size of the session_array.

Definition at line 145 of file ats_api_scheduling.c.


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