GNUnet 0.22.2
GNUNET_TRANSPORT_CommunicatorHandle Struct Reference

Opaque handle to the transport service for communicators. More...

Collaboration diagram for GNUNET_TRANSPORT_CommunicatorHandle:
[legend]

Data Fields

struct GNUNET_TRANSPORT_AddressIdentifierai_head
 Head of DLL of addresses this communicator offers to the transport service. More...
 
struct GNUNET_TRANSPORT_AddressIdentifierai_tail
 Tail of DLL of addresses this communicator offers to the transport service. More...
 
struct FlowControlfc_head
 DLL of messages awaiting flow control confirmation (ack). More...
 
struct FlowControlfc_tail
 DLL of messages awaiting flow control confirmation (ack). More...
 
struct AckPendingap_head
 DLL of messages awaiting transmission confirmation (ack). More...
 
struct AckPendingap_tail
 DLL of messages awaiting transmission confirmation (ack). More...
 
struct GNUNET_TRANSPORT_QueueHandlequeue_head
 DLL of queues we offer. More...
 
struct GNUNET_TRANSPORT_QueueHandlequeue_tail
 DLL of queues we offer. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
GNUNET_TRANSPORT_StartBurstNotify sb
 Function to start a burst, requested by the transport service. More...
 
const char * config_section
 Config section to use. More...
 
const char * addr_prefix
 Address prefix to use. More...
 
GNUNET_TRANSPORT_CommunicatorMqInit mq_init
 Function to call when the transport service wants us to initiate a communication channel with another peer. More...
 
void * mq_init_cls
 Closure for mq_init. More...
 
GNUNET_TRANSPORT_CommunicatorNotify notify_cb
 Function to call when the transport service receives messages for a communicator (i.e. More...
 
void * notify_cb_cls
 Closure for notify_Cb. More...
 
struct GNUNET_MQ_Handlemq
 Queue to talk to the transport service. More...
 
unsigned long long max_queue_length
 Maximum permissible queue length. More...
 
uint64_t fc_gen
 Flow-control identifier generator. More...
 
uint32_t aid_gen
 Internal UUID for the address used in communication with the transport service. More...
 
uint32_t queue_gen
 Queue identifier generator. More...
 
enum GNUNET_TRANSPORT_CommunicatorCharacteristics cc
 Characteristics of the communicator. More...
 

Detailed Description

Opaque handle to the transport service for communicators.

Definition at line 119 of file transport_api2_communication.c.

Field Documentation

◆ ai_head

struct GNUNET_TRANSPORT_AddressIdentifier* GNUNET_TRANSPORT_CommunicatorHandle::ai_head

Head of DLL of addresses this communicator offers to the transport service.

Definition at line 124 of file transport_api2_communication.c.

◆ ai_tail

struct GNUNET_TRANSPORT_AddressIdentifier* GNUNET_TRANSPORT_CommunicatorHandle::ai_tail

Tail of DLL of addresses this communicator offers to the transport service.

Definition at line 129 of file transport_api2_communication.c.

◆ fc_head

struct FlowControl* GNUNET_TRANSPORT_CommunicatorHandle::fc_head

DLL of messages awaiting flow control confirmation (ack).

Definition at line 134 of file transport_api2_communication.c.

◆ fc_tail

struct FlowControl* GNUNET_TRANSPORT_CommunicatorHandle::fc_tail

DLL of messages awaiting flow control confirmation (ack).

Definition at line 139 of file transport_api2_communication.c.

◆ ap_head

struct AckPending* GNUNET_TRANSPORT_CommunicatorHandle::ap_head

DLL of messages awaiting transmission confirmation (ack).

Definition at line 144 of file transport_api2_communication.c.

Referenced by send_ack_cb().

◆ ap_tail

struct AckPending* GNUNET_TRANSPORT_CommunicatorHandle::ap_tail

DLL of messages awaiting transmission confirmation (ack).

Definition at line 149 of file transport_api2_communication.c.

Referenced by send_ack_cb().

◆ queue_head

struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_CommunicatorHandle::queue_head

DLL of queues we offer.

Definition at line 154 of file transport_api2_communication.c.

◆ queue_tail

struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_CommunicatorHandle::queue_tail

DLL of queues we offer.

Definition at line 159 of file transport_api2_communication.c.

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_CommunicatorHandle::cfg

Our configuration.

Definition at line 164 of file transport_api2_communication.c.

◆ sb

GNUNET_TRANSPORT_StartBurstNotify GNUNET_TRANSPORT_CommunicatorHandle::sb

Function to start a burst, requested by the transport service.

Definition at line 169 of file transport_api2_communication.c.

Referenced by check_start_burst(), GNUNET_TRANSPORT_communicator_connect(), and handle_start_burst().

◆ config_section

const char* GNUNET_TRANSPORT_CommunicatorHandle::config_section

Config section to use.

Definition at line 174 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect().

◆ addr_prefix

const char* GNUNET_TRANSPORT_CommunicatorHandle::addr_prefix

Address prefix to use.

Definition at line 179 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect().

◆ mq_init

GNUNET_TRANSPORT_CommunicatorMqInit GNUNET_TRANSPORT_CommunicatorHandle::mq_init

Function to call when the transport service wants us to initiate a communication channel with another peer.

Definition at line 185 of file transport_api2_communication.c.

◆ mq_init_cls

void* GNUNET_TRANSPORT_CommunicatorHandle::mq_init_cls

Closure for mq_init.

Definition at line 190 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect().

◆ notify_cb

GNUNET_TRANSPORT_CommunicatorNotify GNUNET_TRANSPORT_CommunicatorHandle::notify_cb

Function to call when the transport service receives messages for a communicator (i.e.

for NAT traversal or for non-bidirectional communicators).

Definition at line 197 of file transport_api2_communication.c.

◆ notify_cb_cls

void* GNUNET_TRANSPORT_CommunicatorHandle::notify_cb_cls

Closure for notify_Cb.

Definition at line 202 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_CommunicatorHandle::mq

Queue to talk to the transport service.

Definition at line 207 of file transport_api2_communication.c.

Referenced by send_add_address(), send_add_queue(), send_del_address(), send_del_queue(), and send_update_queue().

◆ max_queue_length

unsigned long long GNUNET_TRANSPORT_CommunicatorHandle::max_queue_length

Maximum permissible queue length.

Definition at line 212 of file transport_api2_communication.c.

◆ fc_gen

uint64_t GNUNET_TRANSPORT_CommunicatorHandle::fc_gen

Flow-control identifier generator.

Definition at line 217 of file transport_api2_communication.c.

◆ aid_gen

uint32_t GNUNET_TRANSPORT_CommunicatorHandle::aid_gen

Internal UUID for the address used in communication with the transport service.

Definition at line 223 of file transport_api2_communication.c.

◆ queue_gen

uint32_t GNUNET_TRANSPORT_CommunicatorHandle::queue_gen

Queue identifier generator.

Definition at line 228 of file transport_api2_communication.c.

◆ cc

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_TRANSPORT_CommunicatorHandle::cc

Characteristics of the communicator.

Definition at line 233 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect().


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