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(), ns3::SQLiteOutput.CheckError(), RoutingExperiment.CommandSetup(), Experiment.CommandSetup(), VanetRoutingExperiment.CommandSetup(), AodvExample.Configure(), TracerouteExample.Configure(), MeshTest.Configure(), ns3::CommandLine.Copy(), ns3::tests::CommandLineBooleanTestCase.DoRun(), ns3::tests::CommandLineUint8tTestCase.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::SQLiteOutput.Error(), ns3.operator<<(), ns3::CommandLine.operator=(), ns3::tests::CommandLineTestCaseBase.Parse(), PrintPsr(), PrintPsrVsCollisionInterval(), PrintPsrVsDistance(), PrintSizeVsRange(), ns3::SQLiteOutput.SpinExec(), ns3::SQLiteOutput.SpinPrepare(), ns3::SQLiteOutput.WaitExec(), and ns3::SQLiteOutput.WaitPrepare().
second.csma = ns.csma.CsmaHelper() |
Definition at line 63 of file second.py.
Referenced by ns3::CsmaHelper.AssignStreams(), CsmaBridgeTestCase.DoRun(), CsmaBroadcastTestCase.DoRun(), CsmaMulticastTestCase.DoRun(), CsmaOneSubnetTestCase.DoRun(), CsmaPacketSocketTestCase.DoRun(), CsmaPingTestCase.DoRun(), CsmaRawIpSocketTestCase.DoRun(), CsmaStarTestCase.DoRun(), and Ns3TcpSocketTestCaseCsma.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)) |