A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
second Namespace Reference


tuple address = ns.internet.Ipv4AddressHelper()
tuple clientApps = echoClient.Install(p2pNodes.Get(0))
tuple cmd = ns.core.CommandLine()
tuple csma = ns.csma.CsmaHelper()
tuple csmaDevices = csma.Install(csmaNodes)
tuple csmaInterfaces = address.Assign(csmaDevices)
tuple csmaNodes = ns.network.NodeContainer()
tuple echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9)
tuple echoServer = ns.applications.UdpEchoServerHelper(9)
tuple nCsma = int(cmd.nCsma)
tuple p2pDevices = pointToPoint.Install(p2pNodes)
tuple p2pInterfaces = address.Assign(p2pDevices)
tuple p2pNodes = ns.network.NodeContainer()
tuple pointToPoint = ns.point_to_point.PointToPointHelper()
tuple serverApps = echoServer.Install(csmaNodes.Get(nCsma))
tuple stack = ns.internet.InternetStackHelper()
 verbose = cmd.verbose

Variable Documentation

tuple second.address = ns.internet.Ipv4AddressHelper()

Definition at line 73 of file second.py.

tuple second.clientApps = echoClient.Install(p2pNodes.Get(0))

Definition at line 91 of file second.py.

tuple second.csmaDevices = csma.Install(csmaNodes)

Definition at line 67 of file second.py.

tuple second.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 78 of file second.py.

tuple second.csmaNodes = ns.network.NodeContainer()

Definition at line 53 of file second.py.

tuple second.echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9)

Definition at line 86 of file second.py.

tuple second.echoServer = ns.applications.UdpEchoServerHelper(9)

Definition at line 80 of file second.py.

int second.nCsma = int(cmd.nCsma)

Definition at line 42 of file second.py.

tuple second.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 61 of file second.py.

tuple second.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 75 of file second.py.

tuple second.p2pNodes = ns.network.NodeContainer()

Definition at line 50 of file second.py.

tuple second.pointToPoint = ns.point_to_point.PointToPointHelper()

Definition at line 57 of file second.py.

tuple second.serverApps = echoServer.Install(csmaNodes.Get(nCsma))

Definition at line 82 of file second.py.

tuple second.stack = ns.internet.InternetStackHelper()

Definition at line 69 of file second.py.

second.verbose = cmd.verbose

Definition at line 43 of file second.py.