GNUnet  0.11.x
Data Fields
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...
 
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 permissable 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 115 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 120 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_address_add(), GNUNET_TRANSPORT_communicator_address_remove(), GNUNET_TRANSPORT_communicator_disconnect(), and reconnect().

◆ 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 125 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_address_add(), and GNUNET_TRANSPORT_communicator_address_remove().

◆ fc_head

struct FlowControl* GNUNET_TRANSPORT_CommunicatorHandle::fc_head

DLL of messages awaiting flow control confirmation (ack).

Definition at line 130 of file transport_api2_communication.c.

Referenced by disconnect(), GNUNET_TRANSPORT_communicator_receive(), and handle_incoming_ack().

◆ fc_tail

struct FlowControl* GNUNET_TRANSPORT_CommunicatorHandle::fc_tail

DLL of messages awaiting flow control confirmation (ack).

Definition at line 135 of file transport_api2_communication.c.

Referenced by disconnect(), GNUNET_TRANSPORT_communicator_receive(), and handle_incoming_ack().

◆ ap_head

struct AckPending* GNUNET_TRANSPORT_CommunicatorHandle::ap_head

DLL of messages awaiting transmission confirmation (ack).

Definition at line 140 of file transport_api2_communication.c.

Referenced by disconnect(), handle_send_msg(), and send_ack_cb().

◆ ap_tail

struct AckPending* GNUNET_TRANSPORT_CommunicatorHandle::ap_tail

DLL of messages awaiting transmission confirmation (ack).

Definition at line 145 of file transport_api2_communication.c.

Referenced by disconnect(), handle_send_msg(), and send_ack_cb().

◆ queue_head

struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_CommunicatorHandle::queue_head

◆ queue_tail

struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_CommunicatorHandle::queue_tail

DLL of queues we offer.

Definition at line 155 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), and GNUNET_TRANSPORT_communicator_mq_del().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_CommunicatorHandle::cfg

Our configuration.

Definition at line 160 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and reconnect().

◆ config_section

const char* GNUNET_TRANSPORT_CommunicatorHandle::config_section

Config section to use.

Definition at line 165 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 170 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and reconnect().

◆ 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 176 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and handle_create_queue().

◆ mq_init_cls

void* GNUNET_TRANSPORT_CommunicatorHandle::mq_init_cls

Closure for mq_init.

Definition at line 181 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and handle_create_queue().

◆ 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 188 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and handle_backchannel_incoming().

◆ notify_cb_cls

void* GNUNET_TRANSPORT_CommunicatorHandle::notify_cb_cls

Closure for notify_Cb.

Definition at line 193 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and handle_backchannel_incoming().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_CommunicatorHandle::mq

◆ max_queue_length

unsigned long long GNUNET_TRANSPORT_CommunicatorHandle::max_queue_length

Maximum permissable queue length.

Definition at line 203 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and GNUNET_TRANSPORT_communicator_receive().

◆ fc_gen

uint64_t GNUNET_TRANSPORT_CommunicatorHandle::fc_gen

Flow-control identifier generator.

Definition at line 208 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_receive().

◆ aid_gen

uint32_t GNUNET_TRANSPORT_CommunicatorHandle::aid_gen

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

Definition at line 214 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_address_add().

◆ queue_gen

uint32_t GNUNET_TRANSPORT_CommunicatorHandle::queue_gen

Queue identifier generator.

Definition at line 219 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add().

◆ cc

enum GNUNET_TRANSPORT_CommunicatorCharacteristics GNUNET_TRANSPORT_CommunicatorHandle::cc

Characteristics of the communicator.

Definition at line 224 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_connect(), and reconnect().


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