A Discrete-Event Network Simulator
API
Assertions

Assert functions and macros. More...

+ Collaboration diagram for Assertions:

Files

file  assert.h
 NS_ASSERT() and NS_ASSERT_MSG() macro definitions.
 

Macros

#define NS_ASSERT(condition)
 At runtime, in debugging builds, if this condition is not true, the program prints the source file, line number and unverified condition and halts by calling std::terminate. More...
 
#define NS_ASSERT_MSG(condition, message)
 At runtime, in debugging builds, if this condition is not true, the program prints the message to output and halts by calling std::terminate. More...
 

Macros defined by the build system.

These have to be visible for doxygen to document them, so we put them here in a file only seen by doxygen, not the compiler.

#define NS3_ASSERT_ENABLE
 Enable asserts at compile time. More...
 
#define NS3_LOG_ENABLE
 Enable logging at compile time. More...
 

Detailed Description

Assert functions and macros.

The assert macros are used to verify at runtime that a certain condition is true. If it is not true, the program halts. These checks are built into the program only in debugging builds. They are removed in optimized builds.

These macro are intended to check certain conditions to be true. Do not put code that also have side effects that your program relies on (eg. code that advances an iterator and return false at end of file) because the code will not be executed on release builds!!

If assertion-style checks are required for release builds, use NS_ABORT_UNLESS and NS_ABORT_MSG_UNLESS.

Macro Definition Documentation

◆ NS3_ASSERT_ENABLE

#define NS3_ASSERT_ENABLE

Enable asserts at compile time.

This is normally set by ./waf configure --build-profile=debug.

Definition at line 96 of file main.h.

◆ NS3_LOG_ENABLE

#define NS3_LOG_ENABLE

Enable logging at compile time.

This is normally set by ./waf configure --build-profile=debug.

Definition at line 107 of file main.h.

◆ NS_ASSERT

#define NS_ASSERT (   condition)
Value:
do \
{ \
if (!(condition)) \
{ \
std::cerr << "assert failed. cond=\"" << \
# condition << "\", "; \
NS_FATAL_ERROR_NO_MSG (); \
} \
} \
while (false)

At runtime, in debugging builds, if this condition is not true, the program prints the source file, line number and unverified condition and halts by calling std::terminate.

Parameters
[in]conditionCondition to verify.

Definition at line 67 of file assert.h.

Referenced by ns3::HalfDuplexIdealPhy::AbortRx(), ns3::NscTcpSocketImpl::Accept(), ns3::OriginatorRxStatus::AccumulateFirstFragment(), ns3::OriginatorRxStatus::AccumulateFragment(), ns3::OriginatorRxStatus::AccumulateLastFragment(), ns3::DrbActivator::ActivateDrb(), ns3::EutranMeasurementMapping::ActualA3Offset2IeValue(), ns3::EutranMeasurementMapping::ActualHysteresis2IeValue(), ns3::RemoteChannelBundleManager::Add(), ns3::EpcTftClassifier::Add(), ns3::NdiscCache::Add(), ns3::TcpRxBuffer::Add(), ns3::DeviceEnergyModelContainer::Add(), ns3::EnergySourceContainer::Add(), ns3::EnergyHarvesterContainer::Add(), ns3::ArpCache::Add(), ns3::ByteTagList::Add(), ns3::Gnuplot2dDataset::Add(), ns3::SpectrumValue::Add(), ChannelAccessManagerTest::AddAccessRequestWithSuccessfullAck(), ns3::WifiRemoteStationManager::AddAllSupportedMcs(), ns3::WifiRemoteStationManager::AddAllSupportedModes(), ns3::PacketMetadata::AddAtEnd(), ns3::Buffer::AddAtEnd(), ns3::Buffer::AddAtStart(), ns3::PacketMetadata::AddBig(), ns3::BridgeNetDevice::AddBridgePort(), ns3::NoBackhaulEpcHelper::AddEnb(), ns3::olsr::RoutingProtocol::AddEntry(), ns3::ArpQueueDiscItem::AddHeader(), ns3::Ipv4QueueDiscItem::AddHeader(), ns3::Ipv6QueueDiscItem::AddHeader(), ns3::PacketMetadata::AddHeader(), ns3::MeshPointDevice::AddInterface(), ns3::Ipv6L3Protocol::AddInterface(), ns3::Ipv4L3Protocol::AddInterface(), ns3::TcpSocketBase::AddOptionSackPermitted(), ns3::TcpSocketBase::AddOptionWScale(), ns3::flame::FlameRtable::AddPath(), ns3::PropagationCache< ns3::JakesProcess >::AddPathData(), ns3::AnimationInterface::AddPendingPacket(), ns3::dot11s::HwmpRtable::AddReactivePath(), ns3::TcpTxBuffer::AddRenoSack(), ns3::Address::Address(), ns3::MultiModelSpectrumChannel::AddRx(), ns3::NoBackhaulEpcHelper::AddS1Interface(), ns3::PacketMetadata::AddSmall(), ns3::WifiRemoteStationManager::AddSupportedErpSlotTime(), ns3::WifiRemoteStationManager::AddSupportedMcs(), ns3::WifiRemoteStationManager::AddSupportedMode(), ns3::WifiRemoteStationManager::AddSupportedPlcpPreamble(), ns3::SupportedRates::AddSupportedRate(), ns3::PacketMetadata::AddTrailer(), ns3::aodv::RerrHeader::AddUnDestination(), ns3::EmuEpcHelper::AddX2Interface(), ns3::EpcX2::AddX2Interface(), ns3::MsduAggregator::Aggregate(), ns3::MpduAggregator::Aggregate(), ns3::Object::AggregateObject(), ns3::ByteTagList::Allocate(), ns3::Buffer::Allocate(), ns3::CidFactory::AllocateBasic(), ns3::CidFactory::AllocateMulticast(), ns3::CidFactory::AllocatePrimary(), ns3::CidFactory::AllocateTransportOrSecondary(), ns3::IidManager::AllocateUid(), ns3::EnergySource::AppendDeviceEnergyModel(), ns3::LteUeRrc::ApplyMeasConfig(), ns3::DefaultChannelScheduler::AssignAlternatingAccess(), ns3::DefaultChannelScheduler::AssignContinuousAccess(), ns3::DefaultChannelScheduler::AssignExtendedAccess(), ns3::RandomVariableStreamHelper::AssignStreams(), ns3::TraceFadingLossModel::AssignStreams(), ns3::BsmApplication::AssignStreams(), ns3::InternetStackHelper::AssignStreams(), ns3::UanMacRc::Associate(), ns3::UanMacRc::AssociateTimeout(), ns3::BlockAckWindow::At(), ns3::PointToPointChannel::Attach(), ns3::CsmaChannel::Attach(), ns3::LteHelper::Attach(), ns3::LteHelper::AttachToClosestEnb(), ns3::Buffer::Begin(), ns3::SteadyStateRandomWaypointMobilityModel::BeginWalk(), ns3::Buffer::Buffer(), ns3::BufferSizeLevelBsr::BufferSize2BsrId(), ns3::ModelTypeidCreator::Build(), ns3::ModelCreator::Build(), ns3::GlobalRouter::BuildNetworkLSAs(), ns3::NullMessageSimulatorImpl::CalculateGuaranteeTime(), ns3::Rectangle::CalculateIntersection(), ns3::Box::CalculateIntersection(), ns3::InterferenceHelper::CalculateLegacyPhyHeaderPer(), ns3::FriisSpectrumPropagationLossModel::CalculateLoss(), ns3::dot11s::AirtimeLinkMetricCalculator::CalculateMetric(), ns3::InterferenceHelper::CalculateNonLegacyPhyHeaderPer(), ns3::InterferenceHelper::CalculatePayloadPer(), ns3::YansErrorRateModel::CalculatePdEven(), ns3::YansErrorRateModel::CalculatePdOdd(), ns3::NistErrorRateModel::CalculatePe(), ns3::BasicEnergySource::CalculateRemainingEnergy(), ns3::LiIonEnergySource::CalculateRemainingEnergy(), ns3::NullMessageSimulatorImpl::CalculateSafeTime(), ns3::ErrorRateModel::CalculateSnr(), ns3::LrWpanPhy::CancelEd(), ns3::LteUeRrc::CancelEnteringTrigger(), ns3::LteUeRrc::CancelLeavingTrigger(), ns3::OcbWifiMac::CancleTx(), ns3::MacLow::CanTransmitNextCfFrame(), ns3::cell_edited_callback(), ns3::cell_edited_callback_config_default(), LteHandoverTargetTestCase::CellShutdownCallback(), ns3::MacLow::CfPollTimeout(), ns3::AcousticModemEnergyModel::ChangeState(), ns3::WifiRadioEnergyModel::ChangeState(), ns3::dot11s::PeerManagementProtocol::CheckBeaconCollisions(), ns3::Address::CheckCompatible(), LteRrcConnectionEstablishmentTestCase::CheckConnected(), ns3::FlowMonitor::CheckForLostPackets(), ns3::GlobalRouteManagerImpl::CheckForStubNode(), PacketMetadataTest::CheckHistory(), LteRrcConnectionEstablishmentTestCase::CheckNotConnected(), ns3::dsr::DsrRouting::CheckSendBuffer(), ns3::EpcTftClassifier::Classify(), ns3::Time::Clear(), ns3::TcpRxBuffer::ClearSackList(), ns3::DynamicQueueLimits::Completed(), ns3::NscTcpSocketImpl::CompleteFork(), ns3::QosTxop::CompleteMpduTx(), ns3::ComponentExists(), ns3::LteEnbRrc::ConfigureCell(), ns3::WifiPhy::ConfigureDefaultsForStandard(), ns3::WifiPhy::ConfigureStandard(), ns3::dot11s::PeerLink::ConfirmAccept(), ns3::dot11s::PeerLink::ConfirmReject(), ns3::TcpHybla::CongestionAvoidance(), ns3::TcpScalable::CongestionAvoidance(), ns3::NscTcpSocketImpl::Connect(), ns3::Config::MatchContainer::Connect(), ns3::TcpSocketBase::Connect(), ns3::EnergySource::ConnectEnergyHarvester(), ns3::ThreeGppHttpClient::ConnectionSucceededCallback(), ns3::AnimationInterface::ConnectLte(), ns3::NetDeviceQueue::ConnectQueueTraces(), ns3::RadioBearerStatsConnector::ConnectTracesSrb0(), ns3::RadioBearerStatsConnector::ConnectTracesSrb1(), ns3::JakesProcess::ConstructOscillators(), ns3::WifiPhy::ContinueReceiveHeader(), ns3::SpectrumConverter::Convert(), ns3::Mac8Address::ConvertFrom(), ns3::Mac16Address::ConvertFrom(), ns3::Mac64Address::ConvertFrom(), ns3::Mac48Address::ConvertFrom(), ns3::PacketSocketAddress::ConvertFrom(), ns3::Inet6SocketAddress::ConvertFrom(), ns3::InetSocketAddress::ConvertFrom(), ns3::Ipv4Address::ConvertFrom(), ns3::Ipv6Address::ConvertFrom(), ns3::ConvertGuardIntervalToNanoSeconds(), ns3::Address::CopyAllFrom(), ns3::Address::CopyAllTo(), ns3::TagBuffer::CopyFrom(), ns3::Address::CopyFrom(), ns3::PendingData::CopyFromOffset(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::CopyObject(), ns3::Address::CopyTo(), Ns2MobilityHelperTest::CourseChange(), ns3::PacketTagList::COWTraverse(), ns3::ObjectFactory::Create(), ns3::SpectrumPhyHelper::Create(), ns3::Buffer::Create(), ns3::BlockAckManager::CreateAgreement(), ns3::ArpL3Protocol::CreateCache(), ns3::LteUePhy::CreateDlCqiFeedbackMessage(), ns3::WifiSpectrumValueHelper::CreateDsssTxPowerSpectralDensity(), ns3::Packet::CreateFragment(), ns3::Buffer::CreateFragment(), ns3::Buffer::CreateFullCopy(), ns3::WifiSpectrumValueHelper::CreateHtOfdmTxPowerSpectralDensity(), ns3::MeshHelper::CreateInterface(), ns3::WifiSpectrumValue5MhzFactory::CreateRfFilter(), ThreeGppHttpObjectTestCase::CreateSimpleInternetNode(), ns3::Socket::CreateSocket(), ns3::WifiSpectrumValueHelper::CreateSpectrumMaskForOfdm(), ns3::TvSpectrumTransmitter::CreateTvPsd(), ns3::WifiSpectrumValue5MhzFactory::CreateTxPowerSpectralDensity(), ns3::WifiModeFactory::CreateWifiMcs(), ns3::WifiModeFactory::CreateWifiMode(), ns3::AnimationInterface::CsmaMacRxTrace(), ns3::AnimationInterface::CsmaPhyRxEndTrace(), ns3::AnimationInterface::CsmaPhyTxBeginTrace(), ns3::AnimationInterface::CsmaPhyTxEndTrace(), ns3::MacLow::DeaggregateAmpduAndReceive(), ns3::Buffer::Deallocate(), ns3::LiIonEnergySource::DecreaseRemainingEnergy(), ns3::dsdv::RoutingProtocol::DeferredRouteOutput(), ns3::aodv::RoutingProtocol::DeferredRouteOutput(), ns3::UanModesList::DeleteMode(), ns3::QueueDisc::Dequeue(), ns3::QosTxop::DequeuePeekedFrame(), ns3::WifiInformationElementVector::Deserialize(), ns3::aodv::TypeHeader::Deserialize(), ns3::dsdv::DsdvHeader::Deserialize(), ns3::LtePdcpHeader::Deserialize(), ns3::NixVector::Deserialize(), ns3::Icmpv4Echo::Deserialize(), ns3::aodv::RreqHeader::Deserialize(), ns3::Address::Deserialize(), ns3::WifiInformationElement::Deserialize(), ns3::PacketMetadata::Deserialize(), ns3::olsr::MessageHeader::Deserialize(), ns3::olsr::MessageHeader::Mid::Deserialize(), ns3::aodv::RrepHeader::Deserialize(), ns3::olsr::MessageHeader::Hello::Deserialize(), ns3::olsr::MessageHeader::Tc::Deserialize(), ns3::aodv::RrepAckHeader::Deserialize(), ns3::olsr::MessageHeader::Hna::Deserialize(), ns3::aodv::RerrHeader::Deserialize(), ns3::Buffer::Deserialize(), ns3::Packet::Deserialize(), ns3::Icmpv6OptionLinkLayerAddress::Deserialize(), ns3::RrcAsn1Header::DeserializeCellIdentification(), ns3::EnumValue::DeserializeFromString(), ns3::CfParameterSet::DeserializeInformationField(), ns3::dot11s::IeMeshId::DeserializeInformationField(), ns3::ExtendedSupportedRatesIE::DeserializeInformationField(), ns3::Ssid::DeserializeInformationField(), ns3::dot11s::IePeerManagement::DeserializeInformationField(), ns3::SupportedRates::DeserializeInformationField(), ns3::dot11s::IePreq::DeserializeInformationField(), ns3::RrcAsn1Header::DeserializeNonCriticalExtensionConfig(), ns3::RrcAsn1Header::DeserializePhysicalConfigDedicatedSCell(), ns3::MpiInterface::Destroy(), ns3::RemoteChannelBundleManager::Destroy(), ns3::MacLow::DestroyBlockAckAgreement(), ns3::CsmaChannel::Detach(), ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(), ns3::AnimationInterface::DevTxTrace(), ns3::MpiInterface::Disable(), ns3::TcpTxBuffer::DiscardUpTo(), ns3::RvBatteryModel::Discharge(), ns3::Config::MatchContainer::Disconnect(), ns3::SpectrumValue::Divide(), ns3::Config::Resolver::DoArrayResolve(), ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(), ns3::NakagamiPropagationLossModel::DoCalcRxPower(), ns3::ConstantSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(), ns3::TraceFadingLossModel::DoCalcRxPowerSpectralDensity(), ns3::WifiPhy::DoChannelSwitch(), ns3::Icmpv6L4Protocol::DoDAD(), ns3::Queue< ns3::Packet >::DoDequeue(), ns3::Object::DoDispose(), ns3::LteEnbMac::DoDlInfoListElementHarqFeeback(), ns3::TcpSocketBase::DoForwardUp(), ns3::WifiPhy::DoFrequencySwitch(), ns3::AcousticModemEnergyModel::DoGetCurrentA(), ns3::AmrrWifiManager::DoGetDataTxVector(), ns3::OnoeWifiManager::DoGetDataTxVector(), ns3::Object::DoGetObject(), ns3::MinstrelHtWifiManager::DoGetRtsTxVector(), ns3::olsr::RoutingProtocol::DoInitialize(), ns3::MeshWifiInterfaceMac::DoInitialize(), ns3::Object::DoInitialize(), ns3::SteadyStateRandomWaypointMobilityModel::DoInitializePrivate(), ns3::BasicEnergySourceHelper::DoInstall(), ns3::RvBatteryModelHelper::DoInstall(), ns3::BasicEnergyHarvesterHelper::DoInstall(), ns3::LiIonEnergySourceHelper::DoInstall(), ns3::AcousticModemEnergyModelHelper::DoInstall(), ns3::WifiRadioEnergyModelHelper::DoInstall(), ns3::LteRlcAm::DoNotifyTxOpportunity(), ns3::TcpSocketBase::DoPeerClose(), ns3::LteRlcAm::DoReceivePdu(), ns3::EpcMmeApplication::DoRecvModifyBearerResponse(), ns3::LteEnbRrc::DoRecvResourceStatusUpdate(), ns3::LteUeRrc::DoRecvRrcConnectionReconfiguration(), ns3::LteUeRrc::DoRecvSystemInformation(), ns3::Queue< ns3::Packet >::DoRemove(), ns3::CalendarScheduler::DoRemoveNext(), ns3::LteEnbRrcProtocolReal::DoRemoveUe(), ns3::AarfWifiManager::DoReportDataFailed(), ns3::ParfWifiManager::DoReportDataFailed(), ns3::ArfWifiManager::DoReportDataFailed(), ns3::AarfcdWifiManager::DoReportDataFailed(), ns3::Config::Resolver::DoResolve(), ns3::TcpSocketBase::DoRetransmit(), GlobalRouteManagerImplTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), ThreeGppHttpObjectTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), QosFragmentationTestCase::DoRun(), ns3::LteEnbMac::DoSchedDlConfigInd(), ns3::RrFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TdMtFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TtaFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::FdMtFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TdBetFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::FdBetFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TdTbfqFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::CqaFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::PfFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::PssFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::FdTbfqFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::UdpSocketImpl::DoSend(), ns3::dsr::DsrOptionRerr::DoSendError(), ns3::UdpSocketImpl::DoSendTo(), ns3::VsaManager::DoSendVsa(), ns3::RandomWalk2dMobilityModel::DoSetPosition(), ns3::LteEnbMac::DoSubframeIndication(), ns3::WifiPhyStateHelper::DoSwitchFromRx(), LteUeMeasurementsPiecewiseTestCase1::DoTeardown(), LteUeMeasurementsPiecewiseTestCase2::DoTeardown(), LteUeMeasurementsHandoverTestCase::DoTeardown(), ns3::LteEnbMac::DoTransmitPdu(), ns3::TcpSocketBase::DupAck(), LteHandoverDelayTestCase::EnbHandoverEndOkCallback(), ns3::Buffer::End(), ns3::WifiPhy::EndReceive(), ns3::HalfDuplexIdealPhy::EndRx(), ns3::LrWpanPhy::EndRx(), ns3::LteSpectrumPhy::EndRxData(), ns3::LteSpectrumPhy::EndRxDlCtrl(), ns3::LteSpectrumPhy::EndRxUlSrs(), ns3::UanTransducerHd::EndTx(), ns3::UanMacCw::EndTx(), ns3::HalfDuplexIdealPhy::EndTx(), ns3::LrWpanPhy::EndTx(), ns3::LteSpectrumPhy::EndTxData(), ns3::LteSpectrumPhy::EndTxDlCtrl(), ns3::LteSpectrumPhy::EndTxUlSrs(), ns3::EnergyHarvesterContainer::EnergyHarvesterContainer(), ns3::EnergySourceContainer::EnergySourceContainer(), ns3::AdhocWifiMac::Enqueue(), ns3::UanMacCw::Enqueue(), ns3::OcbWifiMac::Enqueue(), ns3::StaWifiMac::Enqueue(), ns3::QueueDisc::Enqueue(), ns3::TcpSocketBase::EnterRecovery(), ns3::TcpWestwood::EstimateBW(), ns3::LteUeRrc::EvaluateCellForSelection(), ns3::ShannonSpectrumErrorModel::EvaluateChunk(), ns3::HeapScheduler::Exch(), ns3::LteRlcAm::ExpirePollRetransmitTimer(), ns3::TcpRxBuffer::Extract(), ns3::MultiModelSpectrumChannel::FindAndEventuallyAddTxSpectrumModel(), ns3::ArpL3Protocol::FindCache(), ns3::Icmpv6L4Protocol::FindCache(), ns3::dot11s::PeerManagementProtocol::FindPeerLink(), ns3::SystemPath::FindSelfDirectory(), ns3::OcbWifiMac::FinishConfigureStandard(), ns3::RegularWifiMac::FinishConfigureStandard(), ns3::MeshWifiInterfaceMac::ForwardDown(), ns3::ApWifiMac::ForwardDown(), ns3::MacLow::ForwardDown(), ns3::dot11s::HwmpProtocol::ForwardUnicast(), ns3::BriteTopologyHelper::GenerateBriteTopology(), ns3::LteUePhy::GenerateCqiRsrpRsrq(), ns3::LteUePhy::GenerateMixedCqiReport(), ns3::BsmApplication::GenerateWaveTraffic(), ns3::AnimationInterface::GenericWirelessRxTrace(), ns3::AnimationInterface::GenericWirelessTxTrace(), ns3::WifiModeFactory::Get(), ns3::MacLow::GetAckDuration(), ns3::MacLow::GetAckTxVector(), ns3::IidManager::GetAttribute(), ns3::WifiRemoteStationManager::GetBasicMcs(), ns3::WifiRemoteStationManager::GetBasicMode(), ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(), ns3::Histogram::GetBinCount(), ns3::MacLow::GetBlockAckTxVector(), NodeStatistics::GetCalcTxTime(), ns3::RraaWifiManager::GetCalcTxTime(), ns3::RrpaaWifiManager::GetCalcTxTime(), ns3::MinstrelWifiManager::GetCalcTxTime(), ns3::WaveNetDevice::GetChannel(), ns3::IdealWifiManager::GetChannelWidthForMode(), ns3::NistErrorRateModel::GetChunkSuccessRate(), ns3::YansErrorRateModel::GetChunkSuccessRate(), ns3::WifiMode::GetConstellationSize(), ns3::MacLow::GetCtsDuration(), ns3::WifiRemoteStationManager::GetCtsToSelfTxVector(), ns3::MacLow::GetCtsTxVector(), OcbWifiMacTestCase::GetCurrentPosition(), ns3::LrWpanPhy::GetDataOrSymbolRate(), ns3::UeManager::GetDataRadioBearerInfo(), ns3::WifiMode::GetDataRate(), ns3::WifiRemoteStationManager::GetDataTxVector(), ns3::Timer::GetDelayLeft(), ns3::MultiModelSpectrumChannel::GetDevice(), ns3::OriginatorBlockAckAgreement::GetDistance(), ns3::Buffer::Iterator::GetDistanceFrom(), ns3::MobilityHelper::GetDistanceSquaredBetween(), ns3::MinstrelHtWifiManager::GetFirstMpduTxTime(), ns3::Building::GetFloor(), ns3::WifiRemoteStationManager::GetFragmentOffset(), ns3::Ipv6ExtensionFragment::GetFragments(), ns3::WifiRemoteStationManager::GetFragmentSize(), ns3::MeshWifiInterfaceMac::GetFrequencyChannel(), ns3::WifiRemoteStationManager::GetGreenfieldSupported(), ns3::WifiRemoteStationManager::GetGuardInterval(), ns3::Hasher::GetHash32(), ns3::Hasher::GetHash64(), ns3::olsr::MessageHeader::GetHello(), ns3::olsr::MessageHeader::GetHna(), ns3::PbbMessage::GetHopCount(), ns3::PbbMessage::GetHopLimit(), ns3::RegularWifiMac::GetHtCapabilities(), ns3::ApWifiMac::GetHtOperation(), ns3::PbbTlv::GetIndexStart(), ns3::PbbTlv::GetIndexStop(), ns3::CfParameterSet::GetInformationFieldSize(), ns3::VhtCapabilities::GetInformationFieldSize(), ns3::HeCapabilities::GetInformationFieldSize(), ns3::DsssParameterSet::GetInformationFieldSize(), ns3::dot11s::IeMeshId::GetInformationFieldSize(), ns3::ExtendedSupportedRatesIE::GetInformationFieldSize(), ns3::ErpInformation::GetInformationFieldSize(), ns3::HeOperation::GetInformationFieldSize(), ns3::VhtOperation::GetInformationFieldSize(), ns3::ExtendedCapabilities::GetInformationFieldSize(), ns3::HtCapabilities::GetInformationFieldSize(), ns3::EdcaParameterSet::GetInformationFieldSize(), ns3::HtOperation::GetInformationFieldSize(), ns3::NullMessageSimulatorImpl::GetInstance(), ns3::QueueDisc::GetInternalQueue(), ns3::AnimationInterface::GetIpv4RoutingTable(), ns3::Address::GetLength(), ns3::MinstrelHtWifiManager::GetLowestIndex(), ns3::OrganizationIdentifier::GetManagementId(), ns3::MpduAggregator::GetMaxAmpduSize(), ns3::MsduAggregator::GetMaxAmsduSize(), ns3::WifiRemoteStationManager::GetMcsSupported(), ns3::WifiMode::GetMcsValue(), ns3::dot11s::PeerManagementProtocol::GetMeshId(), ns3::Ipv6StaticRouting::GetMetric(), ns3::Ipv4StaticRouting::GetMetric(), ns3::olsr::MessageHeader::GetMid(), ns3::UanPhyGen::GetMode(), ns3::AnimationInterface::GetMovedNodes(), ns3::MinstrelHtWifiManager::GetMpduTxTime(), ns3::ThreeGppHttpVariables::GetMtuSize(), ns3::dsr::DsrRouting::GetNetDeviceFromContext(), ns3::TcpTxBuffer::GetNewSegment(), ns3::LteEnbRrc::GetNewSrsConfigurationIndex(), ns3::MpduAggregator::GetNextAmpdu(), ns3::MacLowTransmissionParameters::GetNextPacketSize(), ns3::MacTxMiddle::GetNextSeqNumberByTidAndAddress(), ns3::MacTxMiddle::GetNextSequenceNumberFor(), ns3::AnimationInterface::GetNodeEnergyFraction(), ns3::AnimationInterface::GetNodeFromContext(), ns3::UanChannel::GetNoiseDbHz(), ns3::WifiRemoteStationManager::GetNonErpBasicMode(), ns3::WifiRemoteStationManager::GetNonErpSupported(), ns3::PbbMessage::GetOriginatorAddress(), ns3::QueueDisc::GetPacketFilter(), ns3::TcpTxBuffer::GetPacketFromList(), ns3::WifiPhy::GetPayloadDuration(), ns3::LteMiErrorModel::GetPcfichPdcchError(), ns3::TcpSocketBase::GetPeerName(), ns3::dot11s::PeerManagementProtocol::GetPeers(), ns3::WifiMode::GetPhyRate(), ns3::LrWpanPhy::GetPhySHRDuration(), ns3::LrWpanPhy::GetPhySymbolsPerOctet(), ns3::PointToPointChannel::GetPointToPointDevice(), ns3::WifiPhy::GetPowerDbm(), ns3::LrWpanPhy::GetPpduHeaderTxTime(), ns3::WifiMacHeader::GetQosAckPolicy(), ns3::WifiMacHeader::GetQosTid(), ns3::QueueDisc::GetQueueDiscClass(), ns3::MacLow::GetRemainingCfpDuration(), ns3::PointToPointNetDevice::GetRemote(), ns3::Building::GetRoomX(), ns3::Building::GetRoomY(), ns3::Ipv6StaticRouting::GetRoute(), ns3::Ipv4GlobalRouting::GetRoute(), ns3::Ipv4StaticRouting::GetRoute(), ns3::WifiRemoteStationManager::GetRtsTxVector(), ns3::RemoteChannelBundleManager::GetSafeTime(), ns3::TcpOptionWinScale::GetScale(), ns3::PbbPacket::GetSequenceNumber(), ns3::PbbMessage::GetSequenceNumber(), ns3::ArpHeader::GetSerializedSize(), ns3::PacketMetadata::GetSerializedSize(), ns3::olsr::MessageHeader::GetSerializedSize(), ns3::WifiRemoteStationManager::GetShortGuardIntervalSupported(), ns3::ArpQueueDiscItem::GetSize(), ns3::Ipv4QueueDiscItem::GetSize(), ns3::Ipv6QueueDiscItem::GetSize(), ns3::QueueItem::GetSize(), ns3::NullMessageMpiInterface::GetSize(), ns3::IdealWifiManager::GetSnrThreshold(), ns3::WifiSpectrumValueHelper::GetSpectrumModel(), ns3::LteEnbRrc::GetSrsPeriodicity(), ns3::Timer::GetState(), ns3::QueueDisc::GetStats(), ns3::WifiRemoteStationManager::GetSupported(), ns3::NullMessageMpiInterface::GetSystemId(), ns3::PacketTagIterator::Item::GetTag(), ns3::LteMiErrorModel::GetTbDecodificationStats(), ns3::olsr::MessageHeader::GetTc(), ns3::GetTid(), ns3::MgtDelBaHeader::GetTid(), ns3::ArpCache::Entry::GetTimeout(), ns3::WifiRadioEnergyModel::GetTotalEnergyConsumption(), ns3::PacketMetadata::GetTotalSize(), ns3::IidManager::GetTraceSource(), ns3::TcpTxBuffer::GetTransmittedSegment(), ns3::NscTcpSocketImpl::GetTxAvailable(), ns3::QosTxop::GetTxopFragmentOffset(), ns3::QosTxop::GetTxopFragmentSize(), ns3::NetDeviceQueueInterface::GetTxQueue(), ns3::WifiMacHeader::GetType(), ns3::PbbTlv::GetTypeExt(), ns3::LteEnbRrc::GetUeManager(), ns3::PbbTlv::GetValue(), ns3::DeterministicRandomVariable::GetValue(), ns3::Buffer::Iterator::GetWriteErrorMessage(), ns3::BsmApplication::HandleReceivedBsmPacket(), ns3::Hasher::Hasher(), ns3::dot11s::IeMeshId::IeMeshId(), ns3::EutranMeasurementMapping::IeValue2ActualA3Offset(), ns3::EutranMeasurementMapping::IeValue2ActualHysteresis(), ns3::EutranMeasurementMapping::IeValue2ActualQQualMin(), ns3::EutranMeasurementMapping::IeValue2ActualQRxLevMin(), ns3::TcpRxBuffer::IncNextRxSequence(), ns3::AmrrWifiManager::IncreaseRate(), ns3::LiIonEnergySource::IncreaseRemainingEnergy(), ns3::TcpVegas::IncreaseWindow(), ns3::TcpVeno::IncreaseWindow(), ns3::TcpYeah::IncreaseWindow(), NetAnimExperiment::IncrementCw(), Experiment::IncrementCw(), ns3::CtrlBAckResponseHeader::IndexInBitmap(), ns3::Buffer::Initialize(), ns3::RemoteChannelBundleManager::InitializeNullMessageEvents(), ns3::RedQueueDisc::InitializeParams(), ns3::NullMessageMpiInterface::InitializeSendReceiveBuffers(), ns3::dot11s::PeerManagementProtocol::InitiateLink(), ns3::MapScheduler::Insert(), ns3::BlockAckManager::InsertInRetryQueue(), ns3::PointToPointHelper::Install(), ns3::WaveformGeneratorHelper::Install(), ns3::TvSpectrumTransmitterHelper::Install(), ns3::AdhocAlohaNoackIdealPhyHelper::Install(), ns3::SpectrumAnalyzerHelper::Install(), ns3::DeviceEnergyModelHelper::Install(), ns3::InternetStackHelper::Install(), ns3::MeshHelper::Install(), ns3::TrafficControlHelper::Install(), ns3::TvSpectrumTransmitterHelper::InstallAdjacent(), ns3::LteHelper::InstallSingleEnbDevice(), ns3::Integral(), WifiOfdmMaskSlopesTestCase::InterpolateAndAppendValues(), ns3::int64x64_t::Invert(), ns3::Ipv4Mask::Ipv4Mask(), ns3::Ipv6Prefix::Ipv6Prefix(), ns3::CtrlBAckResponseHeader::IsFragmentReceived(), ns3::PointToPointChannel::IsInitialized(), ns3::WifiRemoteStationManager::IsLastFragment(), ns3::AmrrWifiManager::IsMaxRate(), ns3::AnimationInterface::IsPacketPending(), ns3::WifiMacHeader::IsQosAck(), ns3::WifiMacHeader::IsQosAmsdu(), ns3::WifiMacHeader::IsQosBlockAck(), ns3::WifiMacHeader::IsQosEosp(), ns3::WifiMacHeader::IsQosNoAck(), ns3::HeCapabilities::IsSupportedRxMcs(), ns3::VhtCapabilities::IsSupportedRxMcs(), ns3::HeCapabilities::IsSupportedTxMcs(), ns3::VhtCapabilities::IsSupportedTxMcs(), ns3::MacLow::IsWithinSizeAndTimeLimits(), ns3::AttributeIterator::Iterate(), ns3::UeManager::Lcid2Bid(), ns3::UeManager::Lcid2Drbid(), ns3::olsr::RoutingProtocol::LinkSensing(), ns3::WifiPhyStateHelper::LogPreviousIdleAndCcaBusyStates(), ns3::dsdv::RoutingProtocol::LookForQueuedPackets(), ns3::Ipv4GlobalRouting::LookupGlobal(), ns3::IidManager::LookupInformation(), ns3::dsdv::RoutingProtocol::LoopbackRoute(), ns3::aodv::RoutingProtocol::LoopbackRoute(), ns3::AnimationInterface::LrWpanPhyRxBeginTrace(), ns3::AnimationInterface::LrWpanPhyTxBeginTrace(), LteRrcConnectionEstablishmentTestCase::LteRrcConnectionEstablishmentTestCase(), ns3::AnimationInterface::LteSpectrumPhyRxStart(), ns3::AnimationInterface::LteSpectrumPhyTxStart(), ns3::Mac16Address::Mac16Address(), ns3::Mac48Address::Mac48Address(), ns3::Mac64Address::Mac64Address(), ns3::MakeObjectMapAccessor(), ns3::MakeObjectVectorAccessor(), ns3::MakeTimerImpl(), ns3::Time::Mark(), ns3::ArpCache::Entry::MarkAlive(), ns3::ArpCache::Entry::MarkDead(), ns3::ArpCache::Entry::MarkPermanent(), ns3::ArpCache::Entry::MarkWaitReply(), ns3::LteUeRrc::MeasurementReportTriggering(), ns3::TcpTxBuffer::MergeItems(), ns3::AnimationInterface::MobilityAutoCheck(), ns3::AnimationInterface::MobilityCourseChangeTrace(), ns3::ChannelAccessManager::MostRecent(), ns3::SpectrumValue::Multiply(), ns3::BlockAckManager::NeedBarRetransmission(), ns3::WifiRemoteStationManager::NeedRetransmission(), ns3::ByteTagList::Iterator::Next(), ns3::Buffer::Iterator::Next(), ns3::NullMessageSimulatorImpl::Next(), ns3::PacketMetadata::ItemIterator::Next(), ns3::PacketTagIterator::Next(), ns3::NoBackhaulEpcHelper::NoBackhaulEpcHelper(), ns3::QosTxop::NotifyAccessGranted(), ns3::Txop::NotifyAccessGranted(), ns3::ChannelAccessManager::NotifyAckTimeoutStartNow(), ns3::aodv::RoutingProtocol::NotifyAddAddress(), ns3::dsdv::RoutingProtocol::NotifyAddAddress(), ns3::BlockAckManager::NotifyAgreementEstablished(), ns3::BlockAckManager::NotifyAgreementNoReply(), ns3::BlockAckManager::NotifyAgreementRejected(), ns3::BlockAckManager::NotifyAgreementReset(), ns3::BlockAckManager::NotifyGotAck(), ns3::aodv::RoutingProtocol::NotifyInterfaceDown(), ns3::dsdv::RoutingProtocol::NotifyInterfaceDown(), ns3::aodv::RoutingProtocol::NotifyInterfaceUp(), ns3::dsdv::RoutingProtocol::NotifyInterfaceUp(), ns3::BlockAckManager::NotifyMissedAck(), ns3::QosTxop::NotifyMissedCts(), ns3::BlockAckManager::NotifyMpduTransmission(), ns3::MacLow::NotifyNav(), ns3::ChannelAccessManager::NotifyNavStartNow(), ns3::ChannelAccessManager::NotifyOnNow(), ns3::aodv::RoutingProtocol::NotifyRemoveAddress(), ns3::dsdv::RoutingProtocol::NotifyRemoveAddress(), ns3::ChannelAccessManager::NotifySwitchingStartNow(), ns3::AlohaNoackNetDevice::NotifyTransmissionEnd(), ns3::UanMacCw::NotifyTxStart(), ns3::ChannelAccessManager::NotifyTxStartNow(), ns3::ChannelAccessManager::NotifyWakeupNow(), ns3::WallClockSynchronizer::NsToTimeval(), ns3::NullMessageSimulatorImpl::NullMessageSimulatorImpl(), ns3::AsciiFile::Open(), ns3::PcapFile::Open(), ns3::dot11s::PeerLink::OpenAccept(), ns3::dot11s::PeerLink::OpenReject(), ns3::operator<(), ns3::operator<<(), ns3::Address::operator=(), ns3::PacketMetadata::operator=(), ns3::Buffer::operator=(), ns3::WifiInformationElementVector::operator==(), ns3::dsr::DsrRouteCacheEntry::operator==(), ns3::SequenceNumber10::operator>(), ns3::operator>>(), ns3::UanModesList::operator[](), ns3::AnimationInterface::OutputCsmaPacket(), ns3::Packet::Packet(), ns3::PacketMetadata::PacketMetadata(), ns3::Config::ConfigImpl::ParsePath(), ns3::PyViz::Pause(), ns3::LrWpanMac::PdDataConfirm(), ns3::LrWpanMac::PdDataIndication(), ns3::LrWpanPhy::PdDataRequest(), ns3::Buffer::PeekData(), ns3::MapScheduler::PeekNext(), ns3::CalendarScheduler::PeekNext(), ns3::MacTxMiddle::PeekNextSequenceNumberFor(), ns3::dot11s::PeerManagementProtocol::PeerLinkStatus(), ns3::LrWpanPhy::PlmeSetAttributeRequest(), ns3::LrWpanMac::PlmeSetTRXStateConfirm(), ns3::Buffer::Iterator::Prev(), BenchHeader< N >::Print(), ns3::ArpHeader::Print(), anonymous_namespace{packet-metadata-test.cc}::HistoryHeader< N >::Print(), ns3::Ipv4RoutingHelper::Print(), ns3::Ipv6RoutingHelper::Print(), anonymous_namespace{packet-metadata-test.cc}::HistoryTrailer< N >::Print(), ns3::QueueDisc::Stats::Print(), ns3::Packet::Print(), ns3::Packet::PrintByteTags(), ns3::Ipv4RoutingHelper::PrintEvery(), ns3::Ipv6RoutingHelper::PrintEvery(), ns3::Packet::PrintPacketTags(), ns3::dot11s::HwmpProtocol::ProactivePathResolved(), ns3::dsr::DsrOptionRreq::Process(), ns3::dsr::DsrOptionRrep::Process(), ns3::Ipv6ExtensionLooseRouting::Process(), ns3::DefaultSimulatorImpl::ProcessOneEvent(), ns3::NullMessageSimulatorImpl::ProcessOneEvent(), ns3::DistributedSimulatorImpl::ProcessOneEvent(), ns3::TcpSocketBase::ProcessOptionSackPermitted(), ns3::CsmaChannel::PropagationCompleteEvent(), ns3::AnimationInterface::PurgePendingPackets(), ns3::PyViz::PyViz(), ns3::QosUtilsIsOldPacket(), ns3::DynamicQueueLimits::Queued(), ns3::RadvdInterface::RadvdInterface(), ns3::dot11s::HwmpProtocol::ReactivePathResolved(), ns3::AsciiFile::Read(), ns3::TagBuffer::Read(), ns3::PcapFile::Read(), ns3::PacketMetadata::ReadItems(), ns3::TagBuffer::ReadU8(), ns3::PacketMetadata::ReadUleb128(), ns3::LteRlcAm::ReassembleAndDeliver(), ns3::CsmaChannel::Reattach(), ns3::TcpHybla::RecalcParam(), ns3::MpiReceiver::Receive(), ns3::olsr::Bug780Test::Receive(), ns3::dot11s::PeerManagementProtocolMac::Receive(), ns3::AdhocWifiMac::Receive(), ns3::MacRxMiddle::Receive(), ns3::V4Ping::Receive(), ns3::ApWifiMac::Receive(), ns3::CsmaNetDevice::Receive(), ns3::OcbWifiMac::Receive(), ns3::StaWifiMac::Receive(), ns3::RegularWifiMac::Receive(), ns3::dot11s::HwmpProtocolMac::ReceiveAction(), ns3::TcpSocketMsgBase::ReceivedAck(), ns3::TcpSocketBase::ReceivedAck(), ns3::dot11s::HwmpProtocolMac::ReceiveData(), ns3::LteEnbMac::ReceiveDlCqiLteControlMessage(), ns3::MacLow::ReceiveError(), ns3::ConstantObssPdAlgorithm::ReceiveHeSig(), ns3::LteUePhy::ReceiveLteControlMessageList(), ns3::GrantedTimeWindowMpiInterface::ReceiveMessages(), ns3::NullMessageMpiInterface::ReceiveMessages(), ns3::MacLow::ReceiveOk(), Ipv4StaticRoutingSlash32TestCase::ReceivePkt(), UdpSocketLoopbackTest::ReceivePkt(), Ipv6ForwardingTest::ReceivePkt(), Ipv6RipngTest::ReceivePkt(), Ipv4ForwardingTest::ReceivePkt(), Ipv4RipTest::ReceivePkt(), SixlowpanHc1ImplTest::ReceivePkt(), SixlowpanIphcImplTest::ReceivePkt(), Ipv4HeaderTest::ReceivePkt(), Ipv6RawSocketImplTest::ReceivePkt(), Ipv4RawSocketImplTest::ReceivePkt(), Udp6SocketLoopbackTest::ReceivePkt(), Ipv4DeduplicationTest::ReceivePkt(), UdpSocketImplTest::ReceivePkt(), Ipv4RipCountToInfinityTest::ReceivePkt(), Ipv6RipngCountToInfinityTest::ReceivePkt(), Udp6SocketImplTest::ReceivePkt(), Ipv4GlobalRoutingSlash32TestCase::ReceivePkt(), Ipv6RawSocketImplTest::ReceivePkt2(), Ipv4RawSocketImplTest::ReceivePkt2(), UdpSocketImplTest::ReceivePkt2(), Udp6SocketImplTest::ReceivePkt2(), Ipv6RipngSplitHorizonStrategyTest::ReceivePktProbe(), Ipv4RipSplitHorizonStrategyTest::ReceivePktProbe(), ns3::olsr::HelloRegressionTest::ReceivePktProbeA(), ns3::olsr::TcRegressionTest::ReceivePktProbeA(), ns3::olsr::HelloRegressionTest::ReceivePktProbeB(), ns3::olsr::TcRegressionTest::ReceivePktProbeB(), ns3::olsr::TcRegressionTest::ReceivePktProbeC(), ns3::dot11s::HwmpProtocol::ReceivePrep(), ns3::dot11s::HwmpProtocol::ReceivePreq(), ns3::VsaManager::ReceiveVsc(), ns3::WifiRemoteStationManager::RecordDisassociated(), ns3::WifiRemoteStationManager::RecordGotAssocTxFailed(), ns3::WifiRemoteStationManager::RecordGotAssocTxOk(), ns3::WifiRemoteStationManager::RecordWaitAssocTxOk(), ns3::EpcEnbApplication::RecvFromLteSocket(), ns3::EpcSgwApplication::RecvFromS11Socket(), ns3::EpcMmeApplication::RecvFromS11Socket(), ns3::EpcSgwApplication::RecvFromS1uSocket(), ns3::EpcEnbApplication::RecvFromS1uSocket(), ns3::EpcPgwApplication::RecvFromS5cSocket(), ns3::EpcSgwApplication::RecvFromS5cSocket(), ns3::EpcPgwApplication::RecvFromS5uSocket(), ns3::EpcSgwApplication::RecvFromS5uSocket(), ns3::UeManager::RecvHandoverPreparationFailure(), ns3::UeManager::RecvHandoverRequestAck(), LteUeMeasurementsPiecewiseTestCase1::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase2::RecvMeasurementReportCallback(), LteUeMeasurementsHandoverTestCase::RecvMeasurementReportCallback(), ns3::olsr::RoutingProtocol::RecvOlsr(), ns3::LteUeMac::RecvRaResponse(), ns3::aodv::RoutingProtocol::RecvReply(), ns3::PacketMetadata::Recycle(), ns3::Buffer::Recycle(), ns3::SimpleRefCount< LteChunkProcessor >::Ref(), ns3::ChannelCoordinator::RegisterListener(), ns3::DefaultChannelScheduler::ReleaseAccess(), ns3::AnimationInterface::RemainingEnergyTrace(), ns3::MapScheduler::Remove(), ns3::ListScheduler::Remove(), ns3::HeapScheduler::Remove(), ns3::CalendarScheduler::Remove(), ns3::WifiRemoteStationManager::RemoveAllSupportedMcs(), ns3::PacketMetadata::RemoveAtEnd(), ns3::Buffer::RemoveAtEnd(), ns3::PacketMetadata::RemoveAtStart(), ns3::Buffer::RemoveAtStart(), ns3::TcpTxBuffer::RemoveFromCounts(), ns3::BlockAckManager::RemoveFromRetryQueue(), ns3::PacketMetadata::RemoveHeader(), ns3::MapScheduler::RemoveNext(), ns3::CalendarScheduler::RemoveNext(), ns3::BlockAckManager::RemoveOldPackets(), ns3::Ipv6StaticRouting::RemoveRoute(), ns3::Ipv4GlobalRouting::RemoveRoute(), ns3::Ipv4StaticRouting::RemoveRoute(), ns3::flame::FlameProtocol::RemoveRoutingStuff(), ns3::PacketMetadata::RemoveTrailer(), ns3::PacketMetadata::ReplaceTail(), ns3::Dot11sStack::Report(), ns3::FlameStack::Report(), ns3::dot11s::PeerManagementProtocol::Report(), ns3::MeshHelper::Report(), ns3::WifiRemoteStationManager::ReportAmpduTxStatus(), ns3::WifiRemoteStationManager::ReportDataFailed(), ns3::WifiRemoteStationManager::ReportDataOk(), ns3::WifiRemoteStationManager::ReportFinalDataFailed(), ns3::WifiRemoteStationManager::ReportFinalRtsFailed(), ns3::WifiRemoteStationManager::ReportRtsFailed(), ns3::WifiRemoteStationManager::ReportRtsOk(), ns3::ChannelAccessManager::RequestAccess(), ns3::dot11s::HwmpProtocolMac::RequestDestination(), ns3::flame::FlameProtocol::RequestRoute(), ns3::RadioBearerStatsCalculator::RescheduleEndEpoch(), ns3::NullMessageSimulatorImpl::RescheduleNullMessageEvent(), ns3::PacketMetadata::Reserve(), ns3::PacketMetadata::ReserveCopy(), ns3::MacLow::ResetBlockAckInactivityTimerIfNeeded(), ns3::WifiPhy::ResetCca(), ns3::ObssPdAlgorithm::ResetPhy(), ns3::Dot11sStack::ResetStats(), ns3::FlameStack::ResetStats(), ns3::MeshHelper::ResetStats(), ns3::Timer::Resume(), ns3::WifiPhy::ResumeFromOff(), ns3::WifiPhy::ResumeFromSleep(), ns3::dot11s::HwmpProtocol::RetryPathDiscovery(), ns3::dsr::DsrOptions::ReverseSearchNextTwoHop(), ns3::aodv::RoutingProtocol::RouteInput(), ns3::Ipv4StaticRouting::RouteInput(), ns3::dsdv::RoutingProtocol::RouteInput(), ns3::Ipv4ListRouting::RouteInput(), ns3::Ipv6ListRouting::RouteInput(), ns3::Ipv4GlobalRouting::RouteInput(), ns3::Rip::RouteInput(), ns3::RipNg::RouteInput(), ns3::Ipv6StaticRouting::RouteInput(), ns3::olsr::RoutingProtocol::RouteInput(), ns3::aodv::RoutingProtocol::RouteOutput(), ns3::dsdv::RoutingProtocol::RouteOutput(), ns3::olsr::RoutingProtocol::RouteOutput(), ns3::UanMacRc::RtsTimeout(), ns3::DefaultSimulatorImpl::Run(), ns3::DistributedSimulatorImpl::Run(), ns3::RadioEnvironmentMapHelper::RunOneIteration(), ns3::UanMacCw::SaveTimer(), ns3::NullMessageSimulatorImpl::Schedule(), ns3::DistributedSimulatorImpl::Schedule(), ns3::Timer::Schedule(), ns3::BlockAckManager::ScheduleBlockAckReq(), ns3::UanMacRc::ScheduleData(), ns3::NullMessageSimulatorImpl::ScheduleWithContext(), ns3::olsr::SecondsToEmf(), ns3::UdpClient::Send(), ns3::YansWifiChannel::Send(), ns3::V4Ping::Send(), ns3::PacketSocketClient::Send(), ns3::NscTcpSocketImpl::Send(), ns3::SimpleOfdmWimaxPhy::Send(), EpsBearerTagUdpClient::Send(), ns3::Ping6::Send(), ns3::WifiNetDevice::Send(), ns3::Radvd::Send(), ns3::UdpTraceClient::Send(), ns3::UdpEchoClient::Send(), ns3::EpcUeNas::Send(), ns3::Ipv4Interface::Send(), ns3::Ipv4L3Protocol::Send(), ns3::TrafficControlLayer::Send(), ns3::Ipv6Interface::Send(), ns3::dsdv::RoutingProtocol::Send(), ns3::NscTcpL4Protocol::send_callback(), ns3::LrWpanMac::SendAck(), ns3::ArpL3Protocol::SendArpReply(), ns3::ArpL3Protocol::SendArpRequest(), ns3::MeshWifiInterfaceMac::SendBeacon(), ns3::MacLow::SendBlockAckAfterAmpdu(), ns3::MacLow::SendBlockAckAfterBlockAckRequest(), ns3::MacLow::SendBlockAckResponse(), ns3::ApWifiMac::SendCfEnd(), ns3::Txop::SendCfFrame(), ns3::ApWifiMac::SendCfPoll(), ns3::StaWifiMac::SendCfPollResponse(), ns3::MacLow::SendCtsAfterRts(), ns3::MacLow::SendCtsToSelf(), ns3::MacLow::SendDataAfterCts(), ns3::MacLow::SendDataPacket(), ns3::WifiNetDevice::SendFrom(), ns3::VirtualNetDevice::SendFrom(), ns3::AlohaNoackNetDevice::SendFrom(), ns3::CsmaNetDevice::SendFrom(), ns3::LteEnbRrc::SendHandoverRequest(), ns3::LteUeRrc::SendMeasurementReport(), ns3::Icmpv6L4Protocol::SendMessage(), ns3::Icmpv4L4Protocol::SendMessage(), ns3::dot11s::HwmpProtocolMac::SendMyPreq(), ns3::NullMessageMpiInterface::SendNullMessage(), ns3::MpiInterface::SendPacket(), ns3::NullMessageMpiInterface::SendPacket(), ns3::OnOffApplication::SendPacket(), ns3::UanMacCw::SendPacket(), ns3::WifiPhy::SendPacket(), ns3::TcpL4Protocol::SendPacket(), ns3::dsr::DsrRouting::SendPacketFromBuffer(), ns3::dot11s::PeerLink::SendPeerLinkOpen(), ns3::NscTcpSocketImpl::SendPendingData(), ns3::TcpSocketBase::SendPendingData(), ns3::dot11s::HwmpProtocol::SendPrep(), ns3::LteUeMac::SendRaPreamble(), ns3::Ipv4L3Protocol::SendRealOut(), ns3::Ipv6L3Protocol::SendRealOut(), ns3::aodv::RoutingProtocol::SendReply(), ns3::aodv::RoutingProtocol::SendReplyAck(), ns3::aodv::RoutingProtocol::SendReplyByIntermediateNode(), ns3::LteUeMac::SendReportBufferStatus(), ns3::aodv::RoutingProtocol::SendRerrMessage(), ns3::aodv::RoutingProtocol::SendRerrWhenNoRouteToForward(), ns3::UanMacRc::SendRts(), ns3::MacLow::SendRtsForPacket(), ns3::LteUePhy::SendSrs(), ns3::Ipv4RawSocketImpl::SendTo(), ns3::Ipv6RawSocketImpl::SendTo(), ns3::EpcEnbApplication::SendToLteSocket(), ns3::dsdv::RoutingProtocol::SendTriggeredUpdate(), ns3::ArpHeader::Serialize(), ns3::WifiMacHeader::Serialize(), ns3::PacketMetadata::Serialize(), ns3::olsr::MessageHeader::Serialize(), ns3::ExtendedSupportedRatesIE::SerializeInformationField(), ns3::Ssid::SerializeInformationField(), ns3::EnumValue::SerializeToString(), ns3::dot11s::MeshHeader::SetAddressExt(), ns3::TcpSocketMsgBase::SetAfterRetransmitCb(), ns3::RvBatteryModel::SetAlpha(), ns3::IidManager::SetAttributeInitialValue(), ns3::dot11s::PeerLink::SetBeaconInformation(), ns3::TcpSocketMsgBase::SetBeforeRetransmitCb(), ns3::RvBatteryModel::SetBeta(), ns3::HeSigHeader::SetBssColor(), ns3::BlockAckAgreement::SetBufferSize(), ns3::WifiRadioEnergyModelPhyListener::SetChangeStateCallback(), ns3::HeCapabilities::SetChannelWidthSet(), ns3::dot11s::PeerLink::SetConfirmTimer(), ns3::AnimationInterface::SetConstantPosition(), ns3::RvBatteryModel::SetCutoffVoltage(), ns3::Histogram::SetDefaultBinWidth(), ns3::WifiMacHeader::SetDuration(), ns3::SimpleDeviceEnergyModel::SetEnergySource(), ns3::EnergyHarvester::SetEnergySource(), ns3::AcousticModemEnergyModel::SetEnergySource(), ns3::WifiRadioEnergyModel::SetEnergySource(), ns3::LrWpanPhy::SetErrorModel(), ns3::TcpSocketMsgBase::SetForkCb(), ns3::ItuR1411LosPropagationLossModel::SetFrequency(), ns3::RemoteChannelBundle::SetGuaranteeTime(), ns3::HeConfiguration::SetGuardInterval(), ns3::WifiPhy::SetGuardInterval(), ns3::TcpTxBuffer::SetHeadSequence(), ns3::HeCapabilities::SetHeLtfAndGiForHePpdus(), ns3::HeCapabilities::SetHighestMcsSupported(), ns3::HeCapabilities::SetHighestNssSupported(), ns3::dot11s::PeerLink::SetHoldingTimer(), ns3::MobilityBuildingInfo::SetIndoor(), ns3::BasicEnergySource::SetInitialEnergy(), ns3::LiIonEnergySource::SetInitialEnergy(), TcpSocketAdvertisedWindowProxy::SetInvalidAwndCb(), ns3::aodv::RoutingProtocol::SetIpv4(), ns3::Ipv4StaticRouting::SetIpv4(), ns3::dsdv::RoutingProtocol::SetIpv4(), ns3::Ipv4ListRouting::SetIpv4(), ns3::Ipv4GlobalRouting::SetIpv4(), ns3::Rip::SetIpv4(), ns3::olsr::RoutingProtocol::SetIpv4(), ns3::Ipv6ListRouting::SetIpv6(), ns3::RipNg::SetIpv6(), ns3::Ipv6StaticRouting::SetIpv6(), ns3::MatrixPropagationLossModel::SetLoss(), ns3::LrWpanMac::SetLrWpanMacState(), ns3::HeOperation::SetMaxHeMcsPerNss(), ns3::WifiPhy::SetMaxSupportedRxSpatialStreams(), ns3::WifiPhy::SetMaxSupportedTxSpatialStreams(), ns3::VhtOperation::SetMaxVhtMcsPerNss(), ns3::HtSigHeader::SetMcs(), ns3::HeSigHeader::SetMcs(), ns3::SimpleDeviceEnergyModel::SetNode(), ns3::NscTcpL4Protocol::SetNode(), ns3::EnergyHarvester::SetNode(), ns3::AcousticModemEnergyModel::SetNode(), ns3::EnergySource::SetNode(), ns3::UanChannel::SetNoiseModel(), ns3::HalfDuplexIdealPhy::SetNoisePowerSpectralDensity(), ns3::LteSpectrumPhy::SetNoisePowerSpectralDensity(), ns3::LrWpanPhy::SetNoisePowerSpectralDensity(), ns3::NscTcpL4Protocol::SetNscLibrary(), ns3::VhtSigHeader::SetNStreams(), ns3::HeSigHeader::SetNStreams(), ns3::NetDeviceQueueInterface::SetNTxQueues(), ns3::RvBatteryModel::SetOpenCircuitVoltage(), ns3::Icmpv6DestinationUnreachable::SetPacket(), ns3::Icmpv6TooBig::SetPacket(), ns3::Icmpv6TimeExceeded::SetPacket(), ns3::Icmpv6ParameterError::SetPacket(), ns3::Icmpv6OptionRedirected::SetPacket(), ns3::IidManager::SetParent(), ns3::Icmpv6OptionPrefixInformation::SetPrefixLength(), ns3::TcpSocketMsgBase::SetProcessedAckCb(), ns3::SpectrumChannel::SetPropagationDelayModel(), ns3::JakesProcess::SetPropagationLossModel(), ns3::WifiMacHeader::SetRawDuration(), ns3::TcpSocketMsgBase::SetRcvAckCb(), ns3::CtrlBAckResponseHeader::SetReceivedFragment(), ns3::AmpduTag::SetRemainingAmpduDuration(), ns3::Time::SetResolution(), ns3::dot11s::PeerLink::SetRetryTimer(), ns3::VhtCapabilities::SetRxMcsMap(), ns3::SpectrumAnalyzer::SetRxSpectrumModel(), ns3::TcpOptionWinScale::SetScale(), ns3::WifiPhy::SetSleepMode(), ns3::BlockAckAgreement::SetStartingSequence(), ns3::BlockAckAgreement::SetStartingSequenceControl(), ns3::RandomVariableStream::SetStream(), ns3::VhtSigHeader::SetSuMcs(), ns3::HeCapabilities::SetSupportedMcsAndNss(), ns3::RedQueueDisc::SetTh(), ns3::MgtAddBaRequestHeader::SetTid(), ns3::MgtAddBaResponseHeader::SetTid(), ns3::MgtDelBaHeader::SetTid(), ns3::VhtCapabilities::SetTxMcsMap(), ns3::HalfDuplexIdealPhy::SetTxPowerSpectralDensity(), ns3::LteSpectrumPhy::SetTxPowerSpectralDensity(), ns3::LrWpanPhy::SetTxPowerSpectralDensity(), ns3::Object::SetTypeId(), ns3::TcpSocketMsgBase::SetUpdateRttHistoryCb(), ns3::WifiRadioEnergyModelPhyListener::SetUpdateTxCurrentCallback(), ns3::RegularWifiMac::SetupEdcaQueue(), ns3::TcpSocketBase::SetupEndpoint(), ns3::TcpSocketBase::SetupEndpoint6(), ns3::WifiRemoteStationManager::SetupPhy(), ns3::ChannelAccessManager::SetupPhyListener(), ns3::TvSpectrumTransmitter::SetupTx(), ns3::WaveMacLow::SetWaveNetDevice(), ns3::dot11s::PeerManagementProtocol::ShiftOwnBeacon(), ns3::MeshWifiInterfaceMac::ShiftTbtt(), ns3::TcpHybla::SlowStart(), ns3::SpectrumModel::SpectrumModel(), ns3::GlobalRouteManagerImpl::SPFAddASExternal(), ns3::GlobalRouteManagerImpl::SPFCalculate(), ns3::GlobalRouteManagerImpl::SPFIntraAddRouter(), ns3::GlobalRouteManagerImpl::SPFIntraAddStub(), ns3::GlobalRouteManagerImpl::SPFIntraAddTransit(), ns3::GlobalRouteManagerImpl::SPFNext(), ns3::GlobalRouteManagerImpl::SPFNexthopCalculation(), ns3::TcpTxBuffer::SplitItems(), ns3::Ssid::Ssid(), ns3::dsr::DsrRouting::Start(), ns3::V4Ping::StartApplication(), ns3::Ping6::StartApplication(), ns3::Radvd::StartApplication(), ns3::LteUeRrc::StartConnection(), ns3::UeManager::StartDataRadioBearers(), ns3::MacLow::StartDataTxTimers(), ns3::QosTxop::StartNextPacket(), ns3::WifiPhy::StartReceiveHeader(), ns3::WifiPhy::StartReceivePayload(), ns3::WifiPhy::StartReceivePreamble(), ns3::LteInterference::StartRx(), ns3::LrWpanPhy::StartRx(), ns3::LteSpectrumPhy::StartRxData(), ns3::LteSpectrumPhy::StartRxDlCtrl(), ns3::UanPhyGen::StartRxPacket(), ns3::LteSpectrumPhy::StartRxUlSrs(), ns3::SimpleOfdmWimaxPhy::StartSendDummyFecBlock(), ns3::AlohaNoackNetDevice::StartTransmission(), ns3::MacLow::StartTransmission(), ns3::SingleModelSpectrumChannel::StartTx(), ns3::MultiModelSpectrumChannel::StartTx(), ns3::LteSpectrumPhy::StartTxDataFrame(), ns3::LteSpectrumPhy::StartTxDlCtrlFrame(), ns3::LteSpectrumPhy::StartTxUlSrsFrame(), ns3::dot11s::PeerLink::StateMachine(), ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateBeginWalk(), ns3::MacLow::StoreMpduIfNeeded(), ns3::BlockAckManager::StorePacket(), ns3::RawTextConfigLoad::Strip(), ns3::SpectrumValue::Subtract(), ns3::Timer::Suspend(), ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel(), ns3::WifiPhyStateHelper::SwitchFromOff(), ns3::WifiPhyStateHelper::SwitchFromRxAbort(), ns3::WifiPhyStateHelper::SwitchFromRxEndError(), ns3::WifiPhyStateHelper::SwitchFromRxEndOk(), ns3::WifiPhyStateHelper::SwitchFromSleep(), ns3::BlockAckManager::SwitchToBlockAckIfNeeded(), ns3::WifiPhyStateHelper::SwitchToChannelSwitching(), ns3::WifiPhyStateHelper::SwitchToOff(), ns3::WifiPhyStateHelper::SwitchToRx(), ns3::WifiPhyStateHelper::SwitchToSleep(), ns3::LteUeRrc::SwitchToState(), ns3::LteUeRrc::SynchronizeToStrongestCell(), ns3::TcpSocketBase::TcpSocketBase(), ns3::NullMessageMpiInterface::TestSendComplete(), ThreeGppHttpObjectTestCase::ThreeGppHttpObjectTestCase(), ns3::WallClockSynchronizer::TimevalToNs(), ns3::HeapScheduler::TopDown(), ns3::LrWpanSpectrumValueHelper::TotalAvgPower(), ns3::Buffer::TransformIntoRealBuffer(), ns3::CsmaNetDevice::TransmitCompleteEvent(), ns3::CsmaChannel::TransmitEnd(), ns3::PointToPointChannel::TransmitStart(), ns3::TagBuffer::TrimAtEnd(), TcpRttEstimationTest::Tx(), TcpTimeRtoTest::Tx(), ns3::UanPhyGen::TxEndEvent(), ns3::UanChannel::TxPacket(), ns3::TypeId::TypeId(), LteHandoverDelayTestCase::UeHandoverEndOkCallback(), ns3::TrafficControlHelper::Uninstall(), ns3::ChannelCoordinator::UnregisterListener(), ns3::ConstantVelocityHelper::Update(), ns3::WaypointMobilityModel::Update(), ns3::TcpTxBuffer::Update(), ns3::LteEnbNetDevice::UpdateConfig(), ns3::SpectrumAnalyzer::UpdateEnergyReceivedSoFar(), ns3::BasicEnergyHarvester::UpdateHarvestedPower(), ns3::PacketMetadata::UpdateHead(), ns3::AnimationInterface::UpdateLinkDescription(), ns3::OnoeWifiManager::UpdateMode(), ns3::LteFfrDistributedAlgorithm::UpdateNeighbourMeasurements(), ns3::A2A4RsrqHandoverAlgorithm::UpdateNeighbourMeasurements(), ns3::AnimationInterface::UpdateNodeColor(), ns3::AnimationInterface::UpdateNodeDescription(), ns3::AnimationInterface::UpdatePosition(), ns3::TcpRxBuffer::UpdateSackList(), ns3::PacketMetadata::UpdateTail(), ns3::ArpCache::Entry::UpdateWaitReply(), ns3::EmpiricalRandomVariable::ValueCDF::ValueCDF(), BatteryLifetimeTest::VariableLoadTest(), ns3::LteUeRrc::VarMeasReportListAdd(), ns3::LteUeRrc::VarMeasReportListErase(), ns3::AnimationInterface::WavePhyRxBeginTrace(), WifiOfdmMaskSlopesTestCase::WifiOfdmMaskSlopesTestCase(), ns3::AnimationInterface::WifiPhyRxBeginTrace(), ns3::Buffer::Iterator::Write(), ns3::WriteAveragePowerSpectralDensityReport(), ns3::AnimationInterface::WriteLinkProperties(), ns3::PcapFile::WritePacketHeader(), ns3::TagBuffer::WriteU8(), Ns3TcpLossTestCase::WriteUntilBufferFull(), Ns3TcpStateTestCase::WriteUntilBufferFull(), ns3::Buffer::~Buffer(), ns3::Icmpv4L4Protocol::~Icmpv4L4Protocol(), ns3::NscTcpSocketFactoryImpl::~NscTcpSocketFactoryImpl(), ns3::NscTcpSocketImpl::~NscTcpSocketImpl(), ns3::PacketMetadata::~PacketMetadata(), ns3::PyViz::~PyViz(), ns3::TcpSocketBase::~TcpSocketBase(), ns3::TcpSocketFactoryImpl::~TcpSocketFactoryImpl(), ns3::TestCase::~TestCase(), ns3::UdpSocketFactoryImpl::~UdpSocketFactoryImpl(), and ns3::UdpSocketImpl::~UdpSocketImpl().

◆ NS_ASSERT_MSG

#define NS_ASSERT_MSG (   condition,
  message 
)
Value:
do \
{ \
if (!(condition)) \
{ \
std::cerr << "assert failed. cond=\"" << \
# condition << "\", "; \
NS_FATAL_ERROR (message); \
} \
} \
while (false)

At runtime, in debugging builds, if this condition is not true, the program prints the message to output and halts by calling std::terminate.

Parameters
[in]conditionCondition to verify.
[in]messageMessage to output

Definition at line 90 of file assert.h.