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

Variables

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

Variable Documentation

◆ address

ns third.address = ns.internet.Ipv4AddressHelper()

Definition at line 112 of file third.py.

◆ apDevices

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

Definition at line 94 of file third.py.

◆ channel

ns third.channel = ns.wifi.YansWifiChannelHelper.Default()

Definition at line 81 of file third.py.

◆ clientApps

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

Definition at line 134 of file third.py.

◆ cmd

ns third.cmd = ns.CommandLine(__file__)

Definition at line 39 of file third.py.

◆ csma

ns third.csma = ns.csma.CsmaHelper()

Definition at line 71 of file third.py.

◆ csmaDevices

ns third.csmaDevices = csma.Install(csmaNodes)

Definition at line 75 of file third.py.

◆ csmaInterfaces

ns third.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 117 of file third.py.

◆ csmaNodes

ns third.csmaNodes = ns.network.NodeContainer()

Definition at line 67 of file third.py.

◆ echoClient

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

Definition at line 129 of file third.py.

◆ echoServer

ns third.echoServer = ns.applications.UdpEchoServerHelper(9)

Definition at line 123 of file third.py.

◆ mac

ns third.mac = ns.wifi.WifiMacHelper()

Definition at line 85 of file third.py.

◆ mobility

ns third.mobility = ns.mobility.MobilityHelper()

Definition at line 96 of file third.py.

◆ nCsma

c_int third.nCsma = c_int(3)

Definition at line 34 of file third.py.

◆ nWifi

c_int third.nWifi = c_int(3)

Definition at line 36 of file third.py.

◆ p2pDevices

ns third.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 65 of file third.py.

◆ p2pInterfaces

ns third.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 114 of file third.py.

◆ p2pNodes

ns third.p2pNodes = ns.network.NodeContainer()

Definition at line 58 of file third.py.

◆ phy

ns third.phy = ns.wifi.YansWifiPhyHelper()

Definition at line 82 of file third.py.

◆ pointToPoint

ns third.pointToPoint = ns.point_to_point.PointToPointHelper()

Definition at line 61 of file third.py.

◆ serverApps

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

Definition at line 125 of file third.py.

◆ ssid

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

Definition at line 86 of file third.py.

◆ stack

ns third.stack = ns.internet.InternetStackHelper()

Definition at line 107 of file third.py.

◆ staDevices

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

Definition at line 91 of file third.py.

◆ tracing

c_bool third.tracing = c_bool(False)

Definition at line 37 of file third.py.

◆ verbose

c_bool third.verbose = c_bool(True)

Definition at line 35 of file third.py.

◆ wifi

ns third.wifi = ns.wifi.WifiHelper()

Definition at line 88 of file third.py.

◆ wifiApNode

ns third.wifiApNode = p2pNodes.Get(0)

Definition at line 79 of file third.py.

◆ wifiStaNodes

ns third.wifiStaNodes = ns.network.NodeContainer()

Definition at line 77 of file third.py.