A Discrete-Event Network Simulator
API
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. More...
 
uint16_t m_loss {0}
 Percentage of lost packets (decimal value 0-100) More...
 
uint32_t m_received {0}
 Number of echo replies received. More...
 
double m_rttAvg {0}
 rtt avg value More...
 
double m_rttMax {0}
 rtt max value More...
 
double m_rttMdev {0}
 rtt mdev value More...
 
double m_rttMin {0}
 rtt min value More...
 
uint32_t m_transmitted {0}
 Number of echo requests sent. More...
 

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 91 of file ping.h.

Member Data Documentation

◆ m_duration

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

Duration of the application.

Definition at line 96 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 95 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 94 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 98 of file ping.h.

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

◆ m_rttMax

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

rtt max value

Definition at line 99 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 100 of file ping.h.

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

◆ m_rttMin

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

rtt min value

Definition at line 97 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 93 of file ping.h.

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


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