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

Go to the source code of this file.

Namespaces

namespace  second
 

Variables

 second.address = ns.Ipv4AddressHelper()
 
 second.clientApps = echoClient.Install(p2pNodes.Get(0))
 
 second.cmd = ns.CommandLine(__file__)
 
 second.csma = ns.CsmaHelper()
 
 second.csmaDevices = csma.Install(csmaNodes)
 
 second.csmaInterfaces = address.Assign(csmaDevices)
 
 second.csmaNodes = ns.NodeContainer()
 
 second.echoClient = ns.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma.value).ConvertTo(), 9)
 
 second.echoServer = ns.UdpEchoServerHelper(9)
 
 second.nCsma = c_int(3)
 
 second.p2pDevices = pointToPoint.Install(p2pNodes)
 
 second.p2pInterfaces = address.Assign(p2pDevices)
 
 second.p2pNodes = ns.NodeContainer()
 
 second.pointToPoint = ns.PointToPointHelper()
 
 second.serverApps = echoServer.Install(csmaNodes.Get(nCsma.value))
 
 second.stack = ns.InternetStackHelper()
 
 second.value
 
 second.verbose = c_bool(True)