Handle to the ATS subsystem for bandwidth/transport scheduling information. More...
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
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_Handle * | mq |
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_Task * | task |
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... | |
Handle to the ATS subsystem for bandwidth/transport scheduling information.
Definition at line 102 of file ats_api_scheduling.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_ATS_SchedulingHandle::cfg |
Our configuration.
Definition at line 107 of file ats_api_scheduling.c.
Referenced by gnunet_testing.Peer::__del__(), gnunet_testing.Peer::get_statistics_value(), gnunet_testing.Peer::start(), and gnunet_testing.Peer::stop().
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().
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().
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.
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.
struct GNUNET_SCHEDULER_Task* GNUNET_ATS_SchedulingHandle::task |
Task to trigger reconnect.
Definition at line 135 of file ats_api_scheduling.c.
struct GNUNET_TIME_Relative GNUNET_ATS_SchedulingHandle::backoff |
Reconnect backoff delay.
Definition at line 135 of file ats_api_scheduling.c.
unsigned int GNUNET_ATS_SchedulingHandle::session_array_size |
Size of the session_array.
Definition at line 145 of file ats_api_scheduling.c.