Helper class to store RTT measurements. More...
#include "tcp-socket-base.h"
Public Member Functions | |
RttHistory (const RttHistory &h) | |
Copy constructor. | |
RttHistory (SequenceNumber32 s, uint32_t c, Time t) | |
Constructor - builds an RttHistory with the given parameters. | |
Public Attributes | |
uint32_t | count |
Number of bytes sent. | |
bool | retx |
True if this has been retransmitted. | |
SequenceNumber32 | seq |
First sequence number in packet sent. | |
Time | time |
Time this one was sent. | |
Helper class to store RTT measurements.
Definition at line 50 of file tcp-socket-base.h.
ns3::RttHistory::RttHistory | ( | SequenceNumber32 | s, |
uint32_t | c, | ||
Time | t ) |
Constructor - builds an RttHistory with the given parameters.
s | First sequence number in packet sent |
c | Number of bytes sent |
t | Time this one was sent |
Definition at line 4825 of file tcp-socket-base.cc.
ns3::RttHistory::RttHistory | ( | const RttHistory & | h | ) |
Copy constructor.
h | the object to copy |
Definition at line 4833 of file tcp-socket-base.cc.
uint32_t ns3::RttHistory::count |
Number of bytes sent.
Definition at line 67 of file tcp-socket-base.h.
Referenced by ns3::TcpSocketBase::CalculateRttSample(), and ns3::TcpSocketBase::EstimateRtt().
bool ns3::RttHistory::retx |
True if this has been retransmitted.
Definition at line 69 of file tcp-socket-base.h.
Referenced by ns3::TcpSocketBase::CalculateRttSample().
SequenceNumber32 ns3::RttHistory::seq |
First sequence number in packet sent.
Definition at line 66 of file tcp-socket-base.h.
Referenced by ns3::TcpSocketBase::CalculateRttSample(), and ns3::TcpSocketBase::EstimateRtt().
Time ns3::RttHistory::time |
Time this one was sent.
Definition at line 68 of file tcp-socket-base.h.
Referenced by ns3::TcpSocketBase::CalculateRttSample().