A Discrete-Event Network Simulator
API
mesh.cc File Reference
#include <iostream>
#include <sstream>
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/mesh-module.h"
#include "ns3/mobility-module.h"
#include "ns3/mesh-helper.h"
#include "ns3/yans-wifi-helper.h"
+ Include dependency graph for mesh.cc:

Go to the source code of this file.

Classes

class  MeshTest
 MeshTest class. More...
 

Detailed Description

Usage

$ ./waf –run "mesh [Program Options]"

Program Options

–x-size
Number of nodes in a row grid [3]
–y-size
Number of rows in a grid [3]
–step
Size of edge in our grid (meters) [100]
–start
Maximum random start delay for beacon jitter (sec) [0.1]
–time
Simulation time (sec) [100]
–packet-interval
Interval between packets in UDP ping (sec) [0.1]
–packet-size
Size of packets in UDP ping (bytes) [1024]
–interfaces
Number of radio interfaces used by each mesh point [1]
–channels
Use different frequency channels for different interfaces [true]
–pcap
Enable PCAP traces on interfaces [false]
–ascii
Enable Ascii traces on interfaces [false]
–stack
Type of protocol stack. ns3::Dot11sStack by default [ns3::Dot11sStack]
–root
Mac address of root mesh point in HWMP [ff:ff:ff:ff:ff:ff]

Definition in file mesh.cc.