A Discrete-Event Network Simulator
API
lr-wpan-per-plot.cc File Reference
#include <ns3/core-module.h>
#include <ns3/gnuplot.h>
#include <ns3/lr-wpan-module.h>
#include <ns3/mobility-module.h>
#include <ns3/network-module.h>
#include <ns3/propagation-module.h>
#include <ns3/spectrum-module.h>
+ Include dependency graph for lr-wpan-per-plot.cc:

Go to the source code of this file.

Functions

void PacketReceivedCallback (McpsDataIndicationParams params, Ptr< Packet > p)
 Function called when a Data indication is invoked. More...
 

Variables

uint32_t g_packetsReceived = 0
 number of packets received More...
 

Function Documentation

◆ PacketReceivedCallback()

void PacketReceivedCallback ( McpsDataIndicationParams  params,
Ptr< Packet p 
)

Function called when a Data indication is invoked.

Parameters
paramsMCPS data indication parameters
ppacket

Definition at line 57 of file lr-wpan-per-plot.cc.

References g_packetsReceived.

Variable Documentation

◆ g_packetsReceived

uint32_t g_packetsReceived = 0

number of packets received

Definition at line 47 of file lr-wpan-per-plot.cc.

Referenced by PacketReceivedCallback().