A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
Smart Pointer

Heap memory management. More...

Collaboration diagram for Smart Pointer:

Files

file  default-deleter.h
 ns3::DefaultDeleter declaration and template implementation, for reference-counted smart pointers.
file  ptr-test-suite.cc
 Smart pointer test suite.
file  ptr.h
 ns3::Ptr smart pointer declaration and implementation.
file  simple-ref-count.h
 ns3::SimpleRefCount declaration and template implementation.

Classes

struct  ns3::DefaultDeleter< T >
 A template used to delete objects by the ns3::SimpleRefCount templates when the last reference to an object they manage disappears. More...
class  ns3::Empty
 Empty class, used as a default parent class for SimpleRefCount. More...
struct  std::hash< ns3::Ptr< T > >
 Hashing functor taking a Ptr and returning a std::size_t. More...
struct  ns3::ObjectDeleter
 Standard Object deleter, used by SimpleRefCount to delete an Object when the reference count drops to zero. More...
class  ns3::Ptr< T >
 Smart pointer class similar to boost::intrusive_ptr. More...
class  ns3::SimpleRefCount< T, PARENT, DELETER >
 A template-based reference counting class. More...

Functions

template<typename T, typename... Ts>
Ptr< T > ns3::Create (Ts &&... args)
 Create class instances by constructors with varying numbers of arguments and return them by Ptr.
template<typename T1, typename T2>
std::enable_if_t< std::is_same_v< T2, std::nullptr_t >, bool > ns3::operator!= (const Ptr< T1 > &lhs, T2 rhs)
 Specialization for comparison to nullptr.
template<typename T>
std::ostream & ns3::operator<< (std::ostream &os, const Ptr< T > &p)
 Output streamer.
template<typename T1, typename T2>
std::enable_if_t< std::is_same_v< T2, std::nullptr_t >, bool > ns3::operator== (const Ptr< T1 > &lhs, T2 rhs)
 Specialization for comparison to nullptr.
template<typename T1, typename T2>
bool ns3::operator== (const Ptr< T1 > &lhs, T2 const *rhs)
 Equality operator.
template<typename T1, typename T2>
bool ns3::operator== (T1 const *lhs, Ptr< T2 > &rhs)
 Equality operator.
template<typename T1, typename T2>
bool ns3::operator== (const Ptr< T1 > &lhs, const Ptr< T2 > &rhs)
 Equality operator.
template<typename T1, typename T2>
bool ns3::operator!= (const Ptr< T1 > &lhs, T2 const *rhs)
 Inequality operator.
template<typename T1, typename T2>
bool ns3::operator!= (T1 const *lhs, Ptr< T2 > &rhs)
 Inequality operator.
template<typename T1, typename T2>
bool ns3::operator!= (const Ptr< T1 > &lhs, const Ptr< T2 > &rhs)
 Inequality operator.
template<typename T>
bool ns3::operator< (const Ptr< T > &lhs, const Ptr< T > &rhs)
 Comparison operator applied to the underlying pointers.
template<typename T>
bool ns3::operator< (const Ptr< T > &lhs, const Ptr< const T > &rhs)
 Comparison operator applied to the underlying pointers.
template<typename T>
bool ns3::operator< (const Ptr< const T > &lhs, const Ptr< T > &rhs)
 Comparison operator applied to the underlying pointers.
template<typename T>
bool ns3::operator<= (const Ptr< T > &lhs, const Ptr< T > &rhs)
 Comparison operator applied to the underlying pointers.
template<typename T>
bool ns3::operator> (const Ptr< T > &lhs, const Ptr< T > &rhs)
 Comparison operator applied to the underlying pointers.
template<typename T>
bool ns3::operator>= (const Ptr< T > &lhs, const Ptr< T > &rhs)
 Comparison operator applied to the underlying pointers.

Detailed Description

Heap memory management.

See ns3::Ptr for implementation details.

See main-ptr.cc for example usage.

Function Documentation

◆ Create()

template<typename T, typename... Ts>
Ptr< T > ns3::Create ( Ts &&... args)

Create class instances by constructors with varying numbers of arguments and return them by Ptr.

This template work for any class T derived from ns3::SimpleRefCount

See also
CreateObject for methods to create derivatives of ns3::Object
Template Parameters
T[explicit] The type of class object to create.
Ts[deduced] Types of the constructor arguments.
Parameters
[in]argsConstructor arguments.
Returns
A Ptr to the newly created T.

Definition at line 439 of file ptr.h.

Referenced by ns3::Callback< void, int >::Callback(), ns3::Callback< void, int >::Callback(), EpcTftClassifierTestSuite::EpcTftClassifierTestSuite(), ns3::Hasher::Hasher(), ns3::lrwpan::LrWpanInterferenceHelper::LrWpanInterferenceHelper(), ns3::lrwpan::LrWpanSpectrumModelInitializer::LrWpanSpectrumModelInitializer(), LteDownlinkPowerControlSpectrumValueTestCase::LteDownlinkPowerControlSpectrumValueTestCase(), LteDownlinkSinrTestSuite::LteDownlinkSinrTestSuite(), ns3::LteEnbPhy::LteEnbPhy(), LteNoisePsdTestCase::LteNoisePsdTestCase(), LteSpectrumModelTestCase::LteSpectrumModelTestCase(), LteTxPsdTestCase::LteTxPsdTestCase(), LteUplinkSinrTestSuite::LteUplinkSinrTestSuite(), ns3::MicrowaveOvenSpectrumModel5MhzInitializer::MicrowaveOvenSpectrumModel5MhzInitializer(), ns3::MicrowaveOvenSpectrumModel6MhzInitializer::MicrowaveOvenSpectrumModel6MhzInitializer(), ns3::PairValue< EnumValue< AcIndex >, AttributeContainerValue< UintegerValue, ',', std::vector > >::PairValue(), PbbTestSuite::PbbTestSuite(), ns3::aodv::RoutingTableEntry::RoutingTableEntry(), ns3::dsdv::RoutingTableEntry::RoutingTableEntry(), SpectrumConverterTestSuite::SpectrumConverterTestSuite(), SpectrumInterferenceTestSuite::SpectrumInterferenceTestSuite(), SpectrumValueTestSuite::SpectrumValueTestSuite(), static_SpectrumModelWifi5180MHz_initializer::static_SpectrumModelWifi5180MHz_initializer(), static_SpectrumModelWifi5190MHz_initializer::static_SpectrumModelWifi5190MHz_initializer(), ns3::ThreeGppHttpServer::ThreeGppHttpServer(), ns3::WifiMac::WifiMac(), ns3::WifiPsdu::WifiPsdu(), ns3::WifiPsdu::WifiPsdu(), ns3::WifiSpectrumModel5MhzInitializer::WifiSpectrumModel5MhzInitializer(), ns3::zigbee::ZigbeeStack::ZigbeeStack(), ns3::OriginatorRxStatus::AccumulateLastFragment(), ns3::LteHelper::ActivateDataRadioBearer(), ns3::InterferenceHelper::Add(), ns3::RadvdHelper::AddAnnouncedPrefix(), ns3::TypeId::AddConstructor(), ns3::dot11s::IePreq::AddDestinationAddressElement(), ns3::EpcMmeApplication::AddEnb(), ns3::InterferenceHelper::AddForeignSignal(), ns3::CsmaNetDevice::AddHeader(), ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), FqCobaltQueueDiscDeficit::AddPacket(), FqCobaltQueueDiscEcnMarking::AddPacket(), FqCobaltQueueDiscIPFlowsSeparationAndPacketLimit::AddPacket(), FqCobaltQueueDiscL4sMode::AddPacket(), FqCobaltQueueDiscSetLinearProbing::AddPacket(), FqCobaltQueueDiscTCPFlowsSeparation::AddPacket(), FqCobaltQueueDiscUDPFlowsSeparation::AddPacket(), FqCoDelQueueDiscDeficit::AddPacket(), FqCoDelQueueDiscECNMarking::AddPacket(), FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit::AddPacket(), FqCoDelQueueDiscL4sMode::AddPacket(), FqCoDelQueueDiscSetLinearProbing::AddPacket(), FqCoDelQueueDiscTCPFlowsSeparation::AddPacket(), FqCoDelQueueDiscUDPFlowsSeparation::AddPacket(), FqPieQueueDiscDeficit::AddPacket(), FqPieQueueDiscIPFlowsSeparationAndPacketLimit::AddPacket(), FqPieQueueDiscL4sMode::AddPacket(), FqPieQueueDiscSetLinearProbing::AddPacket(), FqPieQueueDiscTCPFlowsSeparation::AddPacket(), FqPieQueueDiscUDPFlowsSeparation::AddPacket(), PfifoFastQueueDiscOverflow::AddPacket(), ns3::PbbMessageIpv4::AddressBlockDeserialize(), ns3::PbbMessageIpv6::AddressBlockDeserialize(), ns3::WifiRemoteStationManager::AddStationEhtCapabilities(), ns3::WifiRemoteStationManager::AddStationEhtOperation(), ns3::WifiRemoteStationManager::AddStationExtendedCapabilities(), ns3::WifiRemoteStationManager::AddStationHe6GhzCapabilities(), ns3::WifiRemoteStationManager::AddStationHeCapabilities(), ns3::WifiRemoteStationManager::AddStationHeOperation(), ns3::WifiRemoteStationManager::AddStationHtCapabilities(), ns3::WifiRemoteStationManager::AddStationHtOperation(), ns3::WifiRemoteStationManager::AddStationVhtCapabilities(), ns3::WifiRemoteStationManager::AddStationVhtOperation(), ns3::EpcMmeApplication::AddUe(), ns3::EpcPgwApplication::AddUe(), ns3::EpcX2::AddX2Interface(), ns3::MpduAggregator::Aggregate(), ns3::WifiMpdu::Aggregate(), ns3::UanMacRc::Associate(), ns3::UanMacRc::AssociateTimeout(), benchA(), benchB(), benchByteTags(), benchC(), benchD(), benchFragment(), ns3::Callback< void, int >::BindImpl(), ns3::Dhcp6Client::Boot(), ns3::DhcpClient::Boot(), ns3::zigbee::ZigbeeNwk::BufferTxPkt(), ns3::DsssPhy::BuildPpdu(), ns3::EhtPhy::BuildPpdu(), ns3::ErpOfdmPhy::BuildPpdu(), ns3::HePhy::BuildPpdu(), ns3::HtPhy::BuildPpdu(), ns3::OfdmPhy::BuildPpdu(), ns3::PhyEntity::BuildPpdu(), ns3::VhtPhy::BuildPpdu(), ns3::ThreeGppSpectrumPropagationLossModel::CalcBeamformingGain(), ns3::ThreeGppSpectrumPropagationLossModel::CalcLongTerm(), TxDurationTest::CalculateTxDurationUsingList(), ns3::dsr::DsrRouting::CallCancelPacketTimer(), MultiLinkSetupTest::CheckAssocRequest(), MultiLinkSetupTest::CheckAssocResponse(), MultiLinkSetupTest::CheckBeacon(), EmlsrDlTxopTest::CheckBlockAck(), EmlsrDlTxopTest::CheckInitialControlFrame(), GlobalRoutingProtocolTestCase::CheckPath(), MultiLinkSetupTest::CheckProbeResponse(), RadvdTestCase::CheckRouting(), ns3::dsr::DsrRouting::CheckSendBuffer(), DsrSendBuffTest::CheckSizeLimit(), ns3::aodv::AodvRqueueTest::CheckSizeLimit(), EmlsrDlTxopTest::CheckStaEmlNotificationFrame(), ns3::RrMultiUserScheduler::ComputeDlMuInfo(), ComputeEndToEndGain(), ComputeSnr(), ComputeSnr(), ComputeSnr(), ns3::RadioBearerStatsConnector::ConnectTracesDrbEnb(), ns3::RadioBearerStatsConnector::ConnectTracesDrbUe(), ns3::RadioBearerStatsConnector::ConnectTracesSrb0(), ns3::RadioBearerStatsConnector::ConnectTracesSrb1(), ns3::ObjectBase::ConstructSelf(), ns3::SpectrumConverter::Convert(), ns3::AttributeContainerValue< A, Sep, C >::Copy(), ns3::BooleanValue::Copy(), ns3::CallbackValue::Copy(), ns3::EmptyAttributeValue::Copy(), ns3::EnumValue< T >::Copy(), ns3::HalfDuplexIdealPhySignalParameters::Copy(), ns3::lrwpan::LrWpanSpectrumSignalParameters::Copy(), ns3::LteSpectrumSignalParameters::Copy(), ns3::LteSpectrumSignalParametersDataFrame::Copy(), ns3::LteSpectrumSignalParametersDlCtrlFrame::Copy(), ns3::LteSpectrumSignalParametersUlSrsFrame::Copy(), ns3::ObjectPtrContainerValue::Copy(), ns3::PairValue< A, B >::Copy(), ns3::PointerValue::Copy(), ns3::SpectrumSignalParameters::Copy(), ns3::SpectrumValue::Copy(), ns3::TupleValue< Args >::Copy(), ns3::AttributeContainerValue< A, Sep, C >::CopyFrom(), ns3::EnumChecker< T >::Create(), ns3::internal::ObjectPtrContainerChecker< T >::Create(), ns3::internal::PointerChecker< T >::Create(), ns3::internal::TupleChecker< Args >::Create(), ns3::SpectrumValue5MhzFactory::CreateConstant(), ns3::LteUePhy::CreateDlCqiFeedbackMessage(), ns3::WifiSpectrumValueHelper::CreateDsssTxPowerSpectralDensity(), WifiPhyCcaThresholdsTest::CreateDummyEhtPpdu(), WifiPhyCcaThresholdsTest::CreateDummyHePpdu(), WifiPhyChannel80Plus80Test::CreateDummyHePpdu(), WifiPhyCcaThresholdsTest::CreateDummyHtPpdu(), WifiPhyCcaThresholdsTest::CreateDummyNonHtPpdu(), WifiPhyCcaThresholdsTest::CreateDummyPsdu(), WifiPhyChannel80Plus80Test::CreateDummyPsdu(), WifiPhyCcaThresholdsTest::CreateDummyVhtPpdu(), ns3::WifiSpectrumValueHelper::CreateDuplicated20MhzTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHeMuOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHeOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateHtOfdmTxPowerSpectralDensity(), CreateManyToOneRoutes(), CreateNoisePowerSpectralDensity(), ns3::lrwpan::LrWpanSpectrumValueHelper::CreateNoisePowerSpectralDensity(), ns3::LteSpectrumValueHelper::CreateNoisePowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateOfdmTxPowerSpectralDensity(), ns3::MeshWifiBeacon::CreatePacket(), ns3::MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo1(), ns3::MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo2(), TestPrimary20CoveredByPpdu::CreatePpdu(), ns3::QueueDiscFactory::CreateQueueDisc(), ns3::LteEnbPhy::CreateSrsCqiReport(), ns3::TvSpectrumTransmitter::CreateTvPsd(), CreateTxPowerSpectralDensity(), CreateTxPowerSpectralDensity(), ns3::lrwpan::LrWpanSpectrumValueHelper::CreateTxPowerSpectralDensity(), ns3::LteSpectrumValueHelper::CreateTxPowerSpectralDensity(), ns3::LteSpectrumValueHelper::CreateTxPowerSpectralDensity(), ns3::SpectrumValue5MhzFactory::CreateTxPowerSpectralDensity(), OverallGainAverageTest::CreateTxPowerSpectralDensity(), ns3::LteSpectrumValueHelper::CreateUlTxPowerSpectralDensity(), ns3::FrameExchangeManager::CtsTimeout(), LrWpanAckTestCase::DataIndicationDev1(), LrWpanDataIfsTestCase::DataReceivedDev1(), ns3::MsduAggregator::Deaggregate(), ns3::Dhcp6Client::InterfaceConfig::DeclineOffer(), ns3::EpcTft::Default(), ns3::GtpcCreateSessionRequestMessage::Deserialize(), ns3::GtpcCreateSessionResponseMessage::Deserialize(), ns3::Icmpv6OptionRedirected::Deserialize(), ns3::Packet::Deserialize(), ns3::PbbAddressTlvBlock::Deserialize(), ns3::PbbTlvBlock::Deserialize(), ns3::dot11s::IeBeaconTiming::DeserializeInformationField(), ns3::dot11s::IePreq::DeserializeInformationField(), ns3::PbbMessage::DeserializeMessage(), ns3::MeshInformationElementVector::DeserializeSingleIe(), ns3::RadvdHelper::DisableDefaultRouterForInterface(), ns3::WifiMpdu::DoAggregate(), ns3::WifiMacQueueSchedulerImpl< Priority, Compare >::DoBlockQueues(), ns3::FdNetDevice::DoCreateFdReader(), ns3::NetmapNetDevice::DoCreateFdReader(), ns3::LteEnbRrcProtocolIdeal::DoEncodeHandoverCommand(), ns3::LteEnbRrcProtocolReal::DoEncodeHandoverCommand(), ns3::LteEnbRrcProtocolIdeal::DoEncodeHandoverPreparationInformation(), ns3::LteEnbRrcProtocolReal::DoEncodeHandoverPreparationInformation(), ns3::EpcMmeApplication::DoErabReleaseIndication(), ns3::TcpSocketBase::DoForwardUp(), ns3::EpcMmeApplication::DoInitialUeMessage(), ns3::LteRlcAm::DoNotifyTxOpportunity(), ns3::LteRlcSm::DoNotifyTxOpportunity(), ns3::LteRlcUm::DoNotifyTxOpportunity(), ns3::EpcMmeApplication::DoPathSwitchRequest(), ns3::EpcPgwApplication::DoRecvCreateSessionRequest(), ns3::EpcSgwApplication::DoRecvCreateSessionRequest(), ns3::EpcSgwApplication::DoRecvCreateSessionResponse(), ns3::EpcPgwApplication::DoRecvDeleteBearerCommand(), ns3::EpcSgwApplication::DoRecvDeleteBearerCommand(), ns3::EpcMmeApplication::DoRecvDeleteBearerRequest(), ns3::EpcSgwApplication::DoRecvDeleteBearerRequest(), ns3::EpcSgwApplication::DoRecvDeleteBearerResponse(), ns3::EpcPgwApplication::DoRecvModifyBearerRequest(), ns3::EpcSgwApplication::DoRecvModifyBearerRequest(), ns3::EpcSgwApplication::DoRecvModifyBearerResponse(), AmpduAggregationTest::DoRun(), BlockAckRecipientBufferTest::DoRun(), CCAVulnerableWindowTest::DoRun(), ChannelTest::DoRun(), CobaltQueueDiscBasicEnqueueDequeue::DoRun(), CoDelQueueDiscBasicEnqueueDequeue::DoRun(), CoDelQueueDiscBasicOverflow::DoRun(), DropTailQueueTestCase::DoRun(), DsdvHeaderTestCase::DoRun(), DsrAckHeaderTest::DoRun(), DsrAckReqHeaderTest::DoRun(), DsrRerrHeaderTest::DoRun(), DsrRrepHeaderTest::DoRun(), DsrRreqHeaderTest::DoRun(), DsrSendBuffTest::DoRun(), DsrSRHeaderTest::DoRun(), DuplicateTest::DoRun(), DynamicNeighborCacheTest::DoRun(), DynamicPartialTest::DoRun(), EpcTftClassifierTestCase::DoRun(), FlameHeaderTest::DoRun(), FlushTest::DoRun(), FqCobaltQueueDiscNoSuitableFilter::DoRun(), FqCoDelQueueDiscNoSuitableFilter::DoRun(), FqPieQueueDiscNoSuitableFilter::DoRun(), HandoverPreparationInfoTestCase::DoRun(), InterfaceContainerTest::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv6FragmentationTest::DoRun(), LrWpanAckTestCase::DoRun(), LrWpanCcaTestCase::DoRun(), LrWpanCollisionTestCase::DoRun(), LrWpanDataIfsTestCase::DoRun(), LrWpanEdTestCase::DoRun(), LrWpanErrorDistanceTestCase::DoRun(), LrWpanPacketTestCase::DoRun(), LrWpanPlmeAndPdInterfaceTestCase::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteDownlinkCtrlSinrTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LteDownlinkPowerControlTestCase::DoRun(), LteEnbAntennaTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LtePathlossModelSystemTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), MeasurementReportTestCase::DoRun(), MeshHeaderTest::DoRun(), MeshInformationElementVectorBist::DoRun(), MultiStaCtrlBAckResponseHeaderTest::DoRun(), MuSigDurationTest::DoRun(), NetDeviceContainerTest::DoRun(), NixVectorRoutingTest::DoRun(), ns3::aodv::AodvRqueueTest::DoRun(), ns3::aodv::QueueEntryTest::DoRun(), ns3::aodv::RerrHeaderTest::DoRun(), ns3::aodv::RrepAckHeaderTest::DoRun(), ns3::aodv::RrepHeaderTest::DoRun(), ns3::aodv::RreqHeaderTest::DoRun(), ns3::aodv::TypeHeaderTest::DoRun(), ns3::RlcAmStatusPduTestCase::DoRun(), ns3::tests::Fnv1aTestCase::DoRun(), ns3::tests::Hash32FunctionPtrTestCase::DoRun(), ns3::tests::Hash64FunctionPtrTestCase::DoRun(), ns3::tests::IncrementalTestCase::DoRun(), ns3::tests::Murmur3TestCase::DoRun(), ns3::tests::PtrTestCase::DoRun(), Ns3TcpStateTestCase::DoRun(), OriginatorBlockAckWindowTest::DoRun(), OverallGainAverageTest::DoRun(), PacketMetadataTest::DoRun(), PacketTest::DoRun(), PeerLinkFrameStartTest::DoRun(), PfifoFastQueueDiscNoPriority::DoRun(), PrioQueueDiscTestCase::DoRun(), QueueDiscTracesTestCase::DoRun(), RandomEcmpTestCase::DoRun(), RrcConnectionReconfigurationCompleteTestCase::DoRun(), RrcConnectionReconfigurationTestCase::DoRun(), RrcConnectionReestablishmentCompleteTestCase::DoRun(), RrcConnectionReestablishmentRequestTestCase::DoRun(), RrcConnectionReestablishmentTestCase::DoRun(), RrcConnectionRejectTestCase::DoRun(), RrcConnectionRequestTestCase::DoRun(), RrcConnectionSetupCompleteTestCase::DoRun(), RrcConnectionSetupTestCase::DoRun(), SixlowpanFragmentationTest::DoRun(), SpectrumInterferenceTestCase::DoRun(), TestActiveScanPanDescriptors::DoRun(), TestNonHtDuplicatePhyReception::DoRun(), TestPhyPaddingExclusion::DoRun(), TestRxOffWhenIdleAfterCsmaFailure::DoRun(), ThreeGppCalcLongTermMultiPortTest::DoRun(), ThreeGppSpectrumPropagationLossModelTest::DoRun(), TwoLevelAggregationTest::DoRun(), UanTest::DoRun(), Udp6SocketLoopbackTest::DoRun(), UdpSocketLoopbackTest::DoRun(), UniqueTypeIdTestCase::DoRun(), WifiMacQueueDropOldestTest::DoRun(), WifiMacQueueFlushTest::DoRun(), FifoQueueDiscTestCase::DoRunFifoTest(), ns3::LteEnbMac::DoSchedDlConfigInd(), ns3::LteEnbMac::DoSchedUlConfigInd(), ns3::FrameExchangeManager::DoSendCtsAfterRts(), Ipv4DeduplicationPerformanceTest::DoSendData(), Ipv4DeduplicationTest::DoSendData(), Ipv4ForwardingTest::DoSendData(), Ipv4GlobalRoutingSlash32TestCase::DoSendData(), Ipv4PacketInfoTagTest::DoSendData(), Ipv4RawSocketImplTest::DoSendData(), Ipv4RipCountToInfinityTest::DoSendData(), Ipv4RipTest::DoSendData(), Ipv4StaticRoutingSlash32TestCase::DoSendData(), Ipv6ForwardingTest::DoSendData(), Ipv6PacketInfoTagTest::DoSendData(), Ipv6RawSocketImplTest::DoSendData(), Ipv6RipngCountToInfinityTest::DoSendData(), Ipv6RipngTest::DoSendData(), SixlowpanHc1ImplTest::DoSendData(), SixlowpanIphcImplTest::DoSendData(), UdpSocketImplTest::DoSendData(), Ipv4RawSocketImplTest::DoSendData_IpHdr(), Ipv4HeaderTest::DoSendData_IpHdr_Dscp(), Udp6SocketImplTest::DoSendDataTo(), UdpSocketImplTest::DoSendDataTo(), DynamicNeighborCacheTest::DoSendDatav4(), NixVectorRoutingTest::DoSendDatav4(), DynamicNeighborCacheTest::DoSendDatav6(), NixVectorRoutingTest::DoSendDatav6(), ns3::EpcX2::DoSendHandoverCancel(), ns3::EpcX2::DoSendHandoverPreparationFailure(), ns3::EpcX2::DoSendHandoverRequest(), ns3::EpcX2::DoSendHandoverRequestAck(), WifiPrimaryChannelsTest::DoSendHeTbPpdu(), ns3::EpcX2::DoSendLoadInformation(), ns3::LteUeRrcProtocolReal::DoSendMeasurementReport(), ns3::LteUePhy::DoSendRachPreamble(), ns3::EpcX2::DoSendResourceStatusUpdate(), ns3::Rip::DoSendRouteUpdate(), ns3::RipNg::DoSendRouteUpdate(), ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionReconfiguration(), ns3::LteUeRrcProtocolReal::DoSendRrcConnectionReconfigurationCompleted(), ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionReestablishment(), ns3::LteUeRrcProtocolReal::DoSendRrcConnectionReestablishmentComplete(), ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionReestablishmentReject(), ns3::LteUeRrcProtocolReal::DoSendRrcConnectionReestablishmentRequest(), ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionReject(), ns3::LteUeRrcProtocolReal::DoSendRrcConnectionRequest(), ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionSetup(), ns3::LteUeRrcProtocolReal::DoSendRrcConnectionSetupCompleted(), ns3::EpcX2::DoSendSnStatusTransfer(), ns3::EpcX2::DoSendUeContextRelease(), EmlsrSwitchMainPhyBackTest::DoSetup(), WifiPrimaryChannelsTest::DoSetup(), ns3::RadvdHelper::EnableDefaultRouterForInterface(), ns3::lrwpan::LrWpanMac::EndChannelEnergyScan(), ns3::lrwpan::LrWpanMac::EndChannelScan(), ns3::UanMacRcGw::EndCycle(), ns3::PhyEntity::EndOfMpdu(), AredQueueDiscTestCase::Enqueue(), CobaltQueueDiscCeThresholdTest::Enqueue(), CobaltQueueDiscDropTest::Enqueue(), CobaltQueueDiscEnhancedBlueTest::Enqueue(), CobaltQueueDiscMarkTest::Enqueue(), CoDelQueueDiscBasicDrop::Enqueue(), CoDelQueueDiscBasicMark::Enqueue(), CoDelQueueDiscBasicOverflow::Enqueue(), ns3::ApWifiMac::Enqueue(), ns3::MeshWifiInterfaceMac::Enqueue(), ns3::WifiMac::Enqueue(), PieQueueDiscTestCase::Enqueue(), RedQueueDiscTestCase::Enqueue(), TbfQueueDiscTestCase::Enqueue(), WifiExtractExpiredMpdusTest::Enqueue(), ns3::LteUePhy::EnqueueDlHarqFeedback(), ns3::lrwpan::LrWpanMac::EnqueueInd(), ns3::zigbee::ZigbeeNwk::EnqueuePendingTx(), AmpduAggregationTest::EnqueuePkts(), ns3::StaWifiMac::EnqueueProbeRequest(), ns3::ApWifiMac::EnqueueProbeResp(), ns3::LteChunkProcessor::EvaluateChunk(), ns3::TcpRxBuffer::Extract(), ns3::zigbee::ZigbeeNwk::FindNextHop(), ns3::Icmpv6L4Protocol::ForgeNA(), ns3::Icmpv6L4Protocol::ForgeNS(), ns3::Icmpv6L4Protocol::ForgeRS(), ns3::dsr::DsrRouting::ForwardErrPacket(), ns3::FrameExchangeManager::ForwardMpduDown(), ns3::dot11s::HwmpProtocolMac::ForwardPerr(), ns3::TapBridge::ForwardToBridgedDevice(), ns3::FdNetDevice::ForwardUp(), ns3::NdiscCache::Entry::FunctionRetransmitTimeout(), ns3::ThreeGppChannelModel::GenerateChannelParameters(), ns3::EhtFrameExchangeManager::GenerateInDeviceInterference(), BackoffGenerationTest::GenerateInterference(), EmlsrIcfSentDuringMainPhySwitchTest::GenerateNoiseOnAllLinks(), GeneratePacket(), ns3::SpectrumAnalyzer::GenerateReport(), Experiment::GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), ns3::WaveformGenerator::GenerateWaveform(), ns3::ThreeGppSpectrumPropagationLossModel::GenSpectrumChannelMatrix(), ns3::WifiPsdu::GetAmpduSubframe(), ns3::HtFrameExchangeManager::GetBar(), ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(), ns3::FlowMonitorHelper::GetClassifier(), ns3::FlowMonitorHelper::GetClassifier6(), ns3::ApWifiMac::GetFilsDiscovery(), ns3::FrameExchangeManager::GetFirstFragmentIfNeeded(), ns3::AnimationInterface::GetIpv4RoutingTable(), ns3::ThreeGppSpectrumPropagationLossModel::GetLongTerm(), ns3::FlowMonitorHelper::GetMonitor(), ns3::ThreeGppChannelModel::GetNewChannel(), ns3::MsduAggregator::GetNextAmsdu(), ns3::FrameExchangeManager::GetNextFragment(), ns3::NixVectorRouting< T >::GetNixVector(), ns3::SixLowPanNetDevice::Fragments::GetPacket(), ns3::WifiPsdu::GetPacket(), ns3::UanPhyDual::GetPacketRx(), ns3::Ipv4L3Protocol::Fragments::GetPartialPacket(), ns3::RadvdHelper::GetRadvdInterface(), ns3::lrwpan::LrWpanInterferenceHelper::GetSignalPsd(), ns3::LteSpectrumValueHelper::GetSpectrumModel(), ns3::WifiSpectrumValueHelper::GetSpectrumModel(), ns3::ThreeGppChannelModel::GetThreeGppTable(), ns3::MultiUserScheduler::GetTriggerFrame(), ns3::HtFrameExchangeManager::GetWifiPsdu(), ns3::VhtFrameExchangeManager::GetWifiPsdu(), TcpEndPointBug2211Test::HandleConnect(), ns3::Icmpv4L4Protocol::HandleEcho(), ns3::Icmpv6L4Protocol::HandleEchoRequest(), ns3::Ipv4ClickRouting::HandlePacketFromClick(), ns3::Rip::HandleRequests(), ns3::RipNg::HandleRequests(), ns3::IidManager::Hasher(), ns3::dot11s::HwmpProtocol::Install(), ns3::dot11s::PeerManagementProtocol::Install(), ns3::flame::FlameProtocol::Install(), ns3::WifiHelper::Install(), AodvExample::InstallInternetStack(), DsdvManetExample::InstallInternetStack(), TracerouteExample::InstallInternetStack(), ns3::LteHelper::InstallSingleEnbDevice(), ns3::LteHelper::InstallSingleUeDevice(), ns3::Ipv4L3Protocol::IpMulticastForward(), ns3::Ipv6L3Protocol::IpMulticastForward(), Ns3TcpLossTestCase::Ipv4L3Tx(), Ns3TcpStateTestCase::Ipv4L3Tx(), ns3::Rip::Lookup(), ns3::RipNg::Lookup(), ns3::Ipv4GlobalRouting::LookupGlobal(), ns3::Ipv4StaticRouting::LookupStatic(), ns3::Ipv4StaticRouting::LookupStatic(), ns3::Ipv6StaticRouting::LookupStatic(), ns3::Ipv6StaticRouting::LookupStatic(), ns3::aodv::RoutingProtocol::LoopbackRoute(), ns3::dsdv::RoutingProtocol::LoopbackRoute(), ns3::internal::MakeDoubleChecker(), MakeEnumChecker(), WifiPhyThresholdsTest::MakeForeignSignal(), ns3::internal::MakeIntegerChecker(), MakeObjectPtrContainerChecker(), MakePointerChecker(), SpectrumWifiPhyBasicTest::MakeSignal(), MakeSimpleAttributeChecker(), MakeTimeChecker(), ns3::internal::TupleHelper< Args >::MakeTupleChecker(), ns3::internal::TupleHelper< std::tuple< Args... > >::MakeTupleChecker(), ns3::internal::MakeUintegerChecker(), WifiPhyThresholdsTest::MakeWifiSignal(), ns3::zigbee::ZigbeeNwk::McpsDataIndication(), ns3::lrwpan::LrWpanMac::McpsDataRequest(), ns3::zigbee::ZigbeeNwk::MlmeAssociateIndication(), ns3::lrwpan::LrWpanMac::MlmeAssociateRequest(), ns3::lrwpan::LrWpanMac::MlmeAssociateResponse(), ns3::zigbee::ZigbeeNwk::MlmeBeaconNotifyIndication(), ns3::lrwpan::LrWpanMac::MlmeGetRequest(), ns3::lrwpan::LrWpanMac::MlmeOrphanResponse(), ns3::lrwpan::LrWpanMac::MlmePollRequest(), ns3::zigbee::ZigbeeNwk::MlmeScanConfirm(), ns3::lrwpan::LrWpanMac::MlmeScanRequest(), ns3::lrwpan::LrWpanMac::MlmeSetRequest(), ns3::lrwpan::LrWpanMac::MlmeStartRequest(), ns3::lrwpan::LrWpanMac::MlmeSyncRequest(), ns3::zigbee::ZigbeeNwk::NldeDataRequest(), ns3::zigbee::ZigbeeNwk::NlmeDirectJoinRequest(), ns3::TcpL4Protocol::NoEndPointsFound(), ns3::FrameExchangeManager::NormalAckTimeout(), ns3::FrameExchangeManager::NotifyInternalCollision(), ns3::PacketSink::PacketReceived(), ns3::lrwpan::LrWpanPhy::PdDataRequest(), ns3::lrwpan::LrWpanPhy::PlmeGetAttributeRequest(), ns3::lrwpan::LrWpanMac::PlmeSetAttributeConfirm(), ns3::HeFrameExchangeManager::PostProcessFrame(), ns3::HeFrameExchangeManager::PrepareMuBar(), ns3::dsr::DsrOptionRrep::Process(), ns3::dsr::DsrOptionRreq::Process(), ns3::Ipv6ExtensionFragment::Process(), ns3::Ipv4L3Protocol::ProcessFragment(), ns3::SixLowPanNetDevice::ProcessFragment(), ns3::zigbee::ZigbeeNwk::ProcessManyToOneRoute(), ns3::dsr::DsrRouting::PromiscReceive(), ns3::PcapFileWrapper::Read(), ns3::ApWifiMac::Receive(), ns3::MacRxMiddle::Receive(), ns3::HeFrameExchangeManager::ReceiveBasicTrigger(), ns3::GrantedTimeWindowMpiInterface::ReceiveMessages(), ns3::NullMessageMpiInterface::ReceiveMessages(), ns3::Dhcp6Client::ReceiveMflag(), ns3::FrameExchangeManager::ReceiveMpdu(), ns3::zigbee::ZigbeeNwk::ReceiveMulticastMemberFrame(), ns3::zigbee::ZigbeeNwk::ReceiveRREP(), ns3::AnimationInterface::RecursiveIpv4RoutePathSearch(), ns3::TcpSocketBase::Recv(), ns3::dsdv::RoutingProtocol::RecvDsdv(), ns3::aodv::RoutingProtocol::RecvError(), ns3::aodv::RoutingProtocol::RecvReply(), ns3::aodv::RoutingProtocol::RecvRequest(), ns3::flame::FlameProtocol::RemoveRoutingStuff(), ns3::Dhcp6Server::RenewRebindLeases(), ns3::LteEnbPhy::ReportInterference(), ns3::DhcpClient::Request(), ns3::ThreeGppHttpClient::RequestEmbeddedObject(), ns3::ThreeGppHttpClient::RequestMainObject(), ns3::NixVectorRouting< T >::RouteInput(), ns3::olsr::RoutingProtocol::RouteInput(), ns3::Ipv4ClickRouting::RouteOutput(), ns3::NixVectorRouting< T >::RouteOutput(), ns3::olsr::RoutingProtocol::RouteOutput(), ns3::UanMacRc::RtsTimeout(), NeighborCacheExample::Run(), EmlsrCheckNavAndCcaLastPifsTest::RunOne(), SpectrumWifiPhy80Plus80Test::RunOne(), TestDlOfdmaPhyPuncturing::RunOne(), TestDlOfdmaPhyTransmission< LatestPhyEntityType >::RunOne(), TestUlOfdmaPhyTransmission< LatestPhyEntityType >::RunOne(), PieQueueDiscTestCase::RunPieTest(), RedQueueDiscTestCase::RunRedTest(), TbfQueueDiscTestCase::RunTbfTest(), TestMultipleHeTbPreambles::RxHeTbPpdu(), ns3::BlockAckManager::ScheduleBar(), ns3::dsr::DsrRouting::ScheduleNetworkPacketRetry(), TestMultiUserScheduler::SelectTxFormat(), EpsBearerTagUdpClient::Send(), ns3::Ipv4Interface::Send(), ns3::Ipv4L3Protocol::Send(), ns3::Ipv6Interface::Send(), ns3::PacketSocketClient::Send(), ns3::Ping::Send(), ns3::Radvd::Send(), ns3::Socket::Send(), ns3::UdpClient::Send(), ns3::UdpEchoClient::Send(), ns3::V4TraceRoute::Send(), PsrExperiment::Send(), Send(), TestPhyDropDueToTx::Send(), TestSpectrumChannelWithBandwidthFilter::Send(), SpectrumWifiPhy80Plus80Test::Send160MhzPpdu(), CollisionExperiment::SendA(), InterferenceExperiment::SendA(), ns3::DhcpServer::SendAck(), ns3::dsr::DsrRouting::SendAck(), ns3::lrwpan::LrWpanMac::SendAck(), ns3::HtFrameExchangeManager::SendAddBaRequest(), ns3::HtFrameExchangeManager::SendAddBaResponse(), ns3::Dhcp6Server::SendAdvertise(), TestAmpduReception::SendAmpduWithThreeMpdus(), ns3::ArpL3Protocol::SendArpReply(), ns3::ArpL3Protocol::SendArpRequest(), ns3::StaWifiMac::SendAssociationRequest(), ns3::lrwpan::LrWpanMac::SendAssocRequestCommand(), ns3::ApWifiMac::SendAssocResp(), ns3::lrwpan::LrWpanMac::SendAssocResponseCommand(), CollisionExperiment::SendB(), InterferenceExperiment::SendB(), ns3::MeshWifiInterfaceMac::SendBeacon(), ns3::lrwpan::LrWpanMac::SendBeaconRequestCommand(), ns3::HtFrameExchangeManager::SendBlockAck(), ns3::QosFrameExchangeManager::SendCfEndIfNeeded(), Ipv4FragmentationTest::SendClient(), Ipv6FragmentationTest::SendClient(), SixlowpanFragmentationTest::SendClient(), ns3::FrameExchangeManager::SendCtsToSelf(), Bug772ChainTest::SendData(), DynamicNeighborCacheTest::SendData(), DynamicNeighborCacheTest::SendData(), FlameRegressionTest::SendData(), HwmpProactiveRegressionTest::SendData(), HwmpReactiveRegressionTest::SendData(), HwmpSimplestRegressionTest::SendData(), IcmpEchoReplyTestCase::SendData(), IcmpTimeExceedTestCase::SendData(), IcmpV6EchoReplyTestCase::SendData(), IcmpV6TimeExceedTestCase::SendData(), Ipv4DynamicGlobalRoutingTestCase::SendData(), Ipv4ForwardingTest::SendData(), Ipv4GlobalRoutingSlash32TestCase::SendData(), Ipv4RawSocketImplTest::SendData(), Ipv4RipCountToInfinityTest::SendData(), Ipv4RipTest::SendData(), Ipv4StaticRoutingSlash32TestCase::SendData(), Ipv6ForwardingTest::SendData(), Ipv6RawSocketImplTest::SendData(), Ipv6RipngCountToInfinityTest::SendData(), Ipv6RipngTest::SendData(), NixVectorRoutingTest::SendData(), NixVectorRoutingTest::SendData(), ns3::aodv::LoopbackTestCase::SendData(), ns3::BulkSendApplication::SendData(), ns3::LteTestPdcp::SendData(), ns3::LteTestRrc::SendData(), SendData(), SixlowpanHc1ImplTest::SendData(), SixlowpanIphcImplTest::SendData(), Ipv4RawSocketImplTest::SendData_IpHdr(), Ipv4HeaderTest::SendData_IpHdr_Dscp(), HwmpDoRfRegressionTest::SendDataA(), HwmpDoRfRegressionTest::SendDataB(), HwmpDoRfRegressionTest::SendDataC(), ns3::HtFrameExchangeManager::SendDataFrame(), SendDataGcst(), ns3::lrwpan::LrWpanMac::SendDataRequestCommand(), Udp6SocketImplTest::SendDataTo(), UdpSocketImplTest::SendDataTo(), SendDataUcst(), ZigbeeApsDataTestCase::SendDataUcstDst(), ns3::HtFrameExchangeManager::SendDelbaFrame(), ns3::Icmpv4L4Protocol::SendDestUnreach(), WifiPrimaryChannelsTest::SendDlMuPpdu(), WifiPrimaryChannelsTest::SendDlSuPpdu(), ns3::EhtFrameExchangeManager::SendEmlOmn(), ns3::TcpSocketBase::SendEmptyPacket(), ns3::TcpSocketSmallAcks::SendEmptyPacket(), ns3::dsr::DsrRouting::SendErrorRequest(), ns3::dsr::DsrRouting::SendGratuitousReply(), ns3::aodv::RoutingProtocol::SendHello(), TestUlMuMimoPhyTransmission::SendHeSuPpdu(), TestUlMuMimoPhyTransmission::SendHeTbPpdu(), ns3::dsr::DsrRouting::SendInitialRequest(), ns3::MeshWifiInterfaceMac::SendManagementFrame(), TestUlOfdmaPowerControl::SendMuBar(), ns3::HeFrameExchangeManager::SendMultiStaBlockAck(), TestDlMuMimoPhyTransmission::SendMuPpdu(), TestDlOfdmaPhyPuncturing::SendMuPpdu(), TestDlOfdmaPhyTransmission< LatestPhyEntityType >::SendMuPpdu(), TestUlOfdmaPpduUid::SendMuPpdu(), ns3::HeFrameExchangeManager::SendMuRts(), ns3::Icmpv6L4Protocol::SendNA(), TestNonHtDuplicatePhyReception::SendNonHtDuplicatePpdu(), ns3::FrameExchangeManager::SendNormalAck(), ns3::Icmpv6L4Protocol::SendNS(), ns3::DhcpServer::SendOffer(), ns3::ApWifiMac::SendOneBeacon(), ns3::lrwpan::LrWpanMac::SendOneBeacon(), AcousticModemEnergyDepletionTestCase::SendOnePacket(), AcousticModemEnergyTestCase::SendOnePacket(), DcfImmediateAccessBroadcastTestCase::SendOnePacket(), InterferenceHelperSequenceTest::SendOnePacket(), PointToPointTest::SendOnePacket(), SendOnePacket(), SixlowpanIphcStatefulImplTest::SendOnePacket(), TestInterBssConstantObssPdAlgo::SendOnePacket(), UanTest::SendOnePacket(), WifiTest::SendOnePacket(), ns3::lrwpan::LrWpanMac::SendOrphanNotificationCommand(), IdealRateManagerChannelWidthTest::SendPacket(), IdealRateManagerMimoTest::SendPacket(), Ipv4RawFragmentationTest::SendPacket(), Ipv6RawFragmentationTest::SendPacket(), ns3::OnOffApplication::SendPacket(), ns3::TcpGeneralTest::SendPacket(), ns3::TutorialApp::SendPacket(), ns3::UdpTraceClient::SendPacket(), Sender::SendPacket(), SendPacket(), SendPacket(), SendPacket(), SendPacket(), WifiPhyReceptionTest::SendPacket(), Bug2470TestCase::SendPacketBurst(), Bug2843TestCase::SendPacketBurst(), ns3::dsr::DsrRouting::SendPacketFromBuffer(), Issue169TestCase::SendPackets(), Issue40TestCase::SendPackets(), TcFlowControlTestCase::SendPackets(), UanExperiment::SendPackets(), ns3::dot11s::PeerManagementProtocolMac::SendPeerLinkManagementFrame(), ns3::dsdv::RoutingProtocol::SendPeriodicUpdate(), ChainRegressionTest::SendPing(), ns3::olsr::Bug780Test::SendPing(), SpectrumWifiPhyFilterTest::SendPpdu(), SpectrumWifiPhyMultipleInterfacesTest::SendPpdu(), TestUnsupportedBandwidthReception::SendPpdu(), TestWifiPhyRxTraceHelper::SendPpduWithOneMpdu(), TestWifiPhyRxTraceHelperMloStr::SendPpduWithOneMpdu(), TestWifiPhyRxTraceHelperYans::SendPpduWithOneMpdu(), TestWifiPhyRxTraceHelper::SendPpduWithTwoMpdus(), TestWifiPhyRxTraceHelperMloStr::SendPpduWithTwoMpdus(), TestWifiPhyRxTraceHelperYans::SendPpduWithTwoMpdus(), ns3::dot11s::HwmpProtocolMac::SendPrep(), ns3::dot11s::HwmpProtocolMac::SendPreqVector(), ns3::HeFrameExchangeManager::SendPsduMap(), ns3::HeFrameExchangeManager::SendQosNullFramesInTbPpdu(), ns3::olsr::RoutingProtocol::SendQueuedMessages(), ns3::Dhcp6Client::SendRebind(), ns3::Icmpv6L4Protocol::SendRedirection(), ns3::Dhcp6Client::SendRelease(), ns3::Dhcp6Client::SendRenew(), ns3::aodv::RoutingProtocol::SendReply(), ns3::Dhcp6Server::SendReply(), ns3::aodv::RoutingProtocol::SendReplyAck(), ns3::aodv::RoutingProtocol::SendReplyByIntermediateNode(), ns3::LteUeMac::SendReportBufferStatus(), ns3::aodv::RoutingProtocol::SendRequest(), ns3::Dhcp6Client::SendRequest(), ns3::aodv::RoutingProtocol::SendRerrWhenBreaksLinkToNextHop(), ns3::aodv::RoutingProtocol::SendRerrWhenNoRouteToForward(), ns3::Rip::SendRouteRequest(), ns3::RipNg::SendRouteRequest(), ns3::zigbee::ZigbeeNwk::SendRREP(), ns3::zigbee::ZigbeeNwk::SendRREQ(), ns3::Icmpv6L4Protocol::SendRS(), ns3::FrameExchangeManager::SendRts(), ns3::UanMacRc::SendRts(), SendStuff(), TestUlOfdmaPhyTransmission< LatestPhyEntityType >::SendSuPpdu(), TestUlOfdmaPpduUid::SendSuPpdu(), WifiPhyCcaIndicationTest::SendSuPpdu(), TestPhyPaddingExclusion::SendTbPpdu(), TestUlOfdmaPhyTransmission< LatestPhyEntityType >::SendTbPpdu(), TestUlOfdmaPpduUid::SendTbPpdu(), ns3::Icmpv4L4Protocol::SendTimeExceededTtl(), ns3::Ipv4RawSocketImpl::SendTo(), ns3::Socket::SendTo(), ns3::dsdv::RoutingProtocol::SendTriggeredUpdate(), ns3::dsr::DsrRouting::SendUnreachError(), UdpSocketImplTest::SentPkt(), ns3::ThreeGppHttpServer::ServeFromTxBuffer(), TcpTestCase::ServerHandleSend(), ns3::PairValue< A, B >::Set(), ns3::dot11s::PeerManagementProtocol::SetMeshId(), ns3::LteInterference::SetNoisePowerSpectralDensity(), ns3::SpectrumInterference::SetNoisePowerSpectralDensity(), ns3::StaWifiMac::SetPowerSaveMode(), ns3::dsr::DsrOptions::SetRoute(), ns3::dsr::DsrRouting::SetRoute(), ns3::lrwpan::LrWpanPhy::SetRxSensitivity(), ns3::SpectrumAnalyzer::SetRxSpectrumModel(), ns3::WifiStaticSetupHelper::SetStaticAssocPostInit(), ns3::dot11s::AirtimeLinkMetricCalculator::SetTestLength(), TestUlOfdmaPowerControl::SetupBa(), ns3::TvSpectrumTransmitter::SetupTx(), TcpTestCase::SourceHandleSend(), SpectrumModel300Khz300GhzLog(), SpectrumModelIsm2400MhzRes1Mhz(), ns3::LteTestRrc::Start(), ns3::UanMacRcGw::StartCycle(), ns3::LteEnbPhy::StartFrame(), ns3::HeFrameExchangeManager::StartFrameExchange(), WifiPhyCcaIndicationTest::StartSignal(), ns3::LteEnbPhy::StartSubFrame(), ns3::TapBridge::StartTapDevice(), ns3::HalfDuplexIdealPhy::StartTx(), ns3::LteSpectrumPhy::StartTxDataFrame(), ns3::LteSpectrumPhy::StartTxDlCtrlFrame(), ns3::LteSpectrumPhy::StartTxUlSrsFrame(), PowerRateAdaptationTest::TestAparf(), PbbTestCase::TestDeserialize(), PfifoFastQueueDiscDscpPrioritization::TestDscpValue(), TcpTxBufferTestCase::TestIsLost(), TcpTxBufferTestCase::TestMergeItemsWhenGetTransmittedSegment(), TcpTxBufferTestCase::TestNewBlock(), TcpTxBufferTestCase::TestNextSeg(), PowerRateAdaptationTest::TestParf(), PowerRateAdaptationTest::TestRrpaa(), PfifoFastQueueDiscTosPrioritization::TestTosValue(), TcpRxBufferTestCase::TestUpdateSACKList(), TcpRateLinuxWithBufferTest::TestWithSackBlocks(), ns3::AnimationInterface::TrackIpv4RoutePaths(), ns3::PhyEntity::Transmit(), ns3::RrMultiUserScheduler::TrySendingBsrpTf(), TestMultipleCtsResponsesFromMuRts::TxNonHtDuplicateCts(), ns3::zigbee::ZigbeeNwk::UpdateBeaconPayload(), ns3::zigbee::ZigbeeNwk::UpdateBeaconPayloadLength(), ns3::Dhcp6Server::UpdateBindings(), ns3::A2A4RsrqHandoverAlgorithm::UpdateNeighbourMeasurements(), ns3::LteFfrDistributedAlgorithm::UpdateNeighbourMeasurements(), ns3::Dhcp6Client::ValidateAdvertise(), and ns3::SocketWriter::Write().

◆ operator!=() [1/4]

template<typename T1, typename T2>
bool ns3::operator!= ( const Ptr< T1 > & lhs,
const Ptr< T2 > & rhs )

Inequality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p != q) ...
uint32_t q
Smart pointer class similar to boost::intrusive_ptr.
Definition ptr.h:67

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 506 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator!=() [2/4]

template<typename T1, typename T2>
bool ns3::operator!= ( const Ptr< T1 > & lhs,
T2 const * rhs )

Inequality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p != q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 485 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator!=() [3/4]

template<typename T1, typename T2>
std::enable_if_t< std::is_same_v< T2, std::nullptr_t >, bool > ns3::operator!= ( const Ptr< T1 > & lhs,
T2 rhs )

Specialization for comparison to nullptr.

Equality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p == q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 520 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator!=() [4/4]

template<typename T1, typename T2>
bool ns3::operator!= ( T1 const * lhs,
Ptr< T2 > & rhs )

Inequality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p != q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 492 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator<() [1/3]

template<typename T>
bool ns3::operator< ( const Ptr< const T > & lhs,
const Ptr< T > & rhs )

Comparison operator applied to the underlying pointers.

Template Parameters
T[deduced] The type of the operands.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
The comparison on the underlying pointers.

Definition at line 540 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator<() [2/3]

template<typename T>
bool ns3::operator< ( const Ptr< T > & lhs,
const Ptr< const T > & rhs )

Comparison operator applied to the underlying pointers.

Template Parameters
T[deduced] The type of the operands.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
The comparison on the underlying pointers.

Definition at line 533 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator<() [3/3]

template<typename T>
bool ns3::operator< ( const Ptr< T > & lhs,
const Ptr< T > & rhs )

Comparison operator applied to the underlying pointers.

Template Parameters
T[deduced] The type of the operands.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
The comparison on the underlying pointers.

Definition at line 526 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator<<()

template<typename T>
std::ostream & ns3::operator<< ( std::ostream & os,
const Ptr< T > & p )

Output streamer.

Template Parameters
T[deduced] The type of the underlying Object.
Parameters
[in,out]osThe output stream.
[in]pThe Ptr.
Returns
The stream.

Definition at line 462 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator<=()

template<typename T>
bool ns3::operator<= ( const Ptr< T > & lhs,
const Ptr< T > & rhs )

Comparison operator applied to the underlying pointers.

Template Parameters
T[deduced] The type of the operands.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
The comparison on the underlying pointers.

Definition at line 547 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator==() [1/4]

template<typename T1, typename T2>
bool ns3::operator== ( const Ptr< T1 > & lhs,
const Ptr< T2 > & rhs )

Equality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p == q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 499 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator==() [2/4]

template<typename T1, typename T2>
bool ns3::operator== ( const Ptr< T1 > & lhs,
T2 const * rhs )

Equality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p == q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 471 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator==() [3/4]

template<typename T1, typename T2>
std::enable_if_t< std::is_same_v< T2, std::nullptr_t >, bool > ns3::operator== ( const Ptr< T1 > & lhs,
T2 rhs )

Specialization for comparison to nullptr.

Equality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p == q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 513 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator==() [4/4]

template<typename T1, typename T2>
bool ns3::operator== ( T1 const * lhs,
Ptr< T2 > & rhs )

Equality operator.

This enables code such as

Ptr<...> p = ...;
Ptr<...> q = ...;
if (p == q) ...

Note that either p or q could also be ordinary pointers to the underlying object.

Template Parameters
T1[deduced] Type of the object on the lhs.
T2[deduced] Type of the object on the rhs.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
true if the operands point to the same underlying object.

Definition at line 478 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator>()

template<typename T>
bool ns3::operator> ( const Ptr< T > & lhs,
const Ptr< T > & rhs )

Comparison operator applied to the underlying pointers.

Template Parameters
T[deduced] The type of the operands.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
The comparison on the underlying pointers.

Definition at line 555 of file ptr.h.

References PeekPointer().

Here is the call graph for this function:

◆ operator>=()

template<typename T>
bool ns3::operator>= ( const Ptr< T > & lhs,
const Ptr< T > & rhs )

Comparison operator applied to the underlying pointers.

Template Parameters
T[deduced] The type of the operands.
Parameters
[in]lhsThe left operand.
[in]rhsThe right operand.
Returns
The comparison on the underlying pointers.

Definition at line 562 of file ptr.h.

References PeekPointer().

Here is the call graph for this function: