A Discrete-Event Network Simulator
API
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. More...
 
 RttHistory (SequenceNumber32 s, uint32_t c, Time t)
 Constructor - builds an RttHistory with the given parameters. More...
 

Public Attributes

uint32_t count
 Number of bytes sent. More...
 
bool retx
 True if this has been retransmitted. More...
 
SequenceNumber32 seq
 First sequence number in packet sent. More...
 
Time time
 Time this one was sent. More...
 

Detailed Description

Helper class to store RTT measurements.

Definition at line 61 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 4677 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 4685 of file tcp-socket-base.cc.

Member Data Documentation

◆ count

uint32_t ns3::RttHistory::count

Number of bytes sent.

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

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

◆ retx

bool ns3::RttHistory::retx

True if this has been retransmitted.

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

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

◆ seq

SequenceNumber32 ns3::RttHistory::seq

First sequence number in packet sent.

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

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

◆ time

Time ns3::RttHistory::time

Time this one was sent.

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

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


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