22 #include "ns3/packet.h" 23 #include "ns3/nstime.h" 24 #include "ns3/sequence-number.h" Simulation virtual time values and global simulation resolution.
bool m_retrans
Indicates if the segment is retransmitted.
uint32_t GetSeqSize(void) const
Get the size in the sequence number space.
bool IsRetrans(void) const
Is the item retransmitted?
static Time Max()
Maximum representable Time Not to be confused with Max(Time,Time).
Item that encloses the application packet and some flags for it.
Time m_lastSent
Timestamp of the time at which the segment has been sent last time.
SequenceNumber32 m_startSeq
Sequence number of the item (if transmitted)
Unit
The unit to use to interpret a number representing time.
RateInformation & GetRateInformation(void)
Get (to modify) the Rate Information of this item.
bool IsSacked(void) const
Is the item sacked?
RateInformation m_rateInfo
Rate information of the item.
void Print(std::ostream &os, Time::Unit unit=Time::S) const
Print the time.
Ptr< Packet > m_packet
Application packet (can be null)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< const Packet > GetPacket(void) const
Get the Packet underlying this item.
Ptr< Packet > GetPacketCopy(void) const
Get a copy of the Packet underlying this item.
const Time & GetLastSent(void) const
Get a reference to the time the packet was sent for the last time.
bool m_sacked
Indicates if the segment has been SACKed.
bool m_lost
Indicates if the segment has been lost (RTO)