#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. | |
Variables | |
uint32_t | bytesReceived = 0 |
Counter of the received bytes. | |
Function called when a packet is received.
context | The context. |
packet | The received packet. |
Definition at line 34 of file object-names.cc.
References bytesReceived, ns3::Time::GetSeconds(), and ns3::Simulator::Now().
uint32_t bytesReceived = 0 |
Counter of the received bytes.
Definition at line 25 of file object-names.cc.
Referenced by RxEvent(), and SocketRx().