GNUnet 0.21.1
GNUNET_TRANSPORT_QueueHandle Struct Reference

Handle returned to identify the internal data structure the transport API has created to manage a message queue to a particular peer. More...

Collaboration diagram for GNUNET_TRANSPORT_QueueHandle:
[legend]

Data Fields

struct GNUNET_TRANSPORT_QueueHandlenext
 Kept in a DLL. More...
 
struct GNUNET_TRANSPORT_QueueHandleprev
 Kept in a DLL. More...
 
struct GNUNET_TRANSPORT_CommunicatorHandlech
 Handle this queue belongs to. More...
 
char * address
 Address used by the communication queue. More...
 
struct GNUNET_MQ_Handlemq
 The queue itself. More...
 
struct GNUNET_PeerIdentity peer
 Which peer we can communciate with. More...
 
enum GNUNET_NetworkType nt
 Network type of the communication queue. More...
 
enum GNUNET_TRANSPORT_ConnectionStatus cs
 Communication status of the queue. More...
 
uint32_t queue_id
 ID for this queue when talking to the transport service. More...
 
uint32_t mtu
 Maximum transmission unit for the queue. More...
 
uint64_t q_len
 Queue length. More...
 
uint32_t priority
 Queue priority. More...
 

Detailed Description

Handle returned to identify the internal data structure the transport API has created to manage a message queue to a particular peer.

Definition at line 236 of file transport_api2_communication.c.

Field Documentation

◆ next

struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_QueueHandle::next

Kept in a DLL.

Definition at line 241 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_update(), and handle_send_msg().

◆ prev

struct GNUNET_TRANSPORT_QueueHandle* GNUNET_TRANSPORT_QueueHandle::prev

Kept in a DLL.

Definition at line 246 of file transport_api2_communication.c.

◆ ch

struct GNUNET_TRANSPORT_CommunicatorHandle* GNUNET_TRANSPORT_QueueHandle::ch

◆ address

char* GNUNET_TRANSPORT_QueueHandle::address

Address used by the communication queue.

Definition at line 256 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), GNUNET_TRANSPORT_communicator_mq_del(), and send_add_queue().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_TRANSPORT_QueueHandle::mq

◆ peer

struct GNUNET_PeerIdentity GNUNET_TRANSPORT_QueueHandle::peer

Which peer we can communciate with.

Definition at line 266 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), handle_send_msg(), send_add_queue(), send_del_queue(), and send_update_queue().

◆ nt

enum GNUNET_NetworkType GNUNET_TRANSPORT_QueueHandle::nt

Network type of the communication queue.

Definition at line 271 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), send_add_queue(), and send_update_queue().

◆ cs

enum GNUNET_TRANSPORT_ConnectionStatus GNUNET_TRANSPORT_QueueHandle::cs

Communication status of the queue.

Definition at line 276 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), send_add_queue(), and send_update_queue().

◆ queue_id

uint32_t GNUNET_TRANSPORT_QueueHandle::queue_id

ID for this queue when talking to the transport service.

Definition at line 281 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), handle_send_msg(), send_add_queue(), send_del_queue(), and send_update_queue().

◆ mtu

uint32_t GNUNET_TRANSPORT_QueueHandle::mtu

Maximum transmission unit for the queue.

Definition at line 286 of file transport_api2_communication.c.

Referenced by GNUNET_TRANSPORT_communicator_mq_add(), send_add_queue(), and send_update_queue().

◆ q_len

uint64_t GNUNET_TRANSPORT_QueueHandle::q_len

◆ priority

uint32_t GNUNET_TRANSPORT_QueueHandle::priority

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