A Discrete-Event Network Simulator
API
ns3::TcpRateOps::TcpRateConnection Struct Reference

Information about the connection rate. More...

#include "tcp-rate-ops.h"

+ Collaboration diagram for ns3::TcpRateOps::TcpRateConnection:

Public Attributes

uint32_t m_appLimited
 The index of the last transmitted packet marked as application-limited. More...
 
uint64_t m_delivered {0}
 The total amount of data in bytes delivered so far. More...
 
Time m_deliveredTime {Seconds(0)}
 Simulator time when m_delivered was last updated. More...
 
Time m_firstSentTime
 The send time of the packet that was most recently marked as delivered. More...
 
bool m_rateAppLimited {false}
 Was sample was taken when data is app limited? More...
 
int32_t m_rateDelivered
 The amount of data delivered considered to calculate delivery rate. More...
 
Time m_rateInterval
 The value of interval considered to calculate delivery rate. More...
 
uint32_t m_txItemDelivered {0}
 The value of delivered when the acked item was sent. More...
 

Detailed Description

Information about the connection rate.

In this struct, the values are for the entire connection, and not just for an interval of time

Definition at line 173 of file tcp-rate-ops.h.

Member Data Documentation

◆ m_appLimited

uint32_t ns3::TcpRateOps::TcpRateConnection::m_appLimited
Initial value:
{
0}

The index of the last transmitted packet marked as application-limited.

Definition at line 179 of file tcp-rate-ops.h.

Referenced by ns3::TcpRateLinux::CalculateAppLimited(), ns3::TcpRateLinux::GenerateSample(), ns3::operator<<(), ns3::operator==(), and ns3::TcpRateLinux::SkbSent().

◆ m_delivered

uint64_t ns3::TcpRateOps::TcpRateConnection::m_delivered {0}

◆ m_deliveredTime

Time ns3::TcpRateOps::TcpRateConnection::m_deliveredTime {Seconds(0)}

Simulator time when m_delivered was last updated.

Definition at line 176 of file tcp-rate-ops.h.

Referenced by ns3::operator<<(), ns3::operator==(), ns3::TcpRateLinux::SkbDelivered(), and ns3::TcpRateLinux::SkbSent().

◆ m_firstSentTime

Time ns3::TcpRateOps::TcpRateConnection::m_firstSentTime
Initial value:
{
Seconds(0)}
Time Seconds(double value)
Construct a Time in the indicated unit.
Definition: nstime.h:1326

The send time of the packet that was most recently marked as delivered.

Definition at line 177 of file tcp-rate-ops.h.

Referenced by ns3::operator<<(), ns3::operator==(), ns3::TcpRateLinux::SkbDelivered(), and ns3::TcpRateLinux::SkbSent().

◆ m_rateAppLimited

bool ns3::TcpRateOps::TcpRateConnection::m_rateAppLimited {false}

Was sample was taken when data is app limited?

Definition at line 186 of file tcp-rate-ops.h.

Referenced by ns3::TcpRateLinux::GenerateSample(), and ns3::operator<<().

◆ m_rateDelivered

int32_t ns3::TcpRateOps::TcpRateConnection::m_rateDelivered
Initial value:
{
0}

The amount of data delivered considered to calculate delivery rate.

Definition at line 182 of file tcp-rate-ops.h.

Referenced by ns3::TcpRateLinux::GenerateSample(), and ns3::operator<<().

◆ m_rateInterval

Time ns3::TcpRateOps::TcpRateConnection::m_rateInterval
Initial value:
{
Seconds(0)}

The value of interval considered to calculate delivery rate.

Definition at line 184 of file tcp-rate-ops.h.

Referenced by ns3::TcpRateLinux::GenerateSample(), and ns3::operator<<().

◆ m_txItemDelivered

uint32_t ns3::TcpRateOps::TcpRateConnection::m_txItemDelivered {0}

The value of delivered when the acked item was sent.

Definition at line 181 of file tcp-rate-ops.h.

Referenced by ns3::operator<<(), and ns3::TcpRateLinux::SkbDelivered().


The documentation for this struct was generated from the following file: