Data structure in which we track acknowledgements still to be sent to the. More...
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_Task * | 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). 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... | |
Data structure in which we track acknowledgements still to be sent to the.
Definition at line 2440 of file gnunet-service-transport.c.
struct GNUNET_PeerIdentity AcknowledgementCummulator::target |
Target peer for which we are accumulating ACKs here.
Definition at line 2445 of file gnunet-service-transport.c.
Referenced by cummulative_ack(), destroy_ack_cummulator(), and transmit_cummulative_ack_cb().
struct TransportCummulativeAckPayload AcknowledgementCummulator::ack_uuids[64] |
ACK data being accumulated.
Only num_acks slots are valid.
Definition at line 2450 of file gnunet-service-transport.c.
Referenced by cummulative_ack(), and transmit_cummulative_ack_cb().
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 2457 of file gnunet-service-transport.c.
Referenced by cummulative_ack(), destroy_ack_cummulator(), free_ack_cummulator_cb(), and transmit_cummulative_ack_cb().
struct GNUNET_TIME_Absolute AcknowledgementCummulator::min_transmission_time |
When is task run (only used if num_acks is non-zero)?
Definition at line 2462 of file gnunet-service-transport.c.
Referenced by cummulative_ack().
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 2469 of file gnunet-service-transport.c.
Referenced by transmit_cummulative_ack_cb().
unsigned int AcknowledgementCummulator::num_acks |
Number of entries used in ack_uuids.
Reset to 0 upon transmission.
Definition at line 2474 of file gnunet-service-transport.c.
Referenced by cummulative_ack(), destroy_ack_cummulator(), and transmit_cummulative_ack_cb().