Opaque handle to the transport service for communicators. More...
Data Fields | |
struct GNUNET_TRANSPORT_AddressIdentifier * | ai_head |
Head of DLL of addresses this communicator offers to the transport service. More... | |
struct GNUNET_TRANSPORT_AddressIdentifier * | ai_tail |
Tail of DLL of addresses this communicator offers to the transport service. More... | |
struct FlowControl * | fc_head |
DLL of messages awaiting flow control confirmation (ack). More... | |
struct FlowControl * | fc_tail |
DLL of messages awaiting flow control confirmation (ack). More... | |
struct AckPending * | ap_head |
DLL of messages awaiting transmission confirmation (ack). More... | |
struct AckPending * | ap_tail |
DLL of messages awaiting transmission confirmation (ack). More... | |
struct GNUNET_TRANSPORT_QueueHandle * | queue_head |
DLL of queues we offer. More... | |
struct GNUNET_TRANSPORT_QueueHandle * | queue_tail |
DLL of queues we offer. More... | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
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_Handle * | mq |
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... | |
Opaque handle to the transport service for communicators.
Definition at line 119 of file transport_api2_communication.c.
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.
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.
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.
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.
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().
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().
struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_CommunicatorHandle::queue_head |
DLL of queues we offer.
Definition at line 154 of file transport_api2_communication.c.
struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_CommunicatorHandle::queue_tail |
DLL of queues we offer.
Definition at line 159 of file transport_api2_communication.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_CommunicatorHandle::cfg |
Our configuration.
Definition at line 164 of file transport_api2_communication.c.
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().
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().
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().
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.
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().
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.
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().
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().
unsigned long long GNUNET_TRANSPORT_CommunicatorHandle::max_queue_length |
Maximum permissible queue length.
Definition at line 212 of file transport_api2_communication.c.
uint64_t GNUNET_TRANSPORT_CommunicatorHandle::fc_gen |
Flow-control identifier generator.
Definition at line 217 of file transport_api2_communication.c.
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.
uint32_t GNUNET_TRANSPORT_CommunicatorHandle::queue_gen |
Queue identifier generator.
Definition at line 228 of file transport_api2_communication.c.
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().