A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-multirate.cc File Reference
#include "ns3/boolean.h"
#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/double.h"
#include "ns3/flow-monitor-helper.h"
#include "ns3/gnuplot.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/log.h"
#include "ns3/mobility-helper.h"
#include "ns3/mobility-model.h"
#include "ns3/olsr-helper.h"
#include "ns3/on-off-helper.h"
#include "ns3/rectangle.h"
#include "ns3/string.h"
#include "ns3/uinteger.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-helper.h"
+ Include dependency graph for wifi-multirate.cc:

Go to the source code of this file.

Classes

class  Experiment
 WiFi adhoc experiment class. More...
 

Functions

static std::string PrintPosition (Ptr< Node > client, Ptr< Node > server)
 Print the position of two nodes.
 

Function Documentation

◆ PrintPosition()

static std::string PrintPosition ( Ptr< Node > client,
Ptr< Node > server )
inlinestatic

Print the position of two nodes.

Parameters
clientClient node.
serverServer node.
Returns
a string with the nodes data and positions

Definition at line 433 of file wifi-multirate.cc.

References ns3::Ipv4InterfaceAddress::GetAddress(), and ns3::Ipv4InterfaceAddress::GetLocal().

Referenced by Experiment::ApplicationSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: