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, in NBO. 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 149 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 163 of file transport-testing2.c.

Referenced by connect_cb(), and 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 178 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 183 of file transport-testing2.c.

Referenced by handle_add_queue_message().

◆ mtu

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::mtu

Maximum transmission unit, in NBO.

UINT32_MAX for unlimited.

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

Referenced by handle_add_queue_message().

◆ cs

uint32_t GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::cs

An enum GNUNET_TRANSPORT_ConnectionStatus in NBO.

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

Referenced by handle_add_queue_message().

◆ next

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::next

Next element inside a DLL.

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

Referenced by handle_add_queue_message().

◆ prev

struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue* GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue::prev

Previous element inside a DLL.

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


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