GNUnet 0.21.1
QueueEntry Struct Reference

Entry identifying transmission in one of our struct Queue which still awaits an ACK. More...

Collaboration diagram for QueueEntry:
[legend]

Data Fields

struct QueueEntrynext
 Kept as a DLL. More...
 
struct QueueEntryprev
 Kept as a DLL. More...
 
struct Queuequeue
 Queue this entry is queued with. More...
 
struct PendingMessagepm
 Pending message this entry is for, or NULL for none. More...
 
uint64_t mid
 Message ID used for this message with the queue used for transmission. More...
 
struct GNUNET_TIME_Absolute creation_timestamp
 Timestamp this QueueEntry was created. More...
 

Detailed Description

Entry identifying transmission in one of our struct Queue which still awaits an ACK.

This is used to ensure we do not overwhelm a communicator and limit the number of messages outstanding per communicator (say in case communicator is CPU bound) and per queue (in case bandwidth allocation exceeds what the communicator can actually provide towards a particular peer/target).

Definition at line 1825 of file gnunet-service-transport.c.

Field Documentation

◆ next

struct QueueEntry* QueueEntry::next

Kept as a DLL.

Definition at line 1830 of file gnunet-service-transport.c.

Referenced by free_timedout_queue_entry().

◆ prev

struct QueueEntry* QueueEntry::prev

Kept as a DLL.

Definition at line 1835 of file gnunet-service-transport.c.

◆ queue

struct Queue* QueueEntry::queue

Queue this entry is queued with.

Definition at line 1840 of file gnunet-service-transport.c.

◆ pm

struct PendingMessage* QueueEntry::pm

Pending message this entry is for, or NULL for none.

Definition at line 1845 of file gnunet-service-transport.c.

Referenced by free_fragment_tree().

◆ mid

uint64_t QueueEntry::mid

Message ID used for this message with the queue used for transmission.

Definition at line 1850 of file gnunet-service-transport.c.

Referenced by free_timedout_queue_entry().

◆ creation_timestamp

struct GNUNET_TIME_Absolute QueueEntry::creation_timestamp

Timestamp this QueueEntry was created.

Definition at line 1855 of file gnunet-service-transport.c.

Referenced by free_timedout_queue_entry().


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