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

Variables

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

Variable Documentation

◆ address

third.address = ns.Ipv4AddressHelper()

Definition at line 124 of file third.py.

◆ apDevices

third.apDevices = wifi.Install(phy, mac, wifiApNode)

Definition at line 90 of file third.py.

◆ channel

third.channel = ns.YansWifiChannelHelper.Default()

Definition at line 77 of file third.py.

◆ clientApps

third.clientApps = echoClient.Install(wifiStaNodes.Get(nWifi.value - 1))

Definition at line 146 of file third.py.

◆ cmd

third.cmd = ns.CommandLine(__file__)

Definition at line 35 of file third.py.

◆ csma

third.csma = ns.CsmaHelper()

Definition at line 67 of file third.py.

◆ csmaDevices

third.csmaDevices = csma.Install(csmaNodes)

Definition at line 71 of file third.py.

◆ csmaInterfaces

third.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 129 of file third.py.

◆ csmaNodes

third.csmaNodes = ns.NodeContainer()

Definition at line 63 of file third.py.

◆ echoClient

third.echoClient = ns.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma.value).ConvertTo(), 9)

Definition at line 141 of file third.py.

◆ echoServer

third.echoServer = ns.UdpEchoServerHelper(9)

Definition at line 135 of file third.py.

◆ mac

third.mac = ns.WifiMacHelper()

Definition at line 81 of file third.py.

◆ mobility

third.mobility = ns.MobilityHelper()

Definition at line 92 of file third.py.

◆ nCsma

third.nCsma = c_int(3)

Definition at line 30 of file third.py.

◆ nWifi

third.nWifi = c_int(3)

Definition at line 32 of file third.py.

◆ p2pDevices

third.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 61 of file third.py.

◆ p2pInterfaces

third.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 126 of file third.py.

◆ p2pNodes

third.p2pNodes = ns.NodeContainer()

Definition at line 54 of file third.py.

◆ phy

third.phy = ns.YansWifiPhyHelper()

Definition at line 78 of file third.py.

◆ pointToPoint

third.pointToPoint = ns.PointToPointHelper()

Definition at line 57 of file third.py.

◆ serverApps

third.serverApps = echoServer.Install(csmaNodes.Get(nCsma.value))

Definition at line 137 of file third.py.

◆ ssid

third.ssid = ns.Ssid("ns-3-ssid")

Definition at line 82 of file third.py.

◆ stack

third.stack = ns.InternetStackHelper()

Definition at line 119 of file third.py.

◆ staDevices

third.staDevices = wifi.Install(phy, mac, wifiStaNodes)

Definition at line 87 of file third.py.

◆ tracing

third.tracing = c_bool(False)

Definition at line 33 of file third.py.

◆ verbose

third.verbose = c_bool(True)

Definition at line 31 of file third.py.

◆ wifi

third.wifi = ns.WifiHelper()

Definition at line 84 of file third.py.

◆ wifiApNode

third.wifiApNode = p2pNodes.Get(0)

Definition at line 75 of file third.py.

◆ wifiStaNodes

third.wifiStaNodes = ns.NodeContainer()

Definition at line 73 of file third.py.