Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::protocols::quic::sent_packet Struct Reference

Information about a sent packet for loss detection (RFC 9002 Section A.1.1) More...

#include <loss_detector.h>

Collaboration diagram for kcenon::network::protocols::quic::sent_packet:
Collaboration graph

Public Attributes

uint64_t packet_number {0}
 Packet number.
 
std::chrono::steady_clock::time_point sent_time
 Time the packet was sent.
 
size_t sent_bytes {0}
 Number of bytes in the packet.
 
bool ack_eliciting {false}
 True if this packet is ack-eliciting.
 
bool in_flight {false}
 True if the packet is in flight (counted for congestion control)
 
encryption_level level {encryption_level::initial}
 Encryption level of the packet.
 
std::vector< frameframes
 Frames included in this packet (for retransmission)
 

Detailed Description

Information about a sent packet for loss detection (RFC 9002 Section A.1.1)

Definition at line 25 of file loss_detector.h.

Member Data Documentation

◆ ack_eliciting

bool kcenon::network::protocols::quic::sent_packet::ack_eliciting {false}

True if this packet is ack-eliciting.

Definition at line 37 of file loss_detector.h.

37{false};

Referenced by kcenon::network::protocols::quic::connection::build_packet(), and kcenon::network::protocols::quic::connection::to_sent_packet().

◆ frames

std::vector<frame> kcenon::network::protocols::quic::sent_packet::frames

◆ in_flight

bool kcenon::network::protocols::quic::sent_packet::in_flight {false}

True if the packet is in flight (counted for congestion control)

Definition at line 40 of file loss_detector.h.

40{false};

Referenced by kcenon::network::protocols::quic::connection::build_packet(), and kcenon::network::protocols::quic::connection::to_sent_packet().

◆ level

◆ packet_number

uint64_t kcenon::network::protocols::quic::sent_packet::packet_number {0}

◆ sent_bytes

size_t kcenon::network::protocols::quic::sent_packet::sent_bytes {0}

◆ sent_time

std::chrono::steady_clock::time_point kcenon::network::protocols::quic::sent_packet::sent_time

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