#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. | |
$ ./ns3 run "wifi-example-sim [Program Options]"
--distance --format --experiment --strategy --run Definition in file wifi-example-sim.cc.
| void TxCallback | ( | Ptr< CounterCalculator< uint32_t > > | datac, |
| std::string | path, | ||
| Ptr< const Packet > | packet | ||
| ) |
Function called when a packet is transmitted.
| datac | The counter of the number of transmitted packets. |
| path | The callback context. |
| packet | The transmitted packet. |
Definition at line 56 of file wifi-example-sim.cc.
References NS_LOG_INFO.