A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-example-sim.cc File Reference
#include "wifi-example-apps.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/stats-module.h"
#include "ns3/wifi-module.h"
#include <ctime>
#include <sstream>
+ Include dependency graph for wifi-example-sim.cc:

Go to the source code of this file.

Functions

void TxCallback (Ptr< CounterCalculator< uint32_t > > datac, std::string path, Ptr< const Packet > packet)
 Function called when a packet is transmitted.
 

Function Documentation

◆ TxCallback()

void TxCallback ( Ptr< CounterCalculator< uint32_t > > datac,
std::string path,
Ptr< const Packet > packet )

Function called when a packet is transmitted.

Parameters
datacThe counter of the number of transmitted packets.
pathThe callback context.
packetThe transmitted packet.

Definition at line 45 of file wifi-example-sim.cc.

References NS_LOG_INFO.