A Discrete-Event Network Simulator
API
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. More...
 

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 56 of file wifi-example-sim.cc.

References NS_LOG_INFO.