GNUnet 0.21.1
AcknowledgementCummulator Struct Reference

Data structure in which we track acknowledgements still to be sent to the. More...

Collaboration diagram for AcknowledgementCummulator:
[legend]

Data Fields

struct GNUNET_PeerIdentity target
 Target peer for which we are accumulating ACKs here. More...
 
struct TransportCummulativeAckPayload ack_uuids [64]
 ACK data being accumulated. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task scheduled either to transmit the cumulative ACK message, or to clean up this data structure after extended periods of inactivity (if num_acks is zero). More...
 
struct GNUNET_TIME_Absolute min_transmission_time
 When is task run (only used if num_acks is non-zero)? More...
 
uint32_t ack_counter
 Counter to produce the ack_counter in the struct TransportReliabilityAckMessage. More...
 
unsigned int num_acks
 Number of entries used in ack_uuids. More...
 

Detailed Description

Data structure in which we track acknowledgements still to be sent to the.

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

Field Documentation

◆ target

struct GNUNET_PeerIdentity AcknowledgementCummulator::target

Target peer for which we are accumulating ACKs here.

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

Referenced by cummulative_ack(), destroy_ack_cummulator(), and transmit_cummulative_ack_cb().

◆ ack_uuids

struct TransportCummulativeAckPayload AcknowledgementCummulator::ack_uuids[64]

ACK data being accumulated.

Only num_acks slots are valid.

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

Referenced by cummulative_ack(), and transmit_cummulative_ack_cb().

◆ task

struct GNUNET_SCHEDULER_Task* AcknowledgementCummulator::task

Task scheduled either to transmit the cumulative ACK message, or to clean up this data structure after extended periods of inactivity (if num_acks is zero).

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

Referenced by cummulative_ack(), destroy_ack_cummulator(), free_ack_cummulator_cb(), and transmit_cummulative_ack_cb().

◆ min_transmission_time

struct GNUNET_TIME_Absolute AcknowledgementCummulator::min_transmission_time

When is task run (only used if num_acks is non-zero)?

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

Referenced by cummulative_ack().

◆ ack_counter

uint32_t AcknowledgementCummulator::ack_counter

Counter to produce the ack_counter in the struct TransportReliabilityAckMessage.

Allows the receiver to detect lost ACK messages. Incremented by num_acks upon transmission.

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

Referenced by transmit_cummulative_ack_cb().

◆ num_acks

unsigned int AcknowledgementCummulator::num_acks

Number of entries used in ack_uuids.

Reset to 0 upon transmission.

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

Referenced by cummulative_ack(), destroy_ack_cummulator(), and transmit_cummulative_ack_cb().


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