GNUnet  0.11.x
Data Fields
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 cummulative 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 2223 of file gnunet-service-tng.c.

Field Documentation

◆ target

struct GNUNET_PeerIdentity AcknowledgementCummulator::target

Target peer for which we are accumulating ACKs here.

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

Referenced by cummulative_ack(), and destroy_ack_cummulator().

◆ ack_uuids

struct TransportCummulativeAckPayload AcknowledgementCummulator::ack_uuids[64]

ACK data being accumulated.

Only num_acks slots are valid.

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

Referenced by cummulative_ack().

◆ task

struct GNUNET_SCHEDULER_Task* AcknowledgementCummulator::task

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

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

Referenced by cummulative_ack(), and destroy_ack_cummulator().

◆ 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 2245 of file gnunet-service-tng.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 2252 of file gnunet-service-tng.c.

◆ num_acks

unsigned int AcknowledgementCummulator::num_acks

Number of entries used in ack_uuids.

Reset to 0 upon transmission.

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

Referenced by cummulative_ack(), and destroy_ack_cummulator().


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