#include <iostream>
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/mobility-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/wifi-module.h"
#include "ns3/internet-module.h"
#include "ns3/csma-module.h"
#include "ns3/applications-module.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/tap-bridge-module.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("TapDumbbellExample") |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 118 of file tap-wifi-dumbbell.cc.
References ns3::NetDeviceContainer::Add(), ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::GlobalValue::Bind(), ns3::YansWifiChannelHelper::Create(), ns3::NodeContainer::Create(), ns3::NqosWifiMacHelper::Default(), ns3::YansWifiChannelHelper::Default(), ns3::WifiHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Simulator::Destroy(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::PacketSinkHelper::Install(), ns3::OnOffHelper::Install(), ns3::CsmaHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), ns3::MobilityHelper::Install(), ns3::MilliSeconds(), ns3::CommandLine::Parse(), ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), port, ns3::Simulator::Run(), ns3::Seconds(), ns3::TapBridgeHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::CsmaHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::OnOffHelper::SetConstantRate(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::WifiHelper::SetRemoteStationManager(), ns3::NqosWifiMacHelper::SetType(), ns3::ApplicationContainer::Start(), and ns3::Simulator::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "TapDumbbellExample" | ) |