#include <sys/socket.h>
#include <errno.h>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/fd-net-device-module.h"
#include "ns3/applications-module.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("DummyNetworkExample") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 36 of file dummy-network.cc.
References ns3::Node::AddApplication(), ns3::Ipv4AddressHelper::Assign(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), first::devices, ns3::PcapHelperForDevice::EnablePcapAll(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Object::GetObject(), ns3::FdNetDeviceHelper::Install(), ns3::InternetStackHelper::Install(), first::interfaces, first::nodes, NS_FATAL_ERROR, ns3::Simulator::Run(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::FdNetDevice::SetFileDescriptor(), ns3::Application::SetStartTime(), ns3::Application::SetStopTime(), first::stack, and ns3::Simulator::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "DummyNetworkExample" | ) |