A Discrete-Event Network Simulator
API
nsclick-simple-lan.py File Reference

Go to the source code of this file.

Namespaces

 nsclick-simple-lan
 

Variables

 nsclick-simple-lan.appcont = ns.ApplicationContainer()
 
 nsclick-simple-lan.clickConfigFolder = os.path.dirname(__file__)
 
 nsclick-simple-lan.clickinternet = ns.ClickInternetStackHelper()
 
 nsclick-simple-lan.csma = ns.CsmaHelper()
 
 nsclick-simple-lan.csmaDevices = csma.Install(csmaNodes)
 
 nsclick-simple-lan.csmaNodes = ns.NodeContainer()
 
 nsclick-simple-lan.internet = ns.InternetStackHelper()
 
 nsclick-simple-lan.ipv4 = ns.Ipv4AddressHelper()
 
 nsclick-simple-lan.LocalAddress = ns.InetSocketAddress(ns.Ipv4Address.GetAny(), 50000).ConvertTo()
 
 nsclick-simple-lan.onOffHelper = ns.OnOffHelper("ns3::TcpSocketFactory", ns.Address())
 
 nsclick-simple-lan.packetSinkHelper = ns.PacketSinkHelper("ns3::TcpSocketFactory", LocalAddress)
 
 nsclick-simple-lan.recvapp = packetSinkHelper.Install(csmaNodes.Get(1))
 
 nsclick-simple-lan.remoteAddress = ns.InetSocketAddress(ns.Ipv4Address("172.16.1.2"), 50000).ConvertTo()