A Discrete-Event Network Simulator
API
ns3::TcpTxItem Class Reference

Item that encloses the application packet and some flags for it. More...

#include "tcp-tx-buffer.h"

+ Collaboration diagram for ns3::TcpTxItem:

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< Packetm_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...
 

Detailed Description

Item that encloses the application packet and some flags for it.

Definition at line 39 of file tcp-tx-buffer.h.

Constructor & Destructor Documentation

ns3::TcpTxItem::TcpTxItem ( )

Constructor.

Definition at line 36 of file tcp-tx-buffer.cc.

ns3::TcpTxItem::TcpTxItem ( const TcpTxItem other)

Copy-constructor.

Parameters
otherTcpTxTag to copy values from

Definition at line 45 of file tcp-tx-buffer.cc.

Member Function Documentation

void ns3::TcpTxItem::Print ( std::ostream &  os) const

Print the time.

Parameters
osostream

Definition at line 55 of file tcp-tx-buffer.cc.

References m_lastSent, m_lost, m_retrans, and m_sacked.

Member Data Documentation

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

The documentation for this class was generated from the following files: