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 72 of file nsclick-simple-lan.py.
nsclick-simple-lan.clickConfigFolder = os.path.dirname(__file__) |
Definition at line 33 of file nsclick-simple-lan.py.
nsclick-simple-lan.clickinternet = ns.ClickInternetStackHelper() |
Definition at line 49 of file nsclick-simple-lan.py.
nsclick-simple-lan.csma = ns.CsmaHelper() |
Definition at line 39 of file nsclick-simple-lan.py.
nsclick-simple-lan.csmaDevices = csma.Install(csmaNodes) |
Definition at line 42 of file nsclick-simple-lan.py.
nsclick-simple-lan.csmaNodes = ns.NodeContainer() |
Definition at line 35 of file nsclick-simple-lan.py.
nsclick-simple-lan.internet = ns.InternetStackHelper() |
Definition at line 45 of file nsclick-simple-lan.py.
Referenced by ns3::NoBackhaulEpcHelper.NoBackhaulEpcHelper(), AddClickInternetStack(), ns3::NoBackhaulEpcHelper.AddEnb(), ns3::NoBackhaulEpcHelper.AssignStreams(), ns3::olsr::Bug780Test.CreateNodes(), ns3::olsr::HelloRegressionTest.CreateNodes(), ns3::olsr::TcRegressionTest.CreateNodes(), BulkSendBasicTestCase.DoRun(), BulkSendSeqTsSizeTestCase.DoRun(), UdpClientServerTestCase.DoRun(), UdpTraceClientServerTestCase.DoRun(), UdpEchoClientSetFillTestCase.DoRun(), IcmpEchoReplyTestCase.DoRun(), IcmpTimeExceedTestCase.DoRun(), IcmpV6EchoReplyTestCase.DoRun(), IcmpV6TimeExceedTestCase.DoRun(), InternetStackHelperTestCase.DoRun(), Ipv4DeduplicationTest.DoRun(), Ipv4DeduplicationPerformanceTest.DoRun(), Ipv4ForwardingTest.DoRun(), Ipv4FragmentationTest.DoRun(), Ipv4DynamicGlobalRoutingTestCase.DoRun(), Ipv4GlobalRoutingSlash32TestCase.DoRun(), Ipv4HeaderTest.DoRun(), Ipv4PacketInfoTagTest.DoRun(), Ipv4RawSocketImplTest.DoRun(), Ipv4StaticRoutingSlash32TestCase.DoRun(), Ipv6FragmentationTest.DoRun(), Ipv6PacketInfoTagTest.DoRun(), ChannelTest.DoRun(), NetDeviceContainerTest.DoRun(), InterfaceContainerTest.DoRun(), FlushTest.DoRun(), DuplicateTest.DoRun(), DynamicPartialTest.DoRun(), TcpEndPointBug2211Test.DoRun(), ns3::TcpGeneralTest.DoRun(), TcpSynConnectionFailedTest.DoRun(), UdpSocketLoopbackTest.DoRun(), Udp6SocketLoopbackTest.DoRun(), UdpSocketImplTest.DoRun(), EpcS1uDlTestCase.DoRun(), EpcS1uUlTestCase.DoRun(), LteCellSelectionTestCase.DoRun(), LenaCqaFfMacSchedulerTestCase1.DoRun(), LenaCqaFfMacSchedulerTestCase2.DoRun(), ns3::LenaDeactivateBearerTestCase.DoRun(), LenaFdTbfqFfMacSchedulerTestCase1.DoRun(), LenaFdTbfqFfMacSchedulerTestCase2.DoRun(), LteDistributedFfrAreaTestCase.DoRun(), LteIpv6RoutingTestCase.DoRun(), LtePrimaryCellChangeTestCase.DoRun(), LenaPssFfMacSchedulerTestCase1.DoRun(), LenaPssFfMacSchedulerTestCase2.DoRun(), LteRadioLinkFailureTestCase.DoRun(), LteSecondaryCellHandoverTestCase.DoRun(), LteSecondaryCellSelectionTestCase.DoRun(), LenaTdTbfqFfMacSchedulerTestCase1.DoRun(), LenaTdTbfqFfMacSchedulerTestCase2.DoRun(), LteUeMeasurementsHandoverTestCase.DoRun(), LteEpcE2eDataTestCase.DoRun(), LteHandoverTargetTestCase.DoRun(), LteX2HandoverMeasuresTestCase.DoRun(), LteX2HandoverTestCase.DoRun(), SixlowpanFragmentationTest.DoRun(), SixlowpanHc1ImplTest.DoRun(), SixlowpanIphcImplTest.DoRun(), CsmaBridgeTestCase.DoRun(), CsmaBroadcastTestCase.DoRun(), CsmaMulticastTestCase.DoRun(), CsmaOneSubnetTestCase.DoRun(), CsmaStarTestCase.DoRun(), Ns3TcpCubicTestCase.DoRun(), Ns3TcpLossTestCase.DoRun(), Ns3TcpNoDelayTestCase.DoRun(), Ns3TcpSocketTestCaseP2P.DoRun(), Ns3TcpSocketTestCaseCsma.DoRun(), Ns3TcpStateTestCase.DoRun(), LinkTest.DoSetup(), LanTest.DoSetup(), TwoLinkTest.DoSetup(), TwoLanTest.DoSetup(), BridgeTest.DoSetup(), TwoBridgeTest.DoSetup(), experiment(), LteAggregationThroughputScaleTestCase.GetThroughput(), RoutingExperiment.Run(), and Experiment.Run().
nsclick-simple-lan.ipv4 = ns.Ipv4AddressHelper() |
Definition at line 57 of file nsclick-simple-lan.py.
Referenced by ns3::InetSocketAddress.InetSocketAddress(), Tunnel.Tunnel(), ns3::DhcpClient.AcceptAck(), ns3::Ipv4InterfaceContainer.Add(), ns3::Ipv4StaticRoutingHelper.AddMulticastRoute(), AddNetworkDevice(), ns3::dsr::DsrOptionRreqHeader.AddNodeAddress(), TcpTestCase.AddSimpleNetDevice(), AddSimpleNetDevice(), ns3::ClickInternetStackHelper.AsciiHooked(), ns3::InternetStackHelper.AsciiHooked(), ns3::Ipv4AddressHelper.Assign(), ns3::AodvHelper.AssignStreams(), ns3::InternetStackHelper.AssignStreams(), ns3::RipHelper.AssignStreams(), ns3::OlsrHelper.AssignStreams(), benchA(), benchB(), benchC(), benchD(), benchFragment(), ns3::TcpSocketBase.Bind(), ns3::UdpSocketImpl.Bind(), C1(), ns3::Ipv4L3Protocol.CallTxTrace(), ns3::Ipv4RawSocketImpl.Close(), ns3::InetSocketAddress.ConvertFrom(), ns3::ArpL3Protocol.CreateCache(), CreateDualStackNode(), TcpTestCase.CreateInternetNode(), ns3::olsr::HelloRegressionTest.CreateNodes(), ns3::olsr::TcRegressionTest.CreateNodes(), ns3::Ipv4RawSocketFactoryImpl.CreateSocket(), ns3::TapBridge.CreateTap(), ns3::Ipv4Address.Deserialize(), BulkSendBasicTestCase.DoRun(), BulkSendSeqTsSizeTestCase.DoRun(), UdpClientServerTestCase.DoRun(), UdpTraceClientServerTestCase.DoRun(), UdpEchoClientSetFillTestCase.DoRun(), ClickIfidFromNameTest.DoRun(), ClickIpMacAddressFromNameTest.DoRun(), ClickTrivialTest.DoRun(), IcmpEchoReplyTestCase.DoRun(), Ipv4DeduplicationTest.DoRun(), Ipv4DeduplicationPerformanceTest.DoRun(), Ipv4ForwardingTest.DoRun(), Ipv4FragmentationTest.DoRun(), Ipv4DynamicGlobalRoutingTestCase.DoRun(), Ipv4GlobalRoutingSlash32TestCase.DoRun(), Ipv4HeaderTest.DoRun(), Ipv4PacketInfoTagTest.DoRun(), Ipv4RawSocketImplTest.DoRun(), Ipv4RipTest.DoRun(), Ipv4RipCountToInfinityTest.DoRun(), Ipv4RipSplitHorizonStrategyTest.DoRun(), Ipv4StaticRoutingSlash32TestCase.DoRun(), Ipv4L3ProtocolTestCase.DoRun(), DynamicNeighborCacheTest.DoRun(), ChannelTest.DoRun(), NetDeviceContainerTest.DoRun(), InterfaceContainerTest.DoRun(), FlushTest.DoRun(), DuplicateTest.DoRun(), DynamicPartialTest.DoRun(), ns3::TcpGeneralTest.DoRun(), UdpSocketImplTest.DoRun(), NixVectorRoutingTest.DoRun(), CsmaBridgeTestCase.DoRun(), CsmaBroadcastTestCase.DoRun(), CsmaOneSubnetTestCase.DoRun(), Ns3TcpCubicTestCase.DoRun(), Ns3TcpLossTestCase.DoRun(), Ns3TcpStateTestCase.DoRun(), ns3::UdpSocketImpl.DoSendTo(), LinkTest.DoSetup(), LanTest.DoSetup(), TwoLinkTest.DoSetup(), TwoLanTest.DoSetup(), Ipv4DeduplicationTest.DropPkt(), ns3::AsciiTraceHelperForIpv4.EnableAsciiIpv4(), ns3::AsciiTraceHelperForIpv4.EnableAsciiIpv4Impl(), ns3::ClickInternetStackHelper.EnableAsciiIpv4Internal(), ns3::InternetStackHelper.EnableAsciiIpv4Internal(), ns3::PcapHelperForIpv4.EnablePcapIpv4(), ns3::ClickInternetStackHelper.EnablePcapIpv4Internal(), ns3::InternetStackHelper.EnablePcapIpv4Internal(), experiment(), ns3::GlobalRouter.FindDesignatedRouterForLink(), ns3::GlobalRouteManagerImpl.FindOutgoingInterfaceId(), ns3::Icmpv4L4Protocol.Forward(), ns3::Ipv4InterfaceContainer.GetAddress(), ns3::dsr::DsrOptions.GetIDfromIP(), ns3::dsr::DsrRouting.GetIDfromIP(), ns3::dsr::DsrRouting.GetIPfromID(), ns3::dsr::DsrRouting.GetIPfromMAC(), ns3::AnimationInterface.GetIpv4Address(), ns3::AnimationInterface.GetIpv4Addresses(), ns3::AnimationInterface.GetIpv4RoutingTable(), ns3::dsr::DsrOptions.GetNodeWithAddress(), ns3::dsr::DsrRouting.GetNodeWithAddress(), ns3::Ipv4StaticRoutingHelper.GetStaticRouting(), ns3::FlowMonitorHelper.Install(), ns3::ClickInternetStackHelper.Install(), ns3::InternetStackHelper.Install(), ns3::DhcpHelper.InstallDhcpClientPriv(), ns3::DhcpHelper.InstallDhcpServer(), ns3::DhcpHelper.InstallFixedAddress(), ns3.Ipv4L3ProtocolDropSinkWithContext(), ns3.Ipv4L3ProtocolDropSinkWithoutContext(), ns3.Ipv4L3ProtocolRxSinkWithContext(), ns3.Ipv4L3ProtocolRxSinkWithoutContext(), ns3.Ipv4L3ProtocolRxTxSink(), ns3.Ipv4L3ProtocolTxSinkWithContext(), ns3.Ipv4L3ProtocolTxSinkWithoutContext(), ns3::addressUtils.IsMulticast(), ns3::Icmpv4L4Protocol.NotifyNewAggregate(), ns3::TcpL4Protocol.NotifyNewAggregate(), ns3::UdpL4Protocol.NotifyNewAggregate(), ns3::ThreeGppHttpClient.OpenConnection(), ns3::ClickInternetStackHelper.PcapHooked(), ns3::InternetStackHelper.PcapHooked(), ns3::NeighborCacheHelper.PopulateNeighborCache(), ns3::Ipv4RoutingHelper.Print(), ns3::Ipv4RoutingHelper.PrintArpCache(), ns3::Ipv4RoutingHelper.PrintArpCacheEvery(), ns3::Ipv4RoutingHelper.PrintEvery(), ns3::V4TraceRoute.Receive(), ns3::olsr::Bug780Test.Receive(), IcmpEchoReplyTestCase.ReceivePkt(), IcmpTimeExceedTestCase.ReceivePkt(), ns3::AnimationInterface.RecursiveIpv4RoutePathSearch(), ns3::ArpL3Protocol.SendArpRequest(), ns3::Icmpv4L4Protocol.SendMessage(), ns3::DhcpServer.SendOffer(), ns3::TcpL4Protocol.SendPacketV4(), ns3::UdpSocketImpl.SendTo(), ns3::Ipv4RawSocketImpl.SendTo(), ns3::Ipv4StaticRoutingHelper.SetDefaultMulticastRoute(), ns3::RipHelper.SetDefaultRouter(), ns3::NixVectorRouting< T >.SetIpv4(), ns3::aodv::RoutingProtocol.SetIpv4(), ns3::Ipv4ClickRouting.SetIpv4(), ns3::dsdv::RoutingProtocol.SetIpv4(), ns3::Ipv4GlobalRouting.SetIpv4(), ns3::Ipv4ListRouting.SetIpv4(), ns3::Ipv4StaticRouting.SetIpv4(), ns3::Rip.SetIpv4(), ns3::olsr::RoutingProtocol.SetIpv4(), ns3::Ipv4InterfaceContainer.SetMetric(), ns3::TcpSocketBase.SetupEndpoint(), ns3::Ipv4PacketProbe.SetValue(), ns3::Ipv4PacketProbe.SetValueByPath(), SinkRx(), ns3::GlobalRouteManagerImpl.SPFAddASExternal(), ns3::GlobalRouteManagerImpl.SPFIntraAddRouter(), ns3::GlobalRouteManagerImpl.SPFIntraAddStub(), ns3::GlobalRouteManagerImpl.SPFIntraAddTransit(), ns3::ThreeGppHttpServer.StartApplication(), ns3::DhcpClient.StartApplication(), ns3::DhcpServer.StartApplication(), ns3::QKDPostprocessingApplication.StartApplication(), ns3::DhcpClient.StopApplication(), ns3::Ipv4PacketProbe.TraceSink(), and ns3::AnimationInterface.TrackIpv4RoutePaths().
nsclick-simple-lan.LocalAddress = ns.InetSocketAddress(ns.Ipv4Address.GetAny(), 50000).ConvertTo() |
Definition at line 62 of file nsclick-simple-lan.py.
nsclick-simple-lan.onOffHelper = ns.OnOffHelper("ns3::TcpSocketFactory", ns.Address()) |
Definition at line 68 of file nsclick-simple-lan.py.
Referenced by CsmaStarTestCase.DoRun(), and experiment().
nsclick-simple-lan.packetSinkHelper = ns.PacketSinkHelper("ns3::TcpSocketFactory", LocalAddress) |
Definition at line 63 of file nsclick-simple-lan.py.
Referenced by EpcS1uDlTestCase.DoRun(), EpcS1uUlTestCase.DoRun(), LteEpcE2eDataTestCase.DoRun(), CsmaStarTestCase.DoRun(), and Experiment.Run().
nsclick-simple-lan.recvapp = packetSinkHelper.Install(csmaNodes.Get(1)) |
Definition at line 64 of file nsclick-simple-lan.py.
nsclick-simple-lan.remoteAddress = ns.InetSocketAddress(ns.Ipv4Address("172.16.1.2"), 50000).ConvertTo() |
Definition at line 74 of file nsclick-simple-lan.py.
Referenced by BuildAppsTest(), CreateBulkFlow(), CreateOnOffFlow(), CsmaStarTestCase.DoRun(), experiment(), ns3::WifiRemoteStationManager.GetAssociationId(), ns3::EpcTft::PacketFilter.Matches(), ns3::EpcTft.Matches(), RoutingExperiment.Run(), Experiment.Run(), ns3::WifiRemoteStationManager.SetAssociationId(), PowerRateAdaptationTest.TestAparf(), PowerRateAdaptationTest.TestParf(), and PowerRateAdaptationTest.TestRrpaa().