A Discrete-Event Network Simulator
API
ns3::flame::FlameProtocolMac::Statistics Struct Reference

Statistics structure. More...

+ Collaboration diagram for ns3::flame::FlameProtocolMac::Statistics:

Public Member Functions

 Statistics ()
 constructor More...
 
void Print (std::ostream &os) const
 Print function. More...
 

Public Attributes

uint16_t rxBroadcast
 receive broadcast More...
 
uint32_t rxBytes
 receive bytes More...
 
uint16_t rxUnicast
 receive unicast More...
 
uint16_t txBroadcast
 transit broadcast More...
 
uint32_t txBytes
 transmit bytes More...
 
uint16_t txUnicast
 transmit unicast More...
 

Detailed Description

Statistics structure.

Definition at line 108 of file flame-protocol-mac.h.

Constructor & Destructor Documentation

◆ Statistics()

ns3::flame::FlameProtocolMac::Statistics::Statistics ( )

constructor

Definition at line 114 of file flame-protocol-mac.cc.

Member Function Documentation

◆ Print()

void ns3::flame::FlameProtocolMac::Statistics::Print ( std::ostream &  os) const

Print function.

Parameters
osthe output stream

Definition at line 125 of file flame-protocol-mac.cc.

Referenced by ns3::flame::FlameProtocolMac::Report().

+ Here is the caller graph for this function:

Member Data Documentation

◆ rxBroadcast

uint16_t ns3::flame::FlameProtocolMac::Statistics::rxBroadcast

receive broadcast

Definition at line 114 of file flame-protocol-mac.h.

Referenced by ns3::flame::FlameProtocolMac::Receive().

◆ rxBytes

uint32_t ns3::flame::FlameProtocolMac::Statistics::rxBytes

receive bytes

Definition at line 115 of file flame-protocol-mac.h.

Referenced by ns3::flame::FlameProtocolMac::Receive().

◆ rxUnicast

uint16_t ns3::flame::FlameProtocolMac::Statistics::rxUnicast

receive unicast

Definition at line 113 of file flame-protocol-mac.h.

Referenced by ns3::flame::FlameProtocolMac::Receive().

◆ txBroadcast

uint16_t ns3::flame::FlameProtocolMac::Statistics::txBroadcast

transit broadcast

Definition at line 111 of file flame-protocol-mac.h.

Referenced by ns3::flame::FlameProtocolMac::UpdateOutcomingFrame().

◆ txBytes

uint32_t ns3::flame::FlameProtocolMac::Statistics::txBytes

transmit bytes

Definition at line 112 of file flame-protocol-mac.h.

Referenced by ns3::flame::FlameProtocolMac::UpdateOutcomingFrame().

◆ txUnicast

uint16_t ns3::flame::FlameProtocolMac::Statistics::txUnicast

transmit unicast

Definition at line 110 of file flame-protocol-mac.h.

Referenced by ns3::flame::FlameProtocolMac::UpdateOutcomingFrame().


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