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 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)
 
 try :
 
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 137 of file third.py.

◆ apDevices

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

Definition at line 103 of file third.py.

◆ channel

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

Definition at line 88 of file third.py.

◆ clientApps

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

Definition at line 161 of file third.py.

◆ cmd

ns third.cmd = ns.CommandLine(__file__)

Definition at line 46 of file third.py.

◆ csma

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

Definition at line 78 of file third.py.

◆ csmaDevices

ns third.csmaDevices = csma.Install(csmaNodes)

Definition at line 82 of file third.py.

◆ csmaInterfaces

ns third.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 142 of file third.py.

◆ csmaNodes

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

Definition at line 74 of file third.py.

◆ echoClient

ns third.echoClient
Initial value:
1= ns.applications.UdpEchoClientHelper(
2 csmaInterfaces.GetAddress(nCsma.value).ConvertTo(), 9
3)

Definition at line 154 of file third.py.

◆ echoServer

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

Definition at line 148 of file third.py.

◆ mac

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

Definition at line 92 of file third.py.

◆ mobility

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

Definition at line 105 of file third.py.

◆ nCsma

c_int third.nCsma = c_int(3)

Definition at line 41 of file third.py.

◆ nWifi

c_int third.nWifi = c_int(3)

Definition at line 43 of file third.py.

◆ p2pDevices

ns third.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 72 of file third.py.

◆ p2pInterfaces

ns third.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 139 of file third.py.

◆ p2pNodes

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

Definition at line 65 of file third.py.

◆ phy

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

Definition at line 89 of file third.py.

◆ pointToPoint

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

Definition at line 68 of file third.py.

◆ serverApps

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

Definition at line 150 of file third.py.

◆ ssid

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

Definition at line 93 of file third.py.

◆ stack

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

Definition at line 132 of file third.py.

◆ staDevices

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

Definition at line 100 of file third.py.

◆ tracing

c_bool third.tracing = c_bool(False)

Definition at line 44 of file third.py.

◆ try

third.try :

Definition at line 18 of file third.py.

◆ verbose

c_bool third.verbose = c_bool(True)

Definition at line 42 of file third.py.

◆ wifi

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

Definition at line 95 of file third.py.

◆ wifiApNode

ns third.wifiApNode = p2pNodes.Get(0)

Definition at line 86 of file third.py.

◆ wifiStaNodes

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

Definition at line 84 of file third.py.