Variables | |
| address = ns.internet.Ipv4AddressHelper() | |
| clientApps = echoClient.Install(p2pNodes.Get(0)) | |
| cmd = ns.core.CommandLine() | |
| csma = ns.csma.CsmaHelper() | |
| csmaDevices = csma.Install(csmaNodes) | |
| csmaInterfaces = address.Assign(csmaDevices) | |
| csmaNodes = ns.network.NodeContainer() | |
| echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9) | |
| echoServer = ns.applications.UdpEchoServerHelper(9) | |
| nCsma = int(cmd.nCsma) | |
| p2pDevices = pointToPoint.Install(p2pNodes) | |
| p2pInterfaces = address.Assign(p2pDevices) | |
| p2pNodes = ns.network.NodeContainer() | |
| pointToPoint = ns.point_to_point.PointToPointHelper() | |
| serverApps = echoServer.Install(csmaNodes.Get(nCsma)) | |
| stack = ns.internet.InternetStackHelper() | |
| verbose = cmd.verbose | |
| second.cmd = ns.core.CommandLine() |
Definition at line 35 of file second.py.
Referenced by ns3::CommandLine.CommandLine(), Experiment.CommandSetup(), RoutingExperiment.CommandSetup(), VanetRoutingExperiment.CommandSetup(), AodvExample.Configure(), MeshTest.Configure(), ns3::CommandLine.Copy(), ns3::tests::CommandLineBooleanTestCase.DoRun(), ns3::tests::CommandLineIntTestCase.DoRun(), ns3::tests::CommandLineUnsignedIntTestCase.DoRun(), ns3::tests::CommandLineStringTestCase.DoRun(), ns3::tests::CommandLineOrderTestCase.DoRun(), ns3::tests::CommandLineInvalidTestCase.DoRun(), ns3::tests::CommandLineNonOptionTestCase.DoRun(), ns3.operator<<(), ns3::CommandLine.operator=(), ns3::tests::CommandLineTestCaseBase.Parse(), PrintPsr(), PrintPsrVsCollisionInterval(), PrintPsrVsDistance(), and PrintSizeVsRange().
| second.csma = ns.csma.CsmaHelper() |
Definition at line 63 of file second.py.
Referenced by ns3::CsmaHelper.AssignStreams(), CsmaBridgeTestCase.DoRun(), Ns3TcpSocketTestCase2.DoRun(), CsmaBroadcastTestCase.DoRun(), CsmaMulticastTestCase.DoRun(), CsmaOneSubnetTestCase.DoRun(), CsmaPacketSocketTestCase.DoRun(), CsmaPingTestCase.DoRun(), CsmaRawIpSocketTestCase.DoRun(), and CsmaStarTestCase.DoRun().
| second.csmaInterfaces = address.Assign(csmaDevices) |
| second.echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9) |
| second.p2pInterfaces = address.Assign(p2pDevices) |
| second.pointToPoint = ns.point_to_point.PointToPointHelper() |
| second.serverApps = echoServer.Install(csmaNodes.Get(nCsma)) |