Item that encloses the application packet and some flags for it. More...
#include "tcp-tx-buffer.h"
Public Member Functions | |
TcpTxItem () | |
Constructor. More... | |
TcpTxItem (const TcpTxItem &other) | |
Copy-constructor. More... | |
void | Print (std::ostream &os) const |
Print the time. More... | |
Public Attributes | |
Time | m_lastSent |
Timestamp of the time at which the segment has. More... | |
bool | m_lost |
Indicates if the segment has been lost (RTO) More... | |
Ptr< Packet > | m_packet |
Application packet. More... | |
bool | m_retrans |
Indicates if the segment is retransmitted. More... | |
bool | m_sacked |
Indicates if the segment has been SACKed. More... | |
Item that encloses the application packet and some flags for it.
Definition at line 39 of file tcp-tx-buffer.h.
ns3::TcpTxItem::TcpTxItem | ( | ) |
Constructor.
Definition at line 36 of file tcp-tx-buffer.cc.
ns3::TcpTxItem::TcpTxItem | ( | const TcpTxItem & | other | ) |
Copy-constructor.
other | TcpTxTag to copy values from |
Definition at line 45 of file tcp-tx-buffer.cc.
void ns3::TcpTxItem::Print | ( | std::ostream & | os | ) | const |
Print the time.
os | ostream |
Definition at line 55 of file tcp-tx-buffer.cc.
References m_lastSent, m_lost, m_retrans, and m_sacked.
Time ns3::TcpTxItem::m_lastSent |
Timestamp of the time at which the segment has.
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 |
Indicates if the segment has been lost (RTO)
Definition at line 60 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::BytesInFlight(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::MergeItems(), Print(), ns3::TcpTxBuffer::ResetSentList(), and ns3::TcpTxBuffer::SplitItems().
Application packet.
Definition at line 59 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::Add(), ns3::TcpTxBuffer::BytesInFlight(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::CraftSackOption(), ns3::TcpTxBuffer::DiscardUpTo(), ns3::TcpTxBuffer::GetHighestSacked(), ns3::TcpTxBuffer::GetNewSegment(), ns3::TcpTxBuffer::GetPacketFromList(), ns3::TcpTxBuffer::IsLost(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), ns3::TcpTxBuffer::ResetLastSegmentSent(), ns3::TcpTxBuffer::ResetSentList(), ns3::TcpTxBuffer::SplitItems(), ns3::TcpTxBuffer::Update(), and ns3::TcpTxBuffer::~TcpTxBuffer().
bool ns3::TcpTxItem::m_retrans |
Indicates if the segment is retransmitted.
Definition at line 61 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::BytesInFlight(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::TcpTxBuffer::GetRetransmitsCount(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), Print(), ns3::TcpTxBuffer::ResetSentList(), and ns3::TcpTxBuffer::SplitItems().
bool ns3::TcpTxItem::m_sacked |
Indicates if the segment has been SACKed.
Definition at line 64 of file tcp-tx-buffer.h.
Referenced by ns3::TcpTxBuffer::BytesInFlight(), ns3::TcpTxBuffer::CraftSackOption(), ns3::TcpTxBuffer::DiscardUpTo(), ns3::TcpTxBuffer::GetHighestSacked(), ns3::TcpTxBuffer::IsLost(), ns3::TcpTxBuffer::MergeItems(), ns3::TcpTxBuffer::NextSeg(), Print(), ns3::TcpTxBuffer::ResetSentList(), ns3::TcpTxBuffer::SplitItems(), and ns3::TcpTxBuffer::Update().