A Discrete-Event Network Simulator
QKDNetSim v2.0 (NS-3 v3.41) @ (+)
API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
second Namespace Reference

Variables

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

Variable Documentation

◆ address

second.address = ns.internet.Ipv4AddressHelper()

Definition at line 73 of file second.py.

◆ clientApps

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

Definition at line 93 of file second.py.

◆ cmd

◆ csma

◆ csmaDevices

second.csmaDevices = csma.Install(csmaNodes)

Definition at line 67 of file second.py.

◆ csmaInterfaces

second.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 78 of file second.py.

◆ csmaNodes

second.csmaNodes = ns.network.NodeContainer()

Definition at line 53 of file second.py.

◆ echoClient

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

Definition at line 86 of file second.py.

◆ echoServer

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

Definition at line 80 of file second.py.

◆ nCsma

second.nCsma = c_int(3)

Definition at line 38 of file second.py.

◆ p2pDevices

second.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 61 of file second.py.

◆ p2pInterfaces

second.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 75 of file second.py.

◆ p2pNodes

second.p2pNodes = ns.network.NodeContainer()

Definition at line 50 of file second.py.

◆ pointToPoint

second.pointToPoint = ns.point_to_point.PointToPointHelper()

Definition at line 57 of file second.py.

◆ serverApps

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

Definition at line 82 of file second.py.

◆ stack

second.stack = ns.internet.InternetStackHelper()

Definition at line 69 of file second.py.

◆ value

second.value

Definition at line 48 of file second.py.

Referenced by ns3::LollipopCounter< T >.LollipopCounter(), PbbTestSuite.PbbTestSuite(), ns3::EnumChecker< T >.Check(), TcFlowControlTestCase.CheckDeviceQueueStopped(), TcpHeaderWithRFC793OptionTestCase.CheckNoPadding(), WifiEhtCapabilitiesIeTest.CheckSerializedByte(), WifiIeFragmentationTest.CheckSerializedByte(), anonymous_namespace{length.cc}.Convert(), AttributeContainerSetGetTestCase.DoRun(), LrWpanSpectrumValueHelperTestCase.DoRun(), SequenceNumberTestCase.DoRun(), OneIntegerAverageTestCase.DoRun(), FiveIntegersAverageTestCase.DoRun(), FiveDoublesAverageTestCase.DoRun(), OneIntegerTestCase.DoRun(), FiveIntegersTestCase.DoRun(), FiveDoublesTestCase.DoRun(), BasicMultiLinkElementTest.DoRun(), WifiErrorRateModelsTestCaseDsss.DoRun(), nlohmann::json_pointer< BasicJsonType >.flatten(), anonymous_namespace{length.cc}.FootToMeter(), FtrFadingModelAverageTest.FtrSquaredNormAverage(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.get(), anonymous_namespace{length.cc}.MeterToFoot(), anonymous_namespace{length.cc}.MeterToUS(), TcpHeaderWithRFC793OptionTestCase.OneOptionAtTime(), std::hash< ns3::UUID >.operator()(), PrintAttributesTid(), anonymous_namespace{length.cc}.ScaleValue(), ns3::MuEdcaParameterSet.SetMuEdcaTimer(), LengthTestCase.TestAddingLengthAndQuantity(), LengthTestCase.TestAddingQuantityAndLength(), LengthTestCase.TestAddingTwoLengths(), LengthTestCase.TestCopyAssignment(), LengthTestCase.TestDivideLengthByLengthReturnsNaN(), LengthTestCase.TestDivideLengthByScalar(), LengthTestCase.TestInputStreamOperator(), LengthTestCase.TestIsEqualReturnsFalse(), LengthTestCase.TestIsEqualReturnsTrue(), LengthTestCase.TestIsEqualWithToleranceReturnsFalse(), LengthTestCase.TestIsEqualWithToleranceReturnsTrue(), LengthTestCase.TestIsLessReturnsFalse(), LengthTestCase.TestIsLessReturnsTrue(), LengthTestCase.TestIsNotEqualReturnsFalse(), LengthTestCase.TestIsNotEqualReturnsTrue(), LengthTestCase.TestMoveAssignment(), LengthTestCase.TestMultiplyLengthByScalar(), LengthTestCase.TestMultiplyScalarByLength(), LengthTestCase.TestOperatorEqualsReturnsFalse(), LengthTestCase.TestOperatorEqualsReturnsTrue(), LengthTestCase.TestOperatorGreaterOrEqualReturnsFalse(), LengthTestCase.TestOperatorGreaterOrEqualReturnsTrue(), LengthTestCase.TestOperatorGreaterThanReturnsFalse(), LengthTestCase.TestOperatorGreaterThanReturnsTrue(), LengthTestCase.TestOperatorLessOrEqualReturnsFalse(), LengthTestCase.TestOperatorLessOrEqualReturnsTrue(), LengthTestCase.TestOperatorLessThanReturnsFalse(), LengthTestCase.TestOperatorLessThanReturnsTrue(), LengthTestCase.TestOperatorNotEqualsReturnsFalse(), LengthTestCase.TestOperatorNotEqualsReturnsTrue(), LengthTestCase.TestSubtractingLengthAndQuantity(), LengthTestCase.TestSubtractingQuantityAndLength(), LengthTestCase.TestSubtractingTwoLengths(), nlohmann::detail::binary_writer< BasicJsonType, CharType >.to_char_type(), nlohmann::json_pointer< BasicJsonType >.unflatten(), and anonymous_namespace{length.cc}.USToMeter().

◆ verbose

second.verbose = c_bool(True)

Definition at line 39 of file second.py.