A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::RttHistory Class Reference

Helper class to store RTT measurements. More...

#include "tcp-socket-base.h"

+ Collaboration diagram for ns3::RttHistory:

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.
 

Detailed Description

Helper class to store RTT measurements.

Definition at line 50 of file tcp-socket-base.h.

Constructor & Destructor Documentation

◆ RttHistory() [1/2]

ns3::RttHistory::RttHistory ( SequenceNumber32 s,
uint32_t c,
Time t )

Constructor - builds an RttHistory with the given parameters.

Parameters
sFirst sequence number in packet sent
cNumber of bytes sent
tTime this one was sent

Definition at line 4825 of file tcp-socket-base.cc.

◆ RttHistory() [2/2]

ns3::RttHistory::RttHistory ( const RttHistory & h)

Copy constructor.

Parameters
hthe object to copy

Definition at line 4833 of file tcp-socket-base.cc.

Member Data Documentation

◆ count

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().

◆ retx

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().

◆ seq

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

Time ns3::RttHistory::time

Time this one was sent.

Definition at line 68 of file tcp-socket-base.h.

Referenced by ns3::TcpSocketBase::CalculateRttSample().


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