GNUnet  0.19.4
GNUNET_ATS_PerformanceHandle Struct Reference

ATS Handle to obtain and/or modify performance information. More...

Collaboration diagram for GNUNET_ATS_PerformanceHandle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
GNUNET_ATS_AddressInformationCallback addr_info_cb
 Callback to invoke when an address has performance changes. More...
 
void * addr_info_cb_cls
 Closure for addr_info_cb. More...
 
struct GNUNET_MQ_Handlemq
 Connection to ATS service. More...
 
struct GNUNET_ATS_ReservationContextreservation_head
 Head of linked list of pending reservation requests. More...
 
struct GNUNET_ATS_ReservationContextreservation_tail
 Tail of linked list of pending reservation requests. More...
 
struct GNUNET_ATS_AddressListHandleaddresslist_head
 Head of linked list of pending address list requests. More...
 
struct GNUNET_ATS_AddressListHandleaddresslist_tail
 Tail of linked list of pending address list requests. More...
 
struct GNUNET_CLIENT_TransmitHandle * th
 Current request for transmission to ATS. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task to trigger reconnect. More...
 
struct GNUNET_TIME_Relative backoff
 Reconnect backoff delay. More...
 
uint32_t monitor_id
 Monitor request multiplexing. More...
 
uint32_t id
 Request multiplexing. More...
 
int in_receive
 Is the receive loop active? More...
 

Detailed Description

ATS Handle to obtain and/or modify performance information.

Definition at line 137 of file ats_api_performance.c.

Field Documentation

◆ cfg

◆ addr_info_cb

GNUNET_ATS_AddressInformationCallback GNUNET_ATS_PerformanceHandle::addr_info_cb

Callback to invoke when an address has performance changes.

Definition at line 147 of file ats_api_performance.c.

Referenced by do_reconnect(), GNUNET_ATS_performance_init(), handle_peer_information(), and reconnect().

◆ addr_info_cb_cls

void* GNUNET_ATS_PerformanceHandle::addr_info_cb_cls

Closure for addr_info_cb.

Definition at line 152 of file ats_api_performance.c.

Referenced by do_reconnect(), GNUNET_ATS_performance_init(), and handle_peer_information().

◆ mq

◆ reservation_head

struct GNUNET_ATS_ReservationContext* GNUNET_ATS_PerformanceHandle::reservation_head

Head of linked list of pending reservation requests.

Definition at line 162 of file ats_api_performance.c.

Referenced by do_reconnect(), GNUNET_ATS_performance_done(), GNUNET_ATS_reserve_bandwidth(), and handle_reservation_result().

◆ reservation_tail

struct GNUNET_ATS_ReservationContext* GNUNET_ATS_PerformanceHandle::reservation_tail

Tail of linked list of pending reservation requests.

Definition at line 167 of file ats_api_performance.c.

Referenced by do_reconnect(), GNUNET_ATS_performance_done(), GNUNET_ATS_reserve_bandwidth(), and handle_reservation_result().

◆ addresslist_head

struct GNUNET_ATS_AddressListHandle* GNUNET_ATS_PerformanceHandle::addresslist_head

◆ addresslist_tail

struct GNUNET_ATS_AddressListHandle* GNUNET_ATS_PerformanceHandle::addresslist_tail

◆ th

struct GNUNET_CLIENT_TransmitHandle* GNUNET_ATS_PerformanceHandle::th

Current request for transmission to ATS.

Definition at line 182 of file ats_api_performance.c.

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_ATS_PerformanceHandle::task

Task to trigger reconnect.

Definition at line 187 of file ats_api_performance.c.

Referenced by do_reconnect(), GNUNET_ATS_performance_done(), and reconnect_task().

◆ backoff

struct GNUNET_TIME_Relative GNUNET_ATS_PerformanceHandle::backoff

Reconnect backoff delay.

Definition at line 187 of file ats_api_performance.c.

Referenced by do_reconnect().

◆ monitor_id

uint32_t GNUNET_ATS_PerformanceHandle::monitor_id

Monitor request multiplexing.

Definition at line 197 of file ats_api_performance.c.

◆ id

uint32_t GNUNET_ATS_PerformanceHandle::id

Request multiplexing.

Definition at line 202 of file ats_api_performance.c.

Referenced by GNUNET_ATS_performance_list_addresses(), and gnunet_testing.Peer::start().

◆ in_receive

int GNUNET_ATS_PerformanceHandle::in_receive

Is the receive loop active?

Definition at line 207 of file ats_api_performance.c.


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