GNUnet 0.21.1
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...
 
unsigned int num_send
 How often the PendingMessage was send via the Queue of this PendingAcknowledgement. More...
 

Detailed Description

Data structure kept when we are waiting for an acknowledgement.

Definition at line 1579 of file gnunet-service-transport.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 1585 of file gnunet-service-transport.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 1591 of file gnunet-service-transport.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 1598 of file gnunet-service-transport.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 1605 of file gnunet-service-transport.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 1612 of file gnunet-service-transport.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 1619 of file gnunet-service-transport.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 1626 of file gnunet-service-transport.c.

Referenced by free_pending_message(), and queue_send_msg().

◆ 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 1633 of file gnunet-service-transport.c.

Referenced by free_pending_message().

◆ ack_uuid

struct AcknowledgementUUIDP PendingAcknowledgement::ack_uuid

Unique identifier for this transmission operation.

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

Referenced by fragment_message(), free_pending_acknowledgement(), handle_reliability_ack(), 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 1644 of file gnunet-service-transport.c.

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

◆ 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 1650 of file gnunet-service-transport.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 1656 of file gnunet-service-transport.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 1661 of file gnunet-service-transport.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 1666 of file gnunet-service-transport.c.

Referenced by handle_acknowledged(), and prepare_pending_acknowledgement().

◆ num_send

unsigned int PendingAcknowledgement::num_send

How often the PendingMessage was send via the Queue of this PendingAcknowledgement.

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

Referenced by handle_acknowledged(), and queue_send_msg().


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