A Discrete-Event Network Simulator
wifi-simple-interference.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-interference.cc:

Go to the source code of this file.


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

Function Documentation

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

Definition at line 113 of file wifi-simple-interference.cc.

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

+ Here is the call graph for this function:

static std::string PrintReceivedPacket ( Ptr< Socket socket)

Definition at line 91 of file wifi-simple-interference.cc.

References ns3::InetSocketAddress::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), ns3::InetSocketAddress::GetPort(), ns3::Socket::GetSockName(), and ns3::Socket::Recv().

Referenced by ReceivePacket().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ReceivePacket ( Ptr< Socket socket)

Definition at line 108 of file wifi-simple-interference.cc.

References NS_LOG_UNCOND, and PrintReceivedPacket().

+ Here is the call graph for this function: