GNUnet  0.11.x
Data Fields
PendingAcknowledgement Struct Reference

Data structure kept when we are waiting for an acknowledgement. More...

Collaboration diagram for PendingAcknowledgement:
[legend]

Data Fields

struct PendingAcknowledgementnext_pm
 If pm is non-NULL, this is the DLL in which this acknowledgement is kept in relation to its pending message. More...
 
struct PendingAcknowledgementprev_pm
 If pm is non-NULL, this is the DLL in which this acknowledgement is kept in relation to its pending message. More...
 
struct PendingAcknowledgementnext_queue
 If queue is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the queue that was used to transmit the pm. More...
 
struct PendingAcknowledgementprev_queue
 If queue is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the queue that was used to transmit the pm. More...
 
struct PendingAcknowledgementnext_dvh
 If dvh is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the DVH that was used to transmit the pm. More...
 
struct PendingAcknowledgementprev_dvh
 If dvh is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the DVH that was used to transmit the pm. More...
 
struct PendingAcknowledgementnext_pa
 Pointers for the DLL of all pending acknowledgements. More...
 
struct PendingAcknowledgementprev_pa
 Pointers for the DLL of all pending acknowledgements. More...
 
struct AcknowledgementUUIDP ack_uuid
 Unique identifier for this transmission operation. More...
 
struct PendingMessagepm
 Message that was transmitted, may be NULL if the message was ACKed via another channel. More...
 
struct DistanceVectorHopdvh
 Distance vector path chosen for this transmission, NULL if transmission was to a direct neighbour OR if the path was forgotten in the meantime. More...
 
struct Queuequeue
 Queue used for transmission, NULL if the queue has been destroyed (which may happen before we get an acknowledgement). More...
 
struct GNUNET_TIME_Absolute transmission_time
 Time of the transmission, for RTT calculation. More...
 
uint16_t message_size
 Number of bytes of the original message (to calculate bandwidth). More...
 

Detailed Description

Data structure kept when we are waiting for an acknowledgement.

Definition at line 1407 of file gnunet-service-tng.c.

Field Documentation

◆ next_pm

struct PendingAcknowledgement* PendingAcknowledgement::next_pm

If pm is non-NULL, this is the DLL in which this acknowledgement is kept in relation to its pending message.

Definition at line 1413 of file gnunet-service-tng.c.

◆ prev_pm

struct PendingAcknowledgement* PendingAcknowledgement::prev_pm

If pm is non-NULL, this is the DLL in which this acknowledgement is kept in relation to its pending message.

Definition at line 1419 of file gnunet-service-tng.c.

◆ next_queue

struct PendingAcknowledgement* PendingAcknowledgement::next_queue

If queue is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the queue that was used to transmit the pm.

Definition at line 1426 of file gnunet-service-tng.c.

◆ prev_queue

struct PendingAcknowledgement* PendingAcknowledgement::prev_queue

If queue is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the queue that was used to transmit the pm.

Definition at line 1433 of file gnunet-service-tng.c.

◆ next_dvh

struct PendingAcknowledgement* PendingAcknowledgement::next_dvh

If dvh is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the DVH that was used to transmit the pm.

Definition at line 1440 of file gnunet-service-tng.c.

◆ prev_dvh

struct PendingAcknowledgement* PendingAcknowledgement::prev_dvh

If dvh is non-NULL, this is the DLL in which this acknowledgement is kept in relation to the DVH that was used to transmit the pm.

Definition at line 1447 of file gnunet-service-tng.c.

◆ next_pa

struct PendingAcknowledgement* PendingAcknowledgement::next_pa

Pointers for the DLL of all pending acknowledgements.

This list is sorted by transmission time. If the list gets too long, the oldest entries are discarded.

Definition at line 1454 of file gnunet-service-tng.c.

◆ prev_pa

struct PendingAcknowledgement* PendingAcknowledgement::prev_pa

Pointers for the DLL of all pending acknowledgements.

This list is sorted by transmission time. If the list gets too long, the oldest entries are discarded.

Definition at line 1461 of file gnunet-service-tng.c.

◆ ack_uuid

struct AcknowledgementUUIDP PendingAcknowledgement::ack_uuid

Unique identifier for this transmission operation.

Definition at line 1466 of file gnunet-service-tng.c.

Referenced by fragment_message(), free_pending_acknowledgement(), prepare_pending_acknowledgement(), and reliability_box_message().

◆ pm

struct PendingMessage* PendingAcknowledgement::pm

Message that was transmitted, may be NULL if the message was ACKed via another channel.

Definition at line 1472 of file gnunet-service-tng.c.

Referenced by free_fragment_tree(), free_pending_acknowledgement(), free_pending_message(), handle_acknowledged(), and prepare_pending_acknowledgement().

◆ dvh

struct DistanceVectorHop* PendingAcknowledgement::dvh

Distance vector path chosen for this transmission, NULL if transmission was to a direct neighbour OR if the path was forgotten in the meantime.

Definition at line 1478 of file gnunet-service-tng.c.

Referenced by free_distance_vector_hop(), free_pending_acknowledgement(), handle_acknowledged(), and prepare_pending_acknowledgement().

◆ queue

struct Queue* PendingAcknowledgement::queue

Queue used for transmission, NULL if the queue has been destroyed (which may happen before we get an acknowledgement).

Definition at line 1484 of file gnunet-service-tng.c.

Referenced by free_pending_acknowledgement(), free_queue(), handle_acknowledged(), and prepare_pending_acknowledgement().

◆ transmission_time

struct GNUNET_TIME_Absolute PendingAcknowledgement::transmission_time

Time of the transmission, for RTT calculation.

Definition at line 1489 of file gnunet-service-tng.c.

Referenced by handle_acknowledged(), and prepare_pending_acknowledgement().

◆ message_size

uint16_t PendingAcknowledgement::message_size

Number of bytes of the original message (to calculate bandwidth).

Definition at line 1494 of file gnunet-service-tng.c.

Referenced by handle_acknowledged(), and prepare_pending_acknowledgement().


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