A Discrete-Event Network Simulator
object-names.cc File Reference
#include "ns3/core-module.h"
#include "ns3/csma-module.h"
#include "ns3/applications-module.h"
#include "ns3/internet-module.h"
+ Include dependency graph for object-names.cc:

Go to the source code of this file.


void RxEvent (std::string context, Ptr< const Packet > packet)


uint32_t bytesReceived = 0

Function Documentation

◆ RxEvent()

void RxEvent ( std::string  context,
Ptr< const Packet packet 

Definition at line 39 of file object-names.cc.

References bytesReceived, ns3::Time::GetSeconds(), ns3::Packet::GetSize(), and ns3::Simulator::Now().

+ Here is the call graph for this function:

Variable Documentation

◆ bytesReceived

uint32_t bytesReceived = 0

Definition at line 36 of file object-names.cc.

Referenced by RxEvent().