A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::Ping::PingReport Struct Reference

A ping report provides all of the data that is typically output to the terminal when the application stops, including number sent and received and the RTT statistics. More...

#include "ping.h"

+ Collaboration diagram for ns3::Ping::PingReport:

Public Attributes

Time m_duration {0}
 Duration of the application.
 
uint16_t m_loss {0}
 Percentage of lost packets (decimal value 0-100)
 
uint32_t m_received {0}
 Number of echo replies received.
 
double m_rttAvg {0}
 rtt avg value
 
double m_rttMax {0}
 rtt max value
 
double m_rttMdev {0}
 rtt mdev value
 
double m_rttMin {0}
 rtt min value
 
uint32_t m_transmitted {0}
 Number of echo requests sent.
 

Detailed Description

A ping report provides all of the data that is typically output to the terminal when the application stops, including number sent and received and the RTT statistics.

Definition at line 80 of file ping.h.

Member Data Documentation

◆ m_duration

Time ns3::Ping::PingReport::m_duration {0}

Duration of the application.

Definition at line 85 of file ping.h.

Referenced by ns3::Ping::PrintReport().

◆ m_loss

uint16_t ns3::Ping::PingReport::m_loss {0}

Percentage of lost packets (decimal value 0-100)

Definition at line 84 of file ping.h.

Referenced by ns3::Ping::PrintReport(), and PingTestCase::ReportTraceSink().

◆ m_received

uint32_t ns3::Ping::PingReport::m_received {0}

Number of echo replies received.

Definition at line 83 of file ping.h.

Referenced by ns3::Ping::PrintReport(), and PingTestCase::ReportTraceSink().

◆ m_rttAvg

double ns3::Ping::PingReport::m_rttAvg {0}

rtt avg value

Definition at line 87 of file ping.h.

Referenced by ns3::Ping::PrintReport().

◆ m_rttMax

double ns3::Ping::PingReport::m_rttMax {0}

rtt max value

Definition at line 88 of file ping.h.

Referenced by ns3::Ping::PrintReport(), and PingTestCase::ReportTraceSink().

◆ m_rttMdev

double ns3::Ping::PingReport::m_rttMdev {0}

rtt mdev value

Definition at line 89 of file ping.h.

Referenced by ns3::Ping::PrintReport().

◆ m_rttMin

double ns3::Ping::PingReport::m_rttMin {0}

rtt min value

Definition at line 86 of file ping.h.

Referenced by ns3::Ping::PrintReport(), and PingTestCase::ReportTraceSink().

◆ m_transmitted

uint32_t ns3::Ping::PingReport::m_transmitted {0}

Number of echo requests sent.

Definition at line 82 of file ping.h.

Referenced by ns3::Ping::PrintReport(), and PingTestCase::ReportTraceSink().


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