GNUnet  0.10.x
Data Fields
GNUNET_ATS_TransportHandle Struct Reference

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

Collaboration diagram for GNUNET_ATS_TransportHandle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
GNUNET_ATS_SuggestionCallback suggest_cb
 Callback to invoke on suggestions. More...
 
void * suggest_cb_cls
 Closure for suggest_cb. More...
 
GNUNET_ATS_AllocationCallback alloc_cb
 Callback to invoke on allocations. More...
 
void * alloc_cb_cls
 Closure for alloc_cb. More...
 
struct GNUNET_MQ_Handlemq
 Message queue for sending requests to the ATS service. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task to trigger reconnect. More...
 
struct GNUNET_CONTAINER_MultiPeerMaprecords
 Hash map mapping PIDs to session records. More...
 
struct GNUNET_TIME_Relative backoff
 Reconnect backoff delay. More...
 

Detailed Description

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

Definition at line 83 of file ats_api2_transport.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_ATS_TransportHandle::cfg

Our configuration.

Definition at line 88 of file ats_api2_transport.c.

Referenced by GNUNET_ATS_transport_init(), and reconnect().

◆ suggest_cb

GNUNET_ATS_SuggestionCallback GNUNET_ATS_TransportHandle::suggest_cb

Callback to invoke on suggestions.

Definition at line 93 of file ats_api2_transport.c.

Referenced by GNUNET_ATS_transport_init(), and handle_ats_address_suggestion().

◆ suggest_cb_cls

void* GNUNET_ATS_TransportHandle::suggest_cb_cls

Closure for suggest_cb.

Definition at line 98 of file ats_api2_transport.c.

Referenced by GNUNET_ATS_transport_init(), and handle_ats_address_suggestion().

◆ alloc_cb

GNUNET_ATS_AllocationCallback GNUNET_ATS_TransportHandle::alloc_cb

Callback to invoke on allocations.

Definition at line 103 of file ats_api2_transport.c.

Referenced by GNUNET_ATS_transport_init(), and handle_ats_session_allocation().

◆ alloc_cb_cls

void* GNUNET_ATS_TransportHandle::alloc_cb_cls

Closure for alloc_cb.

Definition at line 108 of file ats_api2_transport.c.

Referenced by GNUNET_ATS_transport_init(), and handle_ats_session_allocation().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_ATS_TransportHandle::mq

Message queue for sending requests to the ATS service.

Definition at line 113 of file ats_api2_transport.c.

Referenced by force_reconnect(), GNUNET_ATS_session_del(), GNUNET_ATS_session_update(), GNUNET_ATS_transport_done(), reconnect(), and send_add_session_message().

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_ATS_TransportHandle::task

Task to trigger reconnect.

Definition at line 118 of file ats_api2_transport.c.

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

◆ records

struct GNUNET_CONTAINER_MultiPeerMap* GNUNET_ATS_TransportHandle::records

Hash map mapping PIDs to session records.

Definition at line 123 of file ats_api2_transport.c.

Referenced by find_session(), GNUNET_ATS_session_add(), GNUNET_ATS_transport_done(), GNUNET_ATS_transport_init(), and reconnect().

◆ backoff

struct GNUNET_TIME_Relative GNUNET_ATS_TransportHandle::backoff

Reconnect backoff delay.

Definition at line 128 of file ats_api2_transport.c.

Referenced by force_reconnect(), and handle_ats_session_allocation().


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