23 #include "ns3/internet-stack-helper.h" 
   24 #include "ns3/ipv4-address-helper.h" 
   25 #include "ns3/ipv4-interface-container.h" 
   26 #include "ns3/ipv4-address.h" 
   27 #include "ns3/simulator.h" 
   28 #include "ns3/wimax-helper.h" 
   29 #include "ns3/cs-parameters.h" 
   30 #include "ns3/ipcs-classifier-record.h" 
   31 #include "ns3/service-flow.h" 
   45   virtual void DoRun (
void);
 
   50   : 
TestCase (
"Test the service flow tlv implementation.")
 
   76   ssDevs = wimax.
Install (ssNodes,
 
   77                           WimaxHelper::DEVICE_TYPE_SUBSCRIBER_STATION,
 
   78                           WimaxHelper::SIMPLE_PHY_TYPE_OFDM,
 
   80   bsDevs = wimax.
Install (bsNodes, WimaxHelper::DEVICE_TYPE_BASE_STATION, WimaxHelper::SIMPLE_PHY_TYPE_OFDM, scheduler);
 
   86   stack.Install (bsNodes);
 
   87   stack.Install (ssNodes);
 
   90   address.
SetBase (
"10.1.1.0", 
"255.255.255.0");
 
  107   CsParameters DlcsParam (CsParameters::ADD, DlClassifierUgs);
 
  130   CsParameters UlcsParam (CsParameters::ADD, UlClassifierUgs);
 
  143   Simulator::Stop (
Seconds (duration));
 
  145   Simulator::Destroy ();
 
holds a vector of std::pair of Ptr and interface index. 
 
void SetMaxSustainedTrafficRate(uint32_t)
 
Ptr< NetDevice > Get(uint32_t i) const 
Get the Ptr stored in this container at a given index. 
 
a class to represent an Ipv4 address mask 
 
SchedulerType
Scheduler Type Different implementations of uplink/downlink scheduler. 
 
aggregate IP/TCP/UDP functionality to existing Nodes. 
 
NetDeviceContainer Install(NodeContainer c, NetDeviceType type, PhyType phyType, SchedulerType schedulerType)
 
void SetMinReservedTrafficRate(uint32_t)
 
void SetServiceSchedulingType(enum ServiceFlow::SchedulingType)
 
void SetMaxTrafficBurst(uint32_t)
 
virtual ~Ns3WimaxSfCreationTestCase()
 
void AddTestCase(TestCase *testCase, enum TestDuration duration)
Add an individual child TestCase to this test suite. 
 
Ns3WimaxSfCreationTestCase()
 
holds a vector of ns3::NetDevice pointers 
 
void SetTrafficPriority(uint8_t)
 
void SetConvergenceSublayerParam(CsParameters)
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
keep track of a set of node pointers. 
 
This class implements service flows as described by the IEEE-802.16 standard. 
 
void SetMaximumLatency(uint32_t)
 
static Ns3WimaxServiceFlowTestSuite ns3WimaxServiceFlowTestSuite
 
Ipv4 addresses are stored in host order in this class. 
 
Ipv4InterfaceContainer Assign(const NetDeviceContainer &c)
Assign IP addresses to the net devices specified in the container based on the current network prefix...
 
void SetMinTolerableTrafficRate(uint32_t)
 
Time Seconds(double value)
Construct a Time in the indicated unit. 
 
helps to manage and create WimaxNetDevice objects 
 
A helper class to make life easier while doing simple IPv4 address assignment in scripts. 
 
virtual void DoRun(void)
Implementation to actually run this TestCase. 
 
void Create(uint32_t n)
Create n nodes and append pointers to them to the end of this NodeContainer. 
 
void SetCsSpecification(enum CsSpecification)
 
Ns3WimaxServiceFlowTestSuite()
 
void SetBase(Ipv4Address network, Ipv4Mask mask, Ipv4Address base="0.0.0.1")
Set the base network number, network mask and base address.