#include <iostream>
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/csma-module.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 ("TapCsmaVirtualMachineExample") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 74 of file tap-csma-virtual-machine.cc.
References ns3::GlobalValue::Bind(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), first::devices, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::TapBridgeHelper::Install(), ns3::CsmaHelper::Install(), first::nodes, ns3::CommandLine::Parse(), ns3::Simulator::Run(), ns3::TapBridgeHelper::SetAttribute(), and ns3::Simulator::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "TapCsmaVirtualMachineExample" | ) |