Go to the source code of this file.
Namespaces | |
second | |
Variables | |
second.address = ns.internet.Ipv4AddressHelper() | |
second.clientApps = echoClient.Install(p2pNodes.Get(0)) | |
second.cmd = ns.core.CommandLine() | |
second.csma = ns.csma.CsmaHelper() | |
second.csmaDevices = csma.Install(csmaNodes) | |
second.csmaInterfaces = address.Assign(csmaDevices) | |
second.csmaNodes = ns.network.NodeContainer() | |
second.echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9) | |
second.echoServer = ns.applications.UdpEchoServerHelper(9) | |
second.nCsma = int(cmd.nCsma) | |
second.p2pDevices = pointToPoint.Install(p2pNodes) | |
second.p2pInterfaces = address.Assign(p2pDevices) | |
second.p2pNodes = ns.network.NodeContainer() | |
second.pointToPoint = ns.point_to_point.PointToPointHelper() | |
second.serverApps = echoServer.Install(csmaNodes.Get(nCsma)) | |
second.stack = ns.internet.InternetStackHelper() | |
second.verbose = cmd.verbose | |