A Discrete-Event Network Simulator
wifi-simple-adhoc.cc File Reference
#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
#include "ns3/wifi-module.h"
#include "ns3/internet-module.h"
+ Include dependency graph for wifi-simple-adhoc.cc:

Go to the source code of this file.


static void GenerateTraffic (Ptr< Socket > socket, uint32_t pktSize, uint32_t pktCount, Time pktInterval)
void ReceivePacket (Ptr< Socket > socket)

Function Documentation

static void GenerateTraffic ( Ptr< Socket socket,
uint32_t  pktSize,
uint32_t  pktCount,
Time  pktInterval 

Definition at line 70 of file wifi-simple-adhoc.cc.

References ns3::Socket::Close(), ns3::Simulator::Schedule(), and ns3::Socket::Send().

+ Here is the call graph for this function:

void ReceivePacket ( Ptr< Socket socket)

Definition at line 62 of file wifi-simple-adhoc.cc.

References NS_LOG_UNCOND, and ns3::Socket::Recv().

+ Here is the call graph for this function: