#include "ns3/command-line.h"#include "ns3/config.h"#include "ns3/uinteger.h"#include "ns3/double.h"#include "ns3/string.h"#include "ns3/log.h"#include "ns3/yans-wifi-helper.h"#include "ns3/mobility-helper.h"#include "ns3/ipv4-address-helper.h"#include "ns3/yans-wifi-channel.h"#include "ns3/mobility-model.h"#include "ns3/olsr-helper.h"#include "ns3/ipv4-static-routing-helper.h"#include "ns3/ipv4-list-routing-helper.h"#include "ns3/internet-stack-helper.h"
Include dependency graph for wifi-simple-adhoc-grid.cc:Go to the source code of this file.
Functions | |
| static void | GenerateTraffic (Ptr< Socket > socket, uint32_t pktSize, uint32_t pktCount, Time pktInterval) |
| void | ReceivePacket (Ptr< Socket > socket) |
$ ./ns3 run "wifi-simple-adhoc-grid [Program Options]"
--phyMode --distance --packetSize --numPackets --interval --verbose --tracing --numNodes --sinkNode --sourceNode Definition in file wifi-simple-adhoc-grid.cc.
|
static |
Definition at line 100 of file wifi-simple-adhoc-grid.cc.
References ns3::Socket::Close(), GenerateTraffic(), pktSize, and ns3::Socket::Send().
Referenced by GenerateTraffic().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 92 of file wifi-simple-adhoc-grid.cc.
References NS_LOG_UNCOND, and ns3::Socket::Recv().
Here is the call graph for this function: