A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
third.py File Reference

Go to the source code of this file.

Namespaces

namespace  third
 

Variables

ns third.address = ns.Ipv4AddressHelper()
 
ns third.apDevices = wifi.Install(phy, mac, wifiApNode)
 
ns third.channel = ns.YansWifiChannelHelper.Default()
 
ns third.clientApps = echoClient.Install(wifiStaNodes.Get(nWifi.value - 1))
 
ns third.cmd = ns.CommandLine(__file__)
 
ns third.csma = ns.CsmaHelper()
 
ns third.csmaDevices = csma.Install(csmaNodes)
 
ns third.csmaInterfaces = address.Assign(csmaDevices)
 
ns third.csmaNodes = ns.NodeContainer()
 
ns third.echoClient = ns.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma.value).ConvertTo(), 9)
 
ns third.echoServer = ns.UdpEchoServerHelper(9)
 
ns third.mac = ns.WifiMacHelper()
 
ns third.mobility = ns.MobilityHelper()
 
c_int third.nCsma = c_int(3)
 
c_int third.nWifi = c_int(3)
 
ns third.p2pDevices = pointToPoint.Install(p2pNodes)
 
ns third.p2pInterfaces = address.Assign(p2pDevices)
 
ns third.p2pNodes = ns.NodeContainer()
 
ns third.phy = ns.YansWifiPhyHelper()
 
ns third.pointToPoint = ns.PointToPointHelper()
 
ns third.serverApps = echoServer.Install(csmaNodes.Get(nCsma.value))
 
ns third.ssid = ns.Ssid("ns-3-ssid")
 
ns third.stack = ns.InternetStackHelper()
 
ns third.staDevices = wifi.Install(phy, mac, wifiStaNodes)
 
c_bool third.tracing = c_bool(False)
 
 third.try :
 
c_bool third.verbose = c_bool(True)
 
ns third.wifi = ns.WifiHelper()
 
ns third.wifiApNode = p2pNodes.Get(0)
 
ns third.wifiStaNodes = ns.NodeContainer()