GNUnet  0.11.x
Data Fields
GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue Struct Reference

Queue of a communicator and some context. More...

Collaboration diagram for GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue:
[legend]

Data Fields

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandletc_h
 Handle to the TransportCommunicator. More...
 
struct GNUNET_MQ_Envelopeopen_queue_env
 Envelope to a message that requests the opening of the queue. More...
 
struct GNUNET_PeerIdentity peer_id
 Peer ID of the peer on the other side of the queue. More...
 
uint32_t qid
 Queue ID. More...
 
uint64_t mid
 Current message id. More...
 
uint32_t nt
 An enum GNUNET_NetworkType in NBO. More...
 
uint32_t mtu
 Maximum transmission unit. More...
 
uint64_t q_len
 Queue length. More...
 
uint32_t priority
 Queue prio. More...
 
uint32_t cs
 An enum GNUNET_TRANSPORT_ConnectionStatus in NBO. More...
 
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueuenext
 Next element inside a DLL. More...
 
struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueueprev
 Previous element inside a DLL. More...
 

Detailed Description

Queue of a communicator and some context.

Definition at line 203 of file transport-testing2.c.

Field Documentation

◆ tc_h

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::tc_h

◆ open_queue_env

struct GNUNET_MQ_Envelope* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::open_queue_env

Envelope to a message that requests the opening of the queue.

If the client already requests queue(s), but the communicator is not yet connected, we cannot send the request to open the queue. Save it until the communicator becomes available and send it then.

Definition at line 217 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue().

◆ peer_id

struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::peer_id

◆ qid

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::qid

◆ mid

uint64_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::mid

Current message id.

Definition at line 232 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_send().

◆ nt

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::nt

An enum GNUNET_NetworkType in NBO.

Definition at line 237 of file transport-testing2.c.

Referenced by handle_add_queue_message(), and handle_update_queue_message().

◆ mtu

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::mtu

Maximum transmission unit.

UINT32_MAX for unlimited.

Definition at line 242 of file transport-testing2.c.

Referenced by GNUNET_TRANSPORT_TESTING_transport_communicator_send(), handle_add_queue_message(), and handle_update_queue_message().

◆ q_len

uint64_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::q_len

◆ priority

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::priority

◆ cs

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::cs

An enum GNUNET_TRANSPORT_ConnectionStatus in NBO.

Definition at line 257 of file transport-testing2.c.

Referenced by handle_add_queue_message(), and handle_update_queue_message().

◆ next

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::next

◆ prev

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::prev

Previous element inside a DLL.

Definition at line 267 of file transport-testing2.c.


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