#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/csma-module.h"
#include "ns3/internet-module.h"
Go to the source code of this file.
Functions | |
void | RxEvent (std::string context, Ptr< const Packet > packet) |
Function called when a packet is received. More... | |
Variables | |
uint32_t | bytesReceived = 0 |
Counter of the received bytes. More... | |
Function called when a packet is received.
context | The context. |
packet | The received packet. |
Definition at line 45 of file object-names.cc.
References bytesReceived, ns3::Time::GetSeconds(), ns3::Packet::GetSize(), and ns3::Simulator::Now().
uint32_t bytesReceived = 0 |
Counter of the received bytes.
Definition at line 36 of file object-names.cc.
Referenced by RxEvent().