A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
nsclick-simple-lan Namespace Reference

Variables

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

Variable Documentation

◆ appcont

nsclick-simple-lan.appcont = ns.ApplicationContainer()

Definition at line 61 of file nsclick-simple-lan.py.

◆ clickConfigFolder

nsclick-simple-lan.clickConfigFolder = os.path.dirname(__file__)

Definition at line 22 of file nsclick-simple-lan.py.

◆ clickinternet

nsclick-simple-lan.clickinternet = ns.ClickInternetStackHelper()

Definition at line 38 of file nsclick-simple-lan.py.

◆ csma

nsclick-simple-lan.csma = ns.CsmaHelper()

Definition at line 28 of file nsclick-simple-lan.py.

◆ csmaDevices

nsclick-simple-lan.csmaDevices = csma.Install(csmaNodes)

Definition at line 31 of file nsclick-simple-lan.py.

◆ csmaNodes

nsclick-simple-lan.csmaNodes = ns.NodeContainer()

Definition at line 24 of file nsclick-simple-lan.py.

◆ internet

nsclick-simple-lan.internet = ns.InternetStackHelper()

Definition at line 34 of file nsclick-simple-lan.py.

◆ ipv4

nsclick-simple-lan.ipv4 = ns.Ipv4AddressHelper()

Definition at line 46 of file nsclick-simple-lan.py.

◆ LocalAddress

nsclick-simple-lan.LocalAddress = ns.InetSocketAddress(ns.Ipv4Address.GetAny(), 50000).ConvertTo()

Definition at line 51 of file nsclick-simple-lan.py.

◆ onOffHelper

nsclick-simple-lan.onOffHelper = ns.OnOffHelper("ns3::TcpSocketFactory", ns.Address())

Definition at line 57 of file nsclick-simple-lan.py.

◆ packetSinkHelper

nsclick-simple-lan.packetSinkHelper = ns.PacketSinkHelper("ns3::TcpSocketFactory", LocalAddress)

Definition at line 52 of file nsclick-simple-lan.py.

◆ recvapp

nsclick-simple-lan.recvapp = packetSinkHelper.Install(csmaNodes.Get(1))

Definition at line 53 of file nsclick-simple-lan.py.

◆ remoteAddress

nsclick-simple-lan.remoteAddress = ns.InetSocketAddress(ns.Ipv4Address("172.16.1.2"), 50000).ConvertTo()

Definition at line 63 of file nsclick-simple-lan.py.