#include "ns3/command-line.h"#include "ns3/config.h"#include "ns3/double.h"#include "ns3/internet-stack-helper.h"#include "ns3/ipv4-address-helper.h"#include "ns3/log.h"#include "ns3/mobility-helper.h"#include "ns3/mobility-model.h"#include "ns3/ssid.h"#include "ns3/string.h"#include "ns3/yans-wifi-channel.h"#include "ns3/yans-wifi-helper.h"
Include dependency graph for wifi-simple-infra.cc:Go to the source code of this file.
Functions | |
| static void | GenerateTraffic (Ptr< Socket > socket, uint32_t pktSize, uint32_t pktCount, Time pktInterval) |
| Generate traffic. | |
| void | ReceivePacket (Ptr< Socket > socket) |
| Function called when a packet is received. | |
$ ./ns3 run "wifi-simple-infra [Program Options]"
--phyMode --rss --packetSize --numPackets --interval --verbose Definition in file wifi-simple-infra.cc.
|
static |
Generate traffic.
| socket | The sending socket. |
| pktSize | The packet size. |
| pktCount | The packet count. |
| pktInterval | The interval between two packets. |
Definition at line 123 of file wifi-simple-infra.cc.
References GenerateTraffic(), NS_LOG_INFO, pktSize, and ns3::Simulator::Schedule().
Referenced by GenerateTraffic().
Here is the call graph for this function:
Here is the caller graph for this function:Function called when a packet is received.
| socket | The receiving socket. |
Definition at line 106 of file wifi-simple-infra.cc.