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() | |
nsclick-simple-lan.appcont = ns.ApplicationContainer() |
Definition at line 61 of file nsclick-simple-lan.py.
nsclick-simple-lan.clickConfigFolder = os.path.dirname(__file__) |
Definition at line 22 of file nsclick-simple-lan.py.
nsclick-simple-lan.clickinternet = ns.ClickInternetStackHelper() |
Definition at line 38 of file nsclick-simple-lan.py.
nsclick-simple-lan.csma = ns.CsmaHelper() |
Definition at line 28 of file nsclick-simple-lan.py.
nsclick-simple-lan.csmaDevices = csma.Install(csmaNodes) |
Definition at line 31 of file nsclick-simple-lan.py.
nsclick-simple-lan.csmaNodes = ns.NodeContainer() |
Definition at line 24 of file nsclick-simple-lan.py.
nsclick-simple-lan.internet = ns.InternetStackHelper() |
Definition at line 34 of file nsclick-simple-lan.py.
nsclick-simple-lan.ipv4 = ns.Ipv4AddressHelper() |
Definition at line 46 of file nsclick-simple-lan.py.
nsclick-simple-lan.LocalAddress = ns.InetSocketAddress(ns.Ipv4Address.GetAny(), 50000).ConvertTo() |
Definition at line 51 of file nsclick-simple-lan.py.
nsclick-simple-lan.onOffHelper = ns.OnOffHelper("ns3::TcpSocketFactory", ns.Address()) |
Definition at line 57 of file nsclick-simple-lan.py.
nsclick-simple-lan.packetSinkHelper = ns.PacketSinkHelper("ns3::TcpSocketFactory", LocalAddress) |
Definition at line 52 of file nsclick-simple-lan.py.
nsclick-simple-lan.recvapp = packetSinkHelper.Install(csmaNodes.Get(1)) |
Definition at line 53 of file nsclick-simple-lan.py.
nsclick-simple-lan.remoteAddress = ns.InetSocketAddress(ns.Ipv4Address("172.16.1.2"), 50000).ConvertTo() |
Definition at line 63 of file nsclick-simple-lan.py.