A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
pfifo-vs-red.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-layout-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/traffic-control-module.h"
#include <iomanip>
#include <iostream>
#include <map>
+ Include dependency graph for pfifo-vs-red.cc:

Go to the source code of this file.

Detailed Description

Usage

$ ./ns3 run "pfifo-vs-red [Program Options]"

Program Options

--nLeaf
Number of left and right side leaf nodes [5]
--maxPackets
Max Packets allowed in the device queue [100]
--queueDiscLimitPackets
Max Packets allowed in the queue disc [1000]
--queueDiscType
Set QueueDisc type to PfifoFast or RED [PfifoFast]
--appPktSize
Set OnOff App Packet Size [512]
--appDataRate
Set OnOff App DataRate [10Mbps]
--modeBytes
Set QueueDisc mode to Packets <0> or bytes <1> [0]
--redMinTh
RED queue minimum threshold [50]
--redMaxTh
RED queue maximum threshold [80]

Definition in file pfifo-vs-red.cc.