Item that encloses the application packet and some flags for it. More...
#include "tcp-tx-buffer.h"
Public Member Functions | |
uint32_t | GetSeqSize (void) const |
Get the size in the sequence number space. More... | |
void | Print (std::ostream &os) const |
Print the time. More... | |
Public Attributes | |
Time | m_lastSent {Time::Min()} |
Timestamp of the time at which the segment has been sent last time. More... | |
bool | m_lost {false} |
Indicates if the segment has been lost (RTO) More... | |
Ptr< Packet > | m_packet {nullptr} |
Application packet (can be null) More... | |
bool | m_retrans {false} |
Indicates if the segment is retransmitted. More... | |
bool | m_sacked {false} |
Indicates if the segment has been SACKed. More... | |
SequenceNumber32 | m_startSeq {0} |
Sequence number of the item (if transmitted) More... | |
Item that encloses the application packet and some flags for it.
Definition at line 40 of file tcp-tx-buffer.h.
|
inline |
Get the size in the sequence number space.
Definition at line 56 of file tcp-tx-buffer.h.
References ns3::Packet::GetSize(), and m_packet.
Referenced by Print().
void ns3::TcpTxItem::Print | ( | std::ostream & | os | ) | const |
Print the time.
os | ostream |
Definition at line 37 of file tcp-tx-buffer.cc.
References ns3::Time::GetSeconds(), GetSeqSize(), m_lastSent, m_lost, m_retrans, m_sacked, and m_startSeq.
Referenced by ns3::operator<<().
Timestamp of the time at which the segment has been sent last time.
Definition at line 62 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::MergeItems(), Print(), and ns3::TcpTxBuffer::SplitItems().
bool ns3::TcpTxItem::m_lost {false} |
Indicates if the segment has been lost (RTO)
Definition at line 60 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::DiscardUpTo(), ns3::TcpTxBuffer::IsLostRFC(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), Print(), ns3::TcpTxBuffer::RemoveFromCounts(), ns3::TcpTxBuffer::ResetSentList(), ns3::TcpTxBuffer::SplitItems(), and ns3::TcpTxBuffer::UpdateLostCount().
Application packet (can be null)
Definition at line 59 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::Add(), ns3::TcpTxBuffer::BytesInFlightRFC(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::DiscardUpTo(), ns3::TcpTxBuffer::FindHighestSacked(), ns3::TcpTxBuffer::GetNewSegment(), ns3::TcpTxBuffer::GetPacketFromList(), GetSeqSize(), ns3::TcpTxBuffer::GetTransmittedSegment(), ns3::TcpTxBuffer::IsLostRFC(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), ns3::TcpTxBuffer::ResetLastSegmentSent(), ns3::TcpTxBuffer::SplitItems(), ns3::TcpTxBuffer::UpdateLostCount(), and ns3::TcpTxBuffer::~TcpTxBuffer().
bool ns3::TcpTxItem::m_retrans {false} |
Indicates if the segment is retransmitted.
Definition at line 61 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::BytesInFlightRFC(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::GetTransmittedSegment(), ns3::TcpTxBuffer::IsLostRFC(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), Print(), ns3::TcpTxBuffer::RemoveFromCounts(), ns3::TcpTxBuffer::ResetLastSegmentSent(), ns3::TcpTxBuffer::ResetSentList(), and ns3::TcpTxBuffer::SplitItems().
bool ns3::TcpTxItem::m_sacked {false} |
Indicates if the segment has been SACKed.
Definition at line 63 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::BytesInFlightRFC(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::DiscardUpTo(), ns3::TcpTxBuffer::FindHighestSacked(), ns3::TcpTxBuffer::IsLostRFC(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), Print(), ns3::TcpTxBuffer::RemoveFromCounts(), ns3::TcpTxBuffer::ResetSentList(), ns3::TcpTxBuffer::SplitItems(), and ns3::TcpTxBuffer::UpdateLostCount().
SequenceNumber32 ns3::TcpTxItem::m_startSeq {0} |
Sequence number of the item (if transmitted)
Definition at line 58 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::DiscardUpTo(), ns3::TcpTxBuffer::GetNewSegment(), ns3::TcpTxBuffer::GetPacketFromList(), Print(), and ns3::TcpTxBuffer::SplitItems().