A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
uint64_t m_delivered {0}
 The total amount of data in bytes delivered so far.
 
Time m_deliveredTime {Seconds(0)}
 Simulator time when m_delivered was last updated.
 
Time m_firstSentTime
 The send time of the packet that was most recently marked as delivered.
 
bool m_rateAppLimited {false}
 Was sample was taken when data is app limited?
 
int32_t m_rateDelivered
 The amount of data delivered considered to calculate delivery rate.
 
Time m_rateInterval
 The value of interval considered to calculate delivery rate.
 
uint32_t m_txItemDelivered {0}
 The value of delivered when the acked item was sent.
 

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 172 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 178 of file tcp-rate-ops.h.

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

◆ m_delivered

◆ m_deliveredTime

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

◆ 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:1336

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

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

Referenced by ns3::operator<<(), ns3::operator==(), TcpRateLinuxWithSocketsTest::RateUpdatedTrace(), 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 185 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 181 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 183 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 180 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: