A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
Fatal Error Handlers
+ Collaboration diagram for Fatal Error Handlers:

Topics

 Core example: NS_FATAL error handlers
 
 
 Fatal Implementation.
 
 

Files

file  abort.h
 NS_ABORT_x macro definitions.
 
file  fatal-error.h
 NS_FATAL_x macro definitions.
 

Macros

#define NS_ABORT_IF(cond)
 Abnormal program termination if a condition is true.
 
#define NS_ABORT_MSG(msg)
 Unconditional abnormal program termination with a message.
 
#define NS_ABORT_MSG_IF(cond, msg)
 Abnormal program termination if a condition is true, with a message.
 
#define NS_ABORT_MSG_UNLESS(cond, msg)   NS_ABORT_MSG_IF(!(cond), msg)
 Abnormal program termination if a condition is false, with a message.
 
#define NS_ABORT_UNLESS(cond)   NS_ABORT_IF(!(cond))
 Abnormal program termination if a condition is false.
 
#define NS_FATAL_ERROR(msg)   NS_FATAL_ERROR_IMPL(msg, true)
 Report a fatal error with a message and terminate.
 
#define NS_FATAL_ERROR_CONT(msg)   NS_FATAL_ERROR_IMPL(msg, false)
 Report a fatal error with a message, deferring termination.
 
#define NS_FATAL_ERROR_IMPL(msg, fatal)
 Fatal error reporting with a message, implementation.
 
#define NS_FATAL_ERROR_IMPL_NO_MSG(fatal)
 Fatal error reporting with no message, implementation.
 
#define NS_FATAL_ERROR_NO_MSG()   NS_FATAL_ERROR_IMPL_NO_MSG(true)
 Report a fatal error and terminate.
 
#define NS_FATAL_ERROR_NO_MSG_CONT()   NS_FATAL_ERROR_IMPL_NO_MSG(false)
 Report a fatal error, deferring termination.
 

Variables

constexpr std::string_view ns3::NS_FATAL_MSG {"NS_FATAL, terminating"}
 Output string marking imminent invocation of std::terminate.
 

Detailed Description

Functions to help clean up when a fatal error is encountered.

The functions in this group are used to perform limited clean up, like flushing active streams, when fatal errors are encountered (through assertion fail, calls to NS_ABORT_* or calls to NS_FATAL_ERROR).

Currently, other than flushing active ostreams, these functions does not interfere with outside memory. There is still a residual risk that invalid ostream pointers may be present, and may corrupt the memory on the attempt to execute the flush() function.

Macro Definition Documentation

◆ NS_ABORT_IF

#define NS_ABORT_IF ( cond)
Value:
do \
{ \
if (cond) \
{ \
std::cerr << "aborted. cond=\"" << #cond << ", "; \
NS_FATAL_ERROR_NO_MSG(); \
} \
} while (false)

Abnormal program termination if a condition is true.

Parameters
[in]condThe condition to be evaluated.

This is similar to NS_ASSERT(!(cond)), except this check is enabled in all builds. If cond is evaluated to true, the expression for cond is printed to stderr, followed by a call to the NS_FATAL_ERROR_NO_MSG() macro which prints the details of filename and line number to stderr. The program will be halted by calling std::terminate(), triggering any clean up code registered by std::set_terminate. The ns-3 default is a stream-flushing code, but may be overridden.

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 65 of file abort.h.

Referenced by ns3::SpectrumWifiPhyHelper::SpectrumWifiPhyHelper(), ns3::WifiPhyHelper::WifiPhyHelper(), ns3::EpcTft::Add(), ns3::Tim::AddAid(), ns3::MultiLinkElement::AddPerStaProfileSubelement(), ns3::InterferenceHelper::AppendEvent(), ns3::HeFrameExchangeManager::CalculateAcknowledgmentTime(), ns3::InterferenceHelper::CalculateNoiseInterferenceW(), ns3::InterferenceHelper::CalculatePayloadPer(), ns3::InterferenceHelper::CalculatePhyHeaderSectionPsr(), MultiLinkSetupTest::CheckAssocRequest(), MultiLinkSetupTest::CheckAssocResponse(), MultiLinkSetupTest::CheckBeacon(), MultiLinkSetupTest::CheckProbeResponse(), ns3::WifiNetDevice::CompleteConfig(), ns3::HePhy::ConvertHeTbPpduDurationToLSigLength(), ns3::SpectrumWifiPhy::ConvertIndicesToFrequencies(), ns3::SpectrumWifiPhy::ConvertIndicesToFrequenciesForInterface(), ns3::HePhy::ConvertLSigLengthToHeTbPpduDuration(), ns3::MeshHelper::CreateInterface(), ns3::WifiTxVector::DeriveRuAllocation(), ns3::TcpOptionMSS::Deserialize(), ns3::MeshWifiInterfaceMac::DoCompleteConfig(), ns3::ApWifiMac::DoInitialize(), ns3::StaWifiMac::DoInitialize(), ns3::EpcSgwApplication::DoRecvCreateSessionRequest(), ns3::LteEnbRrc::DoRecvLoadInformation(), LteEpcE2eDataTestCase::DoRun(), TestWifiInformationElement::ElementIdExt(), ns3::lrwpan::LrWpanPhy::EndSetTRXState(), ns3::lrwpan::LrWpanPhy::EndTx(), ns3::ApWifiMac::GetAssocResp(), ns3::MultiLinkElement::PerStaProfileSubelement::GetAssocResponse(), ns3::SpectrumWifiPhy::GetBand(), ns3::SpectrumWifiPhy::GetChannel(), ns3::SpectrumWifiPhy::GetCurrentFrequencyRange(), ns3::UeManager::GetDataRadioBearerInfo(), ns3::InterferenceHelper::GetEnergyDuration(), ns3::HeRu::GetEqualSizedRusForStations(), ns3::SpectrumWifiPhy::GetHeRuBands(), ns3::ApWifiMac::GetMultiLinkElement(), ns3::WifiMacQueueSchedulerImpl< Priority, Compare >::GetNext(), ns3::ReducedNeighborReport::GetOperatingChannel(), ns3::WifiPhy::GetPhyEntityForPpdu(), ns3::ApWifiMac::GetReducedNeighborReport(), ns3::MultiLinkElement::PerStaProfileSubelement::GetStaMacAddress(), ns3::operator-(), ns3::operator-(), ns3::PacketSink::PacketReceived(), ns3::WifiMacQueue::PeekByTidAndAddress(), ns3::lrwpan::LrWpanPhy::PlmeSetTRXStateRequest(), ns3::HePhy::ProcessSigA(), ns3::HeFrameExchangeManager::ReceiveMpdu(), ns3::WifiMacQueue::Replace(), ns3::UdpClient::Send(), ns3::BulkSendApplication::SendData(), ns3::HtFrameExchangeManager::SendMpduFromBaManager(), ns3::OnOffApplication::SendPacket(), ns3::LteEnbRrc::SetLteEnbCmacSapProvider(), ns3::LteEnbRrc::SetLteEnbCphySapProvider(), ns3::TidToLinkMapping::SetMappingSwitchTime(), ns3::WifiMac::SetQosSupported(), ns3::MultiLinkElement::PerStaProfileSubelement::SetStaMacAddress(), ns3::PyViz::TraceNetDevPromiscRxCsma(), ns3::PyViz::TraceNetDevRxCsma(), ns3::PyViz::TraceNetDevRxWifi(), ns3::PyViz::TraceNetDevTxCsma(), ns3::PyViz::TraceNetDevTxWifi(), ns3::SpectrumWifiPhy::Transmit(), and ns3::InterferenceHelper::UpdateEvent().

◆ NS_ABORT_MSG

#define NS_ABORT_MSG ( msg)
Value:
do \
{ \
std::cerr << "aborted. "; \
NS_FATAL_ERROR(msg); \
} while (false)

Unconditional abnormal program termination with a message.

Parameters
[in]msgThe message to output when this macro is hit.

This macro is essentially equivalent to NS_FATAL_ERROR, except it prepends the error message with the string "aborted. ". When this macro is hit at runtime, the program will be halted using std::terminate, which triggers clean up code registered by std::set_terminate.

This macro is enabled unconditionally in all builds, including debug and optimized builds.

See also
NS_FATAL_ERROR

Definition at line 38 of file abort.h.

Referenced by ns3::ConfigStore::ConfigStore(), ns3::CtrlTriggerHeader::CtrlTriggerHeader(), ns3::Ipv4Mask::Ipv4Mask(), ns3::Ipv6Prefix::Ipv6Prefix(), ns3::Ipv6Prefix::Ipv6Prefix(), OfdmaAckSequenceTest::OfdmaAckSequenceTest(), ns3::OfdmPhy::OfdmPhy(), ns3::Time::Time(), ns3::GnuplotAggregator::Add2dDataset(), ns3::FileHelper::AddAggregator(), ns3::FileHelper::AddProbe(), ns3::GnuplotHelper::AddProbe(), ns3::FileHelper::AddTimeSeriesAdaptor(), ns3::GnuplotHelper::AddTimeSeriesAdaptor(), ns3::WifiProtectionManager::AddUserInfoToMuRts(), ns3::GlobalRouter::AnotherRouterOnLink(), MultiLinkMuTxTest::CheckBlockAck(), MultiLinkSetupTest::CheckQosData(), TestUlOfdmaPpduUid::CheckUid(), ns3::EpcTftClassifier::Classify(), ns3::lorawan::ClassAEndDeviceLorawanMac::CloseFirstReceiveWindow(), ns3::lorawan::ClassAEndDeviceLorawanMac::CloseSecondReceiveWindow(), ns3::SixLowPanNetDevice::CompressLowPanNhc(), ComputeEndToEndGain(), TestMultiUserScheduler::ComputeWifiTxVector(), ns3::LrWpanHelper::CreateAssociatedPan(), ns3::SixLowPanNetDevice::DecompressLowPanIphc(), ns3::SixLowPanNetDevice::DecompressLowPanNhc(), ns3::Rip::DeleteRoute(), ns3::RipNg::DeleteRoute(), ns3::WifiMacQueue::Dequeue(), ns3::MultiLinkElement::DeserializeInformationField(), ns3::ThreeGppPropagationLossModel::DoIsO2iLowPenetrationLoss(), OfdmaAckSequenceTest::DoRun(), WifiPrimaryChannelsTest::DoSetup(), ns3::RandomWalk2dMobilityModel::DoWalk(), ns3::RandomWalk2dOutdoorMobilityModel::DoWalk(), ns3::CommonInfoBasicMle::EncodeEmlsrPaddingDelay(), ns3::CommonInfoBasicMle::EncodeEmlsrTransitionDelay(), ns3::SQLiteOutput::Error(), ns3::WifiDefaultAckManager::ExistInflightOnSameLink(), ns3::FrameExchangeManager::FinalizeMacHeader(), ns3::GlobalRouter::FindDesignatedRouterForLink(), ns3::HeRu::FindOverlappingRu(), ns3::WifiPhyOperatingChannel::Get20MHzIndicesCoveringRu(), ns3::WifiPsdu::GetAckPolicyForTid(), ns3::WifiPsdu::GetAddr1(), ns3::WifiPsdu::GetAddr2(), ns3::HeRu::GetBandwidth(), ns3::lorawan::NetworkStatus::GetBestGatewayForDevice(), ns3::WifiNetDevice::GetChannel(), ns3::QueueBase::GetCurrentSize(), ns3::QueueDisc::GetCurrentSize(), ns3::DefaultEmlsrManager::GetDelayUnlessMainPhyTakesOverUlTxop(), ns3::DsssPhy::GetDsssRate(), ns3::WifiPsdu::GetDuration(), ns3::EhtPhy::GetEhtMcs(), ns3::ErpOfdmPhy::GetErpOfdmRate(), ns3::YansWifiPhy::GetGuardBandwidth(), ns3::HePhy::GetHeMcs(), ns3::HtPhy::GetHtMcs(), ns3::MultiLinkElement::GetInformationFieldSize(), ns3::WifiMac::GetMaxAmpduSize(), ns3::WifiMac::GetMaxAmsduSize(), ns3::GetMaximumChannelWidth(), ns3::EhtCapabilities::GetMaxMpduLength(), ns3::He6GhzBandCapabilities::GetMaxMpduLength(), ns3::VhtCapabilities::GetMaxMpduLength(), ns3::HtPhy::GetMcs(), ns3::PhyEntity::GetMcs(), ns3::WifiTxVector::GetMode(), ns3::GetModulationClassForPreamble(), ns3::lorawan::LoraNetDevice::GetMulticast(), ns3::lrwpan::LrWpanNetDevice::GetMulticast(), ns3::OfdmPhy::GetOfdmRate(), ns3::FilsDiscHeader::FdCapability::GetOpChannelWidth(), ns3::ReducedNeighborReport::GetOperatingChannel(), ns3::WifiPhyHelper::GetOrCreatePcapFile(), ns3::WifiAc::GetOtherTid(), ns3::SixLowPanNetDevice::Fragments::GetPacket(), ns3::CtrlTriggerUserInfoField::GetPreambleType(), ns3::FileHelper::GetProbe(), ns3::GnuplotHelper::GetProbe(), ns3::WifiMacHeader::GetQosAckPolicy(), ns3::WifiPhyHelper::GetRadiotapHeader(), ns3::WifiTxTimer::GetReasonString(), ns3::HeRu::GetRuType(), ns3::FilsDiscHeader::FdCapability::GetStandard(), ns3::CtrlBAckResponseHeader::GetStartingSequenceControl(), ns3::lorawan::LogicalLoraChannelHelper::GetSubBandFromFrequency(), ns3::RraaWifiManager::GetThresholds(), ns3::RrpaaWifiManager::GetThresholds(), ns3::YansWifiPhy::GetTxMaskRejectionParams(), ns3::lorawan::LogicalLoraChannelHelper::GetTxPowerForChannel(), ns3::VhtPhy::GetVhtMcs(), ns3::Radvd::HandleRead(), ns3::DhcpHelper::InstallDhcpServer(), ns3::DhcpHelper::InstallFixedAddress(), ns3::Rip::InvalidateRoute(), ns3::RipNg::InvalidateRoute(), ns3::IdealWifiManager::IsCandidateModulationClass(), ns3::PhyEntity::IsMcsSupported(), ns3::IdealWifiManager::IsModulationClassSupported(), ns3::HtFrameExchangeManager::IsWithinLimitsIfAddMpdu(), ns3::lorawan::LoraPacketTracker::MacGwReceptionCallback(), ns3::Ipv6Address::MakeAutoconfiguredAddress(), ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(), ns3::lrwpan::LrWpanMac::McpsDataRequest(), ns3::DhcpServer::NetHandler(), ns3::WifiMacQueueSchedulerImpl< Priority, Compare >::NotifyEnqueue(), ns3::PacketSink::AddressHash::operator()(), ns3::operator<<(), ns3::WifiPhyHelper::PcapSniffRxEvent(), ns3::WifiPhyHelper::PcapSniffTxEvent(), PerfFile(), ns3::ReducedNeighborReport::ReadTbttInformationLength(), ns3::LteNetDevice::Receive(), ns3::Rip::Receive(), ns3::RipNg::Receive(), TestUlOfdmaPowerControl::ReceiveOkCallbackAtAp(), ns3::EpcPgwApplication::RecvFromTunDevice(), ns3::olsr::RoutingProtocol::RecvOlsr(), Bug2470TestCase::RunSubtest(), ns3::TrafficControlLayer::ScanDevices(), ns3::StaWifiMac::ScanningTimeout(), TestMultiUserScheduler::SelectTxFormat(), ns3::lorawan::LoraNetDevice::SendFrom(), ns3::lrwpan::LrWpanNetDevice::SendFrom(), ns3::FrameExchangeManager::SendMpdu(), TestUlOfdmaPowerControl::SendMuBar(), ns3::HtFrameExchangeManager::SendPsdu(), TestUlOfdmaPpduUid::SendSuPpdu(), ns3::EpcEnbApplication::SendToLteSocket(), ns3::EpcPgwApplication::SendToTunDevice(), ns3::MultiLinkElement::SerializeInformationField(), ns3::GnuplotAggregator::Set2dDatasetErrorBars(), ns3::GnuplotAggregator::Set2dDatasetExtra(), ns3::GnuplotAggregator::Set2dDatasetStyle(), ns3::lrwpan::LrWpanNetDevice::SetAddress(), ns3::lrwpan::SuperframeField::SetBeaconOrder(), ns3::lrwpan::SuperframeField::SetFinalCapSlot(), ns3::SixLowPanMesh::SetFinalDst(), ns3::EhtCapabilities::SetMaxAmpduLength(), ns3::He6GhzBandCapabilities::SetMaxAmpduLength(), ns3::HeCapabilities::SetMaxAmpduLength(), ns3::HtCapabilities::SetMaxAmpduLength(), ns3::VhtCapabilities::SetMaxAmpduLength(), ns3::EhtCapabilities::SetMaxMpduLength(), ns3::lorawan::LoraNetDevice::SetMtu(), ns3::lrwpan::LrWpanNetDevice::SetMtu(), ns3::ReducedNeighborReport::SetOperatingChannel(), ns3::SixLowPanMesh::SetOriginator(), ns3::WifiPhyHelper::SetPcapDataLinkType(), ns3::lrwpan::LrWpanPhy::SetRxSensitivity(), ns3::TwoRaySpectrumPropagationLossModel::SetScenario(), ns3::FilsDiscHeader::FdCapability::SetStandard(), ns3::CtrlBAckResponseHeader::SetStartingSequenceControl(), ns3::lrwpan::SuperframeField::SetSuperframeOrder(), ns3::MultiLinkElement::SetVariant(), ns3::DhcpServer::StartApplication(), ns3::Ping::StartApplication(), ns3::ThreeGppHttpServer::StartApplication(), ns3::FrameExchangeManager::StartProtection(), ns3::WifiDefaultAckManager::TryAddMpdu(), ns3::MinstrelHtWifiManager::UpdateRateAfterAllowedWidth(), WifiFilsFrameTestBuildCase(), ns3::AnimationInterface::WifiPhyTxBeginTrace(), ns3::GnuplotAggregator::Write2d(), ns3::GnuplotAggregator::Write2dDatasetEmptyLine(), ns3::GnuplotAggregator::Write2dWithXErrorDelta(), ns3::GnuplotAggregator::Write2dWithXYErrorDelta(), ns3::GnuplotAggregator::Write2dWithYErrorDelta(), and ns3::ReducedNeighborReport::WriteTbttInformationLength().

◆ NS_ABORT_MSG_IF

#define NS_ABORT_MSG_IF ( cond,
msg )
Value:
do \
{ \
if (cond) \
{ \
std::cerr << "aborted. cond=\"" << #cond << "\", "; \
NS_FATAL_ERROR(msg); \
} \
} while (false)

Abnormal program termination if a condition is true, with a message.

Parameters
[in]condThe condition to be evaluated.
[in]msgThe message to output when cond is true.

This is similar to NS_ASSERT_MSG(!(cond)), except this check is enabled in all builds. If cond is evaluated to true, the expression for cond is printed to stderr, followed by a call to the NS_FATAL_ERROR() macro which prints the user-specified error message, and details of filename and line number to stderr. The program will be halted by calling std::terminate(), triggering any clean up code registered by std::set_terminate. The ns-3 default is a stream-flushing code, but may be overridden.

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 97 of file abort.h.

Referenced by ns3::CtrlTriggerHeader::CtrlTriggerHeader(), EmlsrDlTxopTest::EmlsrDlTxopTest(), EmlsrUlTxopTest::EmlsrUlTxopTest(), ns3::HtPhy::HtPhy(), ns3::QueueSize::QueueSize(), ns3::HeRu::RuSpec::RuSpec(), ns3::WifiPsdu::WifiPsdu(), ns3::Packet::AddByteTag(), ns3::SpectrumWifiPhy::AddChannel(), ns3::WifiPhy::AddPhyEntity(), ns3::QueueDisc::AddQueueDiscClass(), ns3::CtrlTriggerHeader::AddUserInfoField(), ns3::WifiProtectionManager::AddUserInfoToMuRts(), ns3::WaypointMobilityModel::AddWaypoint(), ns3::WifiMpdu::Aggregate(), ns3::WifiMac::ApplyTidLinkMapping(), ns3::ApplicationHelper::AssignStreams(), ns3::NixVectorRouting< T >::BuildIpAddressToNodeMap(), ns3::GlobalRouter::BuildNetworkLSAs(), ns3::RandomWalk2dOutdoorMobilityModel::CalculateIntersectionFromOutside(), ns3::HePhy::CalculateTxDuration(), ns3::FqCobaltQueueDisc::CheckConfig(), ns3::FqCoDelQueueDisc::CheckConfig(), ns3::FqPieQueueDisc::CheckConfig(), HeRuMcsDataRateTestCase::CheckDataRate(), TxDurationTest::CheckMuTxDuration(), LteRadioLinkFailureTestCase::CheckUeExistAtEnb(), ns3::WifiMac::CompleteConfig(), TestMultiUserScheduler::ComputeWifiTxVector(), ns3::LteEnbRrc::ConfigureCarriers(), ns3::SpectrumWifiPhy::ConfigureInterface(), ns3::WifiPhy::ConfigureStandard(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::WifiMacHelper::Create(), ns3::WifiMpdu::CreateAlias(), ns3::PcapHelper::CreateFile(), ns3::TapFdNetDeviceHelper::CreateFileDescriptor(), ns3::Txop::CreateQueue(), ns3::QueueDiscFactory::CreateQueueDisc(), ns3::TapBridge::CreateTap(), ns3::HeFrameExchangeManager::CtsTimeout(), ns3::CommonInfoBasicMle::DecodeEmlsrPaddingDelay(), ns3::CommonInfoBasicMle::DecodeEmlsrTransitionDelay(), ns3::TrafficControlHelper::Default(), ns3::CommonInfoBasicMle::Deserialize(), ns3::CtrlTriggerHeader::Deserialize(), ns3::CtrlTriggerUserInfoField::Deserialize(), ns3::MgtEmlOmn::Deserialize(), ns3::EhtOperation::DeserializeInformationField(), ns3::TidToLinkMapping::DeserializeInformationField(), ns3::Tim::DeserializeInformationField(), ns3::GlobalRouter::DiscoverLSAs(), ns3::TrafficControlHelper::DoAddChildQueueDisc(), ns3::TrafficControlHelper::DoAddInternalQueues(), ns3::SimpleUeComponentCarrierManager::DoAddLc(), ns3::TrafficControlHelper::DoAddPacketFilter(), ns3::TrafficControlHelper::DoAddQueueDiscClasses(), ns3::NoBackhaulEpcHelper::DoAddX2Interface(), ns3::WifiPhy::DoChannelSwitch(), ns3::LteHelper::DoComponentCarrierConfigure(), ns3::SimpleUeComponentCarrierManager::DoConfigureSignalBearer(), ns3::LteEnbPhy::DoInitialize(), ns3::LteUePhy::DoInitialize(), ns3::ApplicationHelper::DoInstall(), ns3::SimpleUeComponentCarrierManager::DoNotifyTxOpportunity(), ns3::FdNetDeviceFdReader::DoRead(), ns3::NetmapNetDeviceFdReader::DoRead(), ns3::TapBridgeFdReader::DoRead(), ns3::SimpleUeComponentCarrierManager::DoReceivePdu(), ns3::LteUeRrc::DoRecvRrcConnectionSetup(), ns3::SimpleUeComponentCarrierManager::DoRemoveLc(), ns3::SimpleUeComponentCarrierManager::DoReportBufferStatus(), ns3::CqaFfMacScheduler::DoSchedUlTriggerReq(), ns3::FdBetFfMacScheduler::DoSchedUlTriggerReq(), ns3::FdMtFfMacScheduler::DoSchedUlTriggerReq(), ns3::FdTbfqFfMacScheduler::DoSchedUlTriggerReq(), ns3::PfFfMacScheduler::DoSchedUlTriggerReq(), ns3::PssFfMacScheduler::DoSchedUlTriggerReq(), ns3::RrFfMacScheduler::DoSchedUlTriggerReq(), ns3::TdBetFfMacScheduler::DoSchedUlTriggerReq(), ns3::TdMtFfMacScheduler::DoSchedUlTriggerReq(), ns3::TdTbfqFfMacScheduler::DoSchedUlTriggerReq(), ns3::TtaFfMacScheduler::DoSchedUlTriggerReq(), ns3::LteUeRrcProtocolIdeal::DoSendIdealUeContextRemoveRequest(), ns3::LteUeRrcProtocolReal::DoSendIdealUeContextRemoveRequest(), ns3::SimpleUeComponentCarrierManager::DoTransmitPdu(), ns3::NoOpComponentCarrierManager::DoUlReceiveSr(), ns3::WifiPhyRxTraceHelper::Enable(), ns3::AsciiTraceHelperForDevice::EnableAsciiImpl(), ns3::WifiPhyHelper::EnablePcapInternal(), ns3::WifiMac::Enqueue(), ns3::WifiDefaultAckManager::ExistInflightOnSameLink(), ns3::SpectrumWifiPhy::FinalizeChannelSwitch(), ns3::YansWifiPhy::FinalizeChannelSwitch(), ns3::WifiDefaultAckManager::GetAckInfoIfAggregatedMuBar(), ns3::WifiDefaultAckManager::GetAckInfoIfBarBaSequence(), ns3::WifiDefaultAckManager::GetAckInfoIfTfMuBar(), ns3::WifiPsdu::GetAckPolicyForTid(), ns3::WifiMac::GetBarTypeAsOriginator(), ns3::WifiMac::GetBarTypeAsRecipient(), ns3::WifiMac::GetBaTypeAsOriginator(), ns3::WifiMac::GetBaTypeAsRecipient(), ns3::BitDeserializer::GetBits(), ns3::BitSerializer::GetBytes(), ns3::MultiUserScheduler::GetDlMuInfo(), ns3::WifiTxVector::GetHeMuUserInfo(), ns3::WifiTxVector::GetHeMuUserInfoMap(), ns3::WifiTxVector::GetHeMuUserInfoMap(), ns3::CtrlTriggerHeader::GetHeTbTxVector(), ns3::HeRu::RuSpec::GetIndex(), ns3::ApWifiMac::GetLinkIdStaAddrMap(), ns3::TidToLinkMapping::GetLinkMappingOfTid(), ns3::ThreeGppIndoorOfficePropagationLossModel::GetLossLos(), ns3::ThreeGppRmaPropagationLossModel::GetLossLos(), ns3::ThreeGppUmaPropagationLossModel::GetLossLos(), ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetLossLos(), ns3::ThreeGppIndoorOfficePropagationLossModel::GetLossNlos(), ns3::ThreeGppRmaPropagationLossModel::GetLossNlos(), ns3::ThreeGppUmaPropagationLossModel::GetLossNlos(), ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetLossNlos(), ns3::MpduAggregator::GetMaxAmpduSize(), ns3::MsduAggregator::GetMaxAmsduSize(), ns3::WifiDefaultAckManager::GetMaxDistFromStartingSeq(), ns3::WifiTxVector::GetMode(), ns3::WifiTxVector::GetModulationClass(), ns3::CtrlTriggerUserInfoField::GetMoreRaRu(), ns3::CtrlTriggerUserInfoField::GetMpduMuSpacingFactor(), ns3::MuEdcaParameterSet::GetMuAifsn(), ns3::CtrlTriggerUserInfoField::GetMuBarTriggerDepUserInfo(), ns3::MuEdcaParameterSet::GetMuCwMax(), ns3::MuEdcaParameterSet::GetMuCwMin(), ns3::MuEdcaParameterSet::GetMuEdcaTimer(), ns3::CtrlTriggerUserInfoField::GetMuRtsRuAllocation(), ns3::OutdoorPositionAllocator::GetNext(), ns3::MsduAggregator::GetNextAmsdu(), ns3::MinstrelWifiManager::GetNextSample(), ns3::CtrlTriggerUserInfoField::GetNRaRus(), ns3::WifiTxVector::GetNss(), ns3::SpectrumWifiPhy::GetNumBandsBetweenSegments(), ns3::WifiPhy::GetPhyEntity(), ns3::CtrlTriggerUserInfoField::GetPreferredAc(), ns3::HeRu::RuSpec::GetPrimary80MHz(), ns3::WifiPhyOperatingChannel::GetPrimaryChannel(), ns3::WifiPhyOperatingChannel::GetPrimaryChannelNumber(), ns3::WifiTxVector::GetRu(), ns3::CtrlTriggerUserInfoField::GetRuAllocation(), ns3::HeRu::RuSpec::GetRuType(), ns3::WifiPhyOperatingChannel::GetSecondarySegmentIndex(), ns3::HePhy::GetSigBMode(), ns3::VhtPhy::GetSigBMode(), ns3::FilsDiscHeader::FdCapability::GetStandard(), ns3::WifiPhy::GetStaticPhyEntity(), ns3::HeRu::GetSubcarrierGroup(), ns3::CtrlTriggerUserInfoField::GetTidAggregationLimit(), ns3::WifiMac::GetTidToLinkMapping(), ns3::StaWifiMac::GetTidToLinkMappingElements(), ns3::HePhy::GetTrainingDuration(), ns3::HtPhy::GetTrainingDuration(), ns3::VhtPhy::GetTrainingDuration(), ns3::DsssPhy::GetTxPowerSpectralDensity(), ns3::MultiUserScheduler::GetUlMuInfo(), ns3::CtrlTriggerUserInfoField::GetUlTargetRssi(), ns3::LaplacianRandomVariable::GetValue(), ns3::LargestExtremeValueRandomVariable::GetValue(), ns3::WifiMac::GetVhtCapabilities(), ns3::TcpDctcp::InitializeDctcpAlpha(), ns3::WifiMacQueue::Insert(), ns3::WifiMacQueueContainer::insert(), ns3::ApplicationHelper::Install(), ns3::GroupMobilityHelper::Install(), ns3::RadioEnvironmentMapHelper::Install(), ns3::TrafficControlHelper::Install(), ns3::WifiHelper::Install(), ns3::LteHelper::InstallSingleEnbDevice(), ns3::LteHelper::InstallSingleUeDevice(), ns3::LollipopCounter< T >::IsComparable(), ns3::TcpSocketBase::IsEct(), ns3::WifiTxVector::IsValid(), ns3::Ipv4EndPointDemux::Lookup(), ns3::Ipv6EndPointDemux::Lookup(), ns3::HtFrameExchangeManager::MissedBlockAck(), ns3::NetDeviceQueue::NotifyAggregatedObject(), ns3::BlockAckManager::NotifyGotBlockAck(), ns3::EhtFrameExchangeManager::NotifySwitchingEmlsrLink(), ns3::AthstatsWifiTraceSink::Open(), ns3::ThreeGppHttpClient::OpenConnection(), ns3::QueueSize::operator!=(), ns3::QueueSize::operator<(), ns3::QueueSize::operator<=(), ns3::CtrlTriggerUserInfoField::operator=(), ns3::QueueSize::operator==(), ns3::operator>(), ns3::QueueSize::operator>(), ns3::operator>=(), ns3::QueueSize::operator>=(), ns3::GlobalRouter::ProcessBridgedBroadcastLink(), ns3::GlobalRouter::ProcessPointToPointLink(), ns3::GlobalRouter::ProcessSingleBroadcastLink(), ns3::BitDeserializer::PushByte(), ns3::BitDeserializer::PushBytes(), ns3::BitDeserializer::PushBytes(), RadioLinkFailure(), ns3::TrafficControlLayer::Receive(), ns3::StaWifiMac::ReceiveAssocResp(), ns3::TapBridge::ReceiveFromBridgedDevice(), ns3::SixLowPanNetDevice::ReceiveFromDevice(), ns3::FrameExchangeManager::ReceiveMpdu(), ns3::HeFrameExchangeManager::ReceiveMpdu(), ns3::HtFrameExchangeManager::ReceiveMpdu(), ns3::QosFrameExchangeManager::ReceiveMpdu(), ns3::TcpSocketBase::Recv(), TestAmpduReception::RxSuccess(), ns3::TrafficControlLayer::ScanDevices(), ns3::OnOffApplication::ScheduleNextTx(), TestMultiUserScheduler::SelectTxFormat(), ns3::LteEnbNetDevice::Send(), ns3::LteUeNetDevice::Send(), ns3::PacketSocketClient::Send(), ns3::TcpSocketBase::Send(), ns3::StaWifiMac::SendAssociationRequest(), ns3::EmlsrManager::SendEmlOmn(), ns3::HtFrameExchangeManager::SendPsdu(), ns3::HeFrameExchangeManager::SendPsduMap(), ns3::CtrlTriggerHeader::Serialize(), ns3::CtrlTriggerUserInfoField::Serialize(), ns3::MgtEmlOmn::Serialize(), ns3::ApWifiMac::SetAid(), ns3::Txop::SetAifsns(), ns3::UniformPlanarArray::SetAntennaHorizontalSpacing(), ns3::UniformPlanarArray::SetAntennaVerticalSpacing(), ns3::CtrlTriggerHeader::SetApTxPower(), ns3::CtrlTriggerUserInfoField::SetBasicTriggerDepUserInfo(), ns3::WifiMac::SetChannelAccessManagers(), ns3::QueueDiscFactory::SetChildQueueDisc(), ns3::EmlsrManager::SetEmlsrLinks(), ns3::Ipv4Header::SetFragmentOffset(), ns3::WifiMac::SetFrameExchangeManagers(), ns3::WifiTxVector::SetHeMuUserInfo(), ns3::WifiTxVector::SetInactiveSubchannels(), ns3::FilsDiscHeader::SetLengthSubfield(), ns3::MgtEmlOmn::SetLinkIdInBitmap(), ns3::TidToLinkMapping::SetLinkMappingOfTid(), ns3::LteEnbRrc::SetLteFfrRrcSapProvider(), ns3::EmlsrManager::SetMainPhyId(), ns3::HtCapabilities::SetMaxAmsduLength(), ns3::Txop::SetMaxCws(), ns3::He6GhzBandCapabilities::SetMaxMpduLength(), ns3::VhtCapabilities::SetMaxMpduLength(), ns3::FilsDiscHeader::FdCapability::SetMaxNss(), ns3::QueueBase::SetMaxSize(), ns3::HtPhy::SetMaxSupportedMcsIndexPerSs(), ns3::CommonInfoBasicMle::SetMediumSyncDelayTimer(), ns3::CommonInfoBasicMle::SetMediumSyncOfdmEdThreshold(), ns3::GroupMobilityHelper::SetMemberPositionAllocator(), ns3::Txop::SetMinCws(), ns3::WifiTxVector::SetMode(), ns3::MuEdcaParameterSet::SetMuAifsn(), ns3::CtrlTriggerUserInfoField::SetMuBarTriggerDepUserInfo(), ns3::MuEdcaParameterSet::SetMuCwMax(), ns3::MuEdcaParameterSet::SetMuCwMin(), ns3::MuEdcaParameterSet::SetMuEdcaTimer(), ns3::HeFrameExchangeManager::SetMultiUserScheduler(), ns3::CtrlTriggerUserInfoField::SetMuRtsRuAllocation(), ns3::WifiTxVector::SetNss(), ns3::NetDeviceQueueInterface::SetNTxQueues(), ns3::LteEnbComponentCarrierManager::SetNumberOfComponentCarriers(), ns3::LteUeComponentCarrierManager::SetNumberOfComponentCarriers(), ns3::LteUePhy::SetNumQinEvalSf(), ns3::LteUePhy::SetNumQoutEvalSf(), ns3::ReducedNeighborReport::SetOperatingChannel(), ns3::CtrlTriggerHeader::SetPaddingSize(), ns3::WifiNetDevice::SetPhys(), ns3::WifiPhyOperatingChannel::SetPrimary20Index(), ns3::WifiMacQueueSchedulerImpl< Priority, Compare >::SetPriority(), ns3::SpectrumChannel::SetPropagationDelayModel(), ns3::WifiAcknowledgment::SetQosAckPolicy(), ns3::QueueDiscClass::SetQueueDisc(), ns3::WifiMpdu::SetQueueIt(), ns3::CtrlTriggerUserInfoField::SetRaRuInformation(), ns3::GroupMobilityHelper::SetReferenceMobilityModel(), ns3::GroupMobilityHelper::SetReferencePositionAllocator(), ns3::WifiNetDevice::SetRemoteStationManagers(), ns3::TrafficControlLayer::SetRootQueueDiscOnDevice(), ns3::WifiTxVector::SetRu(), ns3::CtrlTriggerUserInfoField::SetRuAllocation(), ns3::LollipopCounter< T >::SetSequenceWindowSize(), ns3::CtrlTriggerUserInfoField::SetSsAllocation(), ns3::WifiHelper::SetStandard(), ns3::WifiNetDevice::SetStandard(), ns3::MultiLinkElement::SetTransitionTimeout(), ns3::Txop::SetTxopLimits(), ns3::NetDeviceQueueInterface::SetTxQueuesType(), ns3::CtrlTriggerUserInfoField::SetUlMcs(), ns3::CtrlTriggerUserInfoField::SetUlTargetRssi(), ns3::CtrlTriggerHeader::SetVariant(), ns3::MultiLinkElement::SetVariant(), ns3::ApEmlsrManager::SetWifiMac(), ns3::EmlsrManager::SetWifiMac(), ns3::MultiUserScheduler::SetWifiMac(), ns3::WifiMac::SetWifiPhys(), ns3::WifiMac::SetWifiRemoteStationManagers(), ns3::BulkSendApplication::StartApplication(), ns3::OnOffApplication::StartApplication(), ns3::PacketSink::StartApplication(), ns3::ThreeGppHttpServer::StartApplication(), ns3::UdpEchoClient::StartApplication(), ns3::UdpTraceClient::StartApplication(), ns3::V4TraceRoute::StartApplication(), ns3::HeFrameExchangeManager::StartProtection(), ns3::PhyEntity::StartReceiveField(), ns3::TapBridge::StartTapDevice(), ns3::RawTextConfigLoad::Strip(), ns3::DefaultEmlsrManager::SwitchMainPhyBackToPrimaryLink(), ns3::WifiMac::TidMappedOnLink(), ns3::WifiDefaultAckManager::TryAddMpdu(), ns3::WifiDefaultProtectionManager::TryAddMpduToMuPpdu(), ns3::RrMultiUserScheduler::TrySendingBasicTf(), ns3::WifiDefaultAckManager::TryUlMuTransmission(), ns3::WifiDefaultProtectionManager::TryUlMuTransmission(), ns3::ApWifiMac::TxFailed(), ns3::ApWifiMac::TxOk(), ns3::int64x64_t::Umul(), ns3::MinstrelHtWifiManager::UpdateRateAfterAllowedWidth(), and ns3::WifiMac::UpdateTidToLinkMapping().

◆ NS_ABORT_MSG_UNLESS

#define NS_ABORT_MSG_UNLESS ( cond,
msg )   NS_ABORT_MSG_IF(!(cond), msg)

Abnormal program termination if a condition is false, with a message.

Parameters
[in]condThe condition to be evaluated.
[in]msgThe message to output if cond is false.

This is an alias for NS_ABORT_MSG_IF(!(cond))

See also
NS_ABORT_MSG_IF

Definition at line 133 of file abort.h.

Referenced by ns3::LollipopCounter< T >::LollipopCounter(), ns3::OutputStreamWrapper::OutputStreamWrapper(), ns3::OutputStreamWrapper::OutputStreamWrapper(), ns3::SQLiteOutput::SQLiteOutput(), ns3::SQLiteOutput::~SQLiteOutput(), ns3::Names::Add(), ns3::Names::Add(), ns3::Names::Add(), ns3::Ipv4AddressGeneratorImpl::AddAllocated(), ns3::IidManager::AllocateUid(), ns3::NoBackhaulEpcHelper::AssignStreams(), ns3::BufferSizeLevelBsr::BsrId2BufferSize(), ns3::GlobalRouter::BuildNetworkLSAs(), ns3::TcpTxBuffer::CopyFromSequence(), ns3::GlobalRouter::DiscoverLSAs(), ns3::lrwpan::LrWpanPhy::DoInitialize(), ns3::WifiPhy::DoInitialize(), ns3::LteRlcSm::DoNotifyTxOpportunity(), ns3::TrafficControlHelper::DoSetRootQueueDisc(), Ns3TcpLossTestCase::DoSetup(), Ns3TcpStateTestCase::DoSetup(), ns3::TestVectors< T >::Get(), ns3::AdvancedEmlsrManager::GetDelayUnlessMainPhyTakesOverUlTxop(), ns3::PcapHelper::GetFilenameFromDevice(), ns3::PcapHelper::GetFilenameFromInterfacePair(), ns3::ThreeGppRmaPropagationLossModel::GetLossLos(), ns3::ApWifiMac::GetMuEdcaParameterSet(), ns3::Ipv4AddressGeneratorImpl::Init(), ns3::Ipv4AddressGeneratorImpl::InitAddress(), ns3::WifiMacQueueContainer::insert(), ns3::BuildingsHelper::Install(), ns3::GroupMobilityHelper::Install(), ns3::Ipv4AddressGeneratorImpl::IsAddressAllocated(), ns3::Ipv4AddressGeneratorImpl::IsNetworkAllocated(), ns3::Ipv6AddressGeneratorImpl::IsNetworkAllocated(), ns3::MobilityBuildingInfo::MakeConsistent(), ns3::Ipv4AddressGeneratorImpl::MaskToIndex(), ns3::GlobalRouter::NetDeviceIsBridged(), ns3::NixVectorRouting< T >::NetDeviceIsBridged(), ns3::Ipv4AddressGeneratorImpl::NextAddress(), ns3::AthstatsWifiTraceSink::Open(), ns3::lrwpan::LrWpanPhy::PageSupported(), ns3::Ipv6AddressGeneratorImpl::PrefixToIndex(), ns3::GlobalRouter::ProcessBridgedBroadcastLink(), ns3::GlobalRouter::ProcessPointToPointLink(), ns3::GlobalRouter::ProcessSingleBroadcastLink(), ns3::Names::Rename(), ns3::Names::Rename(), ns3::Names::Rename(), ns3::aodv::RoutingProtocol::ScheduleRreqRetry(), ns3::TcpSocketBase::SetInitialCwnd(), ns3::TcpSocketBase::SetInitialSSThresh(), ns3::lrwpan::LrWpanPhy::SetPhyOption(), ns3::TcpSocketBase::SetSegSize(), ns3::FriisPropagationLossModel::SetSystemLoss(), and ns3::TwoRayGroundPropagationLossModel::SetSystemLoss().

◆ NS_ABORT_UNLESS

#define NS_ABORT_UNLESS ( cond)    NS_ABORT_IF(!(cond))

Abnormal program termination if a condition is false.

Parameters
[in]condThe condition to be evaluated.

This is an alias for NS_ABORT_IF(!(cond))

See also
NS_ABORT_IF

Definition at line 118 of file abort.h.

Referenced by ns3::dot11s::IePerr::DeserializeInformationField(), ns3::MultiLinkElement::PerStaProfileSubelement::GetAssocRequest(), and ns3::WifiMac::GetLinkForPhy().

◆ NS_FATAL_ERROR

#define NS_FATAL_ERROR ( msg)    NS_FATAL_ERROR_IMPL(msg, true)

Report a fatal error with a message and terminate.

Parameters
[in]msgmessage to output when this macro is hit.

When this macro is hit at runtime, the user-specified error message are printed to stderr, followed by a call to the NS_FATAL_ERROR_NO_MSG() macro which prints the details of filename and line number to stderr. The program will be halted by calling std::terminate(), triggering any clean up code registered by std::set_terminate (NS3 default is a stream-flushing code, but may be overridden).

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 168 of file fatal-error.h.

Referenced by ns3::BlockAckReqType::BlockAckReqType(), ns3::BlockAckType::BlockAckType(), ns3::Building::Building(), ns3::DataRate::DataRate(), ns3::GlobalValue::GlobalValue(), ns3::IpcsClassifierRecord::IpcsClassifierRecord(), ns3::Ipv4FlowProbe::Ipv4FlowProbe(), ns3::Ipv6FlowProbe::Ipv6FlowProbe(), ns3::Length::Length(), ns3::LogComponent::LogComponent(), ns3::LteEnbPhy::LteEnbPhy(), LteHandoverTargetTestCase::LteHandoverTargetTestCase(), ns3::LtePhy::LtePhy(), LteRlcAmE2eTestSuite::LteRlcAmE2eTestSuite(), ns3::LteTestUePhy::LteTestUePhy(), LteUeMeasurementsHandoverTestCase::LteUeMeasurementsHandoverTestCase(), LteUeMeasurementsPiecewiseTestCase1::LteUeMeasurementsPiecewiseTestCase1(), LteUeMeasurementsPiecewiseTestCase2::LteUeMeasurementsPiecewiseTestCase2(), ns3::LteUePhy::LteUePhy(), ns3::Ns2MobilityHelper::Ns2MobilityHelper(), ns3::PointToPointGridHelper::PointToPointGridHelper(), ns3::RngStream::RngStream(), ns3::SameRoomPositionAllocator::SameRoomPositionAllocator(), ns3::UeManager::UeManager(), ns3::Timer::~Timer(), ns3::XmlConfigSave::~XmlConfigSave(), ns3::EpcUeNas::ActivateEpsBearer(), ns3::EutranMeasurementMapping::ActualA3Offset2IeValue(), ns3::EutranMeasurementMapping::ActualHysteresis2IeValue(), ns3::Ipv4AddressGeneratorImpl::AddAllocated(), ns3::Ipv6AddressGeneratorImpl::AddAllocated(), ns3::IidManager::AddAttribute(), ns3::WifiRemoteStationManager::AddBasicMode(), ns3::BridgeNetDevice::AddBridgePort(), ns3::ConnectionManager::AddConnection(), ns3::IidManager::AddConstructor(), ns3::UeManager::AddDataRadioBearerInfo(), ns3::CsmaNetDevice::AddHeader(), ns3::MeshPointDevice::AddInterface(), ns3::MemberLteCcmRrcSapUser< C >::AddLcs(), ns3::WimaxNetDevice::AddLinkChangeCallback(), ns3::NixVector::AddNeighborIndex(), ns3::LteAnr::AddNeighbourRelation(), ns3::OpenFlowSwitchNetDevice::AddSwitchPort(), ns3::IidManager::AddTraceSource(), ns3::LteEnbRrc::AddUeMeasReportConfig(), ns3::CommandLine::AddValue(), ns3::TcpGeneralTest::AfterRetransmitCb(), ns3::Object::AggregateObject(), ns3::CidFactory::Allocate(), ns3::LteUeRrc::ApplyMeasConfig(), ns3::LteUeRrc::ApplyRadioResourceConfigDedicated(), ns3::GroupMobilityHelper::AssignStreams(), AssociationLog(), ns3::LteHelper::Attach(), ns3::XmlConfigLoad::Attributes(), ns3::XmlConfigSave::Attributes(), ns3::RandomWalk2dOutdoorMobilityModel::AvoidBuilding(), ns3::RrcAsn1Header::BandwidthToEnum(), ns3::TcpGeneralTest::BeforeRetransmitCb(), ns3::GlobalValue::Bind(), ns3::SQLiteOutput::Bind(), ns3::BriteTopologyHelper::BuildBriteEdgeInfoList(), ns3::BriteTopologyHelper::BuildBriteNodeInfoList(), ns3::PhyEntity::BuildPpdu(), ns3::UanPhyPerCommonModes::CalcPer(), ns3::UanPhyPerUmodem::CalcPer(), ns3::UanPhyCalcSinrFhFsk::CalcSinrDb(), ns3::BandwidthManager::CalculateAllocationSize(), ns3::EhtPhy::CalculateNonHtReferenceRate(), ns3::HePhy::CalculateNonHtReferenceRate(), ns3::HtPhy::CalculateNonHtReferenceRate(), ns3::VhtPhy::CalculateNonHtReferenceRate(), ns3::LteEnbRrc::CellToComponentCarrierId(), ns3::AcousticModemEnergyModel::ChangeState(), ns3::lorawan::LoraRadioEnergyModel::ChangeState(), ns3::CheckEnvironmentVariables(), LteRadioLinkFailureTestCase::CheckIdle(), RoutingExperiment::CommandSetup(), ns3::MemberLteUeCcmRrcSapUser< C >::ComponentCarrierEnabling(), ns3::ProbabilisticV2vHighwayChannelConditionModel::ComputePlos(), ns3::ProbabilisticV2vUrbanChannelConditionModel::ComputePlos(), ns3::ProbabilisticV2vHighwayChannelConditionModel::ComputePnlos(), ns3::ProbabilisticV2vUrbanChannelConditionModel::ComputePnlos(), ns3::WifiPhy::Configure80211p(), ns3::WifiMac::ConfigureDcf(), ns3::Config::Connect(), ns3::Config::MatchContainer::Connect(), ns3::SocketWriter::Connect(), ns3::TracedCallback< Ts >::Connect(), ns3::OnOffApplication::ConnectionFailed(), ns3::ThreeGppHttpClient::ConnectionFailedCallback(), ns3::ThreeGppHttpClient::ConnectionSucceededCallback(), ns3::FileHelper::ConnectProbeToAggregator(), ns3::GnuplotHelper::ConnectProbeToAggregator(), ns3::Config::ConnectWithoutContext(), ns3::Config::MatchContainer::ConnectWithoutContext(), ns3::ObjectBase::ConstructSelf(), anonymous_namespace{length.cc}::Convert(), ns3::HePhy::ConvertHeRuSubcarriers(), ns3::WifiPpdu::Copy(), ns3::WimaxHelper::CreateBSScheduler(), ns3::ConnectionManager::CreateConnection(), ns3::TestCase::CreateDataDirFilename(), ns3::EmuFdNetDeviceHelper::CreateFileDescriptor(), ns3::NetmapNetDeviceHelper::CreateFileDescriptor(), ns3::TapFdNetDeviceHelper::CreateFileDescriptor(), ns3::WifiSpectrumValueHelper::CreateHeOfdmTxPowerSpectralDensity(), ns3::WifiSpectrumValueHelper::CreateOfdmTxPowerSpectralDensity(), ns3::WimaxHelper::CreatePhy(), ns3::WimaxHelper::CreatePhy(), ns3::WimaxHelper::CreatePhyWithoutChannel(), ns3::WimaxHelper::CreatePhyWithoutChannel(), BoxLineIntersectionTestCase::CreatePosition(), ns3::WifiSpectrumValueHelper::CreateSpectrumMaskForOfdm(), ns3::TapBridge::CreateTap(), ns3::WimaxHelper::CreateUplinkScheduler(), ns3::WifiModeFactory::CreateWifiMode(), ns3::AnimationInterface::CsmaPhyTxEndTrace(), ns3::TcpGeneralTest::DataSentCb(), ns3::XmlConfigLoad::Default(), ns3::XmlConfigSave::Default(), ns3::CtrlBAckRequestHeader::Deserialize(), ns3::CtrlBAckResponseHeader::Deserialize(), ns3::dot11s::PeerLinkCloseStart::Deserialize(), ns3::dot11s::PeerLinkConfirmStart::Deserialize(), ns3::dot11s::PeerLinkOpenStart::Deserialize(), ns3::MeshInformationElementVector::Deserialize(), ns3::SfVectorTlvValue::Deserialize(), ns3::Tlv::Deserialize(), ns3::CtrlBAckResponseHeader::DeserializeBitmap(), ns3::ObjectPtrContainerValue::DeserializeFromString(), ns3::RrcAsn1Header::DeserializePhysicalConfigDedicatedSCell(), ns3::MeshInformationElementVector::DeserializeSingleIe(), ns3::GrantedTimeWindowMpiInterface::Disable(), ns3::NullMessageMpiInterface::Disable(), DisassociationLog(), ns3::TracedCallback< Ts >::Disconnect(), ns3::Div(), ns3::LteUeRrc::DoConnect(), ns3::CqaFfMacScheduler::DoCschedLcReleaseReq(), ns3::MqQueueDisc::DoDequeue(), ns3::LteUeRrc::DoDisconnect(), ns3::LteEnbMac::DoDlInfoListElementHarqFeedback(), ns3::MqQueueDisc::DoEnqueue(), ns3::LteUeRrc::DoForceCampedOnEnb(), ns3::AcousticModemEnergyModel::DoGetCurrentA(), ns3::lorawan::LoraRadioEnergyModel::DoGetCurrentA(), ns3::SimpleOfdmWimaxPhy::DoGetDataRate(), ns3::MinstrelHtWifiManager::DoGetDataTxVector(), ns3::SimpleOfdmWimaxChannel::DoGetDevice(), ns3::SimpleOfdmWimaxPhy::DoGetFrameDuration(), ns3::SimpleOfdmWimaxPhy::DoGetFrameDurationCode(), ns3::SimpleOfdmWimaxPhy::DoGetSamplingFactor(), ns3::WifiPpdu::DoGetTxVector(), ns3::EpcMmeApplication::DoInitialContextSetupResponse(), ns3::AarfcdWifiManager::DoInitialize(), ns3::AarfWifiManager::DoInitialize(), ns3::AmrrWifiManager::DoInitialize(), ns3::AparfWifiManager::DoInitialize(), ns3::ArfWifiManager::DoInitialize(), ns3::CaraWifiManager::DoInitialize(), ns3::MinstrelWifiManager::DoInitialize(), ns3::olsr::RoutingProtocol::DoInitialize(), ns3::OnoeWifiManager::DoInitialize(), ns3::ParfWifiManager::DoInitialize(), ns3::RraaWifiManager::DoInitialize(), ns3::RrpaaWifiManager::DoInitialize(), ns3::UeManager::DoInitialize(), ns3::AcousticModemEnergyModelHelper::DoInstall(), ns3::lorawan::LoraRadioEnergyModelHelper::DoInstall(), ns3::WifiRadioEnergyModelHelper::DoInstall(), ns3::LteEnbRrc::DoNotifyLcConfigResult(), ns3::LteUeRrc::DoNotifyRandomAccessFailed(), ns3::LteUeRrc::DoNotifyRandomAccessSuccessful(), ns3::MqQueueDisc::DoPeek(), ns3::BaseStationNetDevice::DoReceive(), ns3::SubscriberStationNetDevice::DoReceive(), ns3::LteUeMac::DoReceiveLteControlMessage(), ns3::LteEnbMac::DoReconfigureLc(), ns3::LteUeRrc::DoRecvRrcConnectionReconfiguration(), ns3::LteUeRrc::DoRecvRrcConnectionReestablishment(), ns3::LteUeRrc::DoRecvRrcConnectionReestablishmentReject(), ns3::LteUeRrc::DoRecvRrcConnectionSetup(), ns3::LteEnbRrc::DoRecvUeData(), LenaMimoTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), Ns3TcpStateTestCase::DoRun(), TableBasedErrorRateTestCase::DoRun(), ns3::LteEnbMac::DoSchedDlConfigInd(), ns3::CqaFfMacScheduler::DoSchedDlMacBufferReq(), ns3::FdBetFfMacScheduler::DoSchedDlMacBufferReq(), ns3::FdMtFfMacScheduler::DoSchedDlMacBufferReq(), ns3::FdTbfqFfMacScheduler::DoSchedDlMacBufferReq(), ns3::PfFfMacScheduler::DoSchedDlMacBufferReq(), ns3::PssFfMacScheduler::DoSchedDlMacBufferReq(), ns3::RrFfMacScheduler::DoSchedDlMacBufferReq(), ns3::TdBetFfMacScheduler::DoSchedDlMacBufferReq(), ns3::TdMtFfMacScheduler::DoSchedDlMacBufferReq(), ns3::TdTbfqFfMacScheduler::DoSchedDlMacBufferReq(), ns3::TtaFfMacScheduler::DoSchedDlMacBufferReq(), ns3::CqaFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::FdBetFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::FdMtFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::FdTbfqFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::PfFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::PssFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::RrFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::TdBetFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::TdMtFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::TdTbfqFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::TtaFfMacScheduler::DoSchedDlPagingBufferReq(), ns3::CqaFfMacScheduler::DoSchedDlTriggerReq(), ns3::FdBetFfMacScheduler::DoSchedDlTriggerReq(), ns3::FdMtFfMacScheduler::DoSchedDlTriggerReq(), ns3::FdTbfqFfMacScheduler::DoSchedDlTriggerReq(), ns3::PfFfMacScheduler::DoSchedDlTriggerReq(), ns3::PssFfMacScheduler::DoSchedDlTriggerReq(), ns3::RrFfMacScheduler::DoSchedDlTriggerReq(), ns3::TdBetFfMacScheduler::DoSchedDlTriggerReq(), ns3::TdMtFfMacScheduler::DoSchedDlTriggerReq(), ns3::TdTbfqFfMacScheduler::DoSchedDlTriggerReq(), ns3::TtaFfMacScheduler::DoSchedDlTriggerReq(), ns3::CqaFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::FdBetFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::FdMtFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::FdTbfqFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::PfFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::PssFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::RrFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TdBetFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TdMtFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TdTbfqFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::TtaFfMacScheduler::DoSchedUlCqiInfoReq(), ns3::CqaFfMacScheduler::DoSchedUlTriggerReq(), ns3::FdBetFfMacScheduler::DoSchedUlTriggerReq(), ns3::FdMtFfMacScheduler::DoSchedUlTriggerReq(), ns3::FdTbfqFfMacScheduler::DoSchedUlTriggerReq(), ns3::PfFfMacScheduler::DoSchedUlTriggerReq(), ns3::PssFfMacScheduler::DoSchedUlTriggerReq(), ns3::RrFfMacScheduler::DoSchedUlTriggerReq(), ns3::TdBetFfMacScheduler::DoSchedUlTriggerReq(), ns3::TdMtFfMacScheduler::DoSchedUlTriggerReq(), ns3::TdTbfqFfMacScheduler::DoSchedUlTriggerReq(), ns3::TtaFfMacScheduler::DoSchedUlTriggerReq(), ns3::ObjectFactory::DoSet(), MultiLinkSetupTest::DoSetup(), WifiOfdmMaskSlopesTestCase::DoSetup(), ns3::LteUePhy::DoSynchronizeWithEnb(), ns3::NoOpComponentCarrierManager::DoUlReceiveMacCe(), ns3::Ipv4FlowProbe::DropLogger(), ns3::Ipv6FlowProbe::DropLogger(), ns3::WifiPhyRxTraceHelper::Enable(), ns3::PhyEntity::EndReceiveField(), ns3::UanMacCw::EndTx(), ns3::ThreeGppHttpClient::EnterParsingTime(), ns3::ThreeGppHttpClient::EnterReadingTime(), ns3::RrcAsn1Header::EnumToBandwidth(), CarrierAggregationConfigTestCase::EquallySpacedCcs(), ns3::CcHelper::EquallySpacedCcs(), ns3::ThreeGppHttpServer::ErrorCloseCallback(), ns3::TcpGeneralTest::ErrorCloseCb(), ns3::NixVector::ExtractNeighborIndex(), Fatal(), ns3::RecipientBlockAckAgreement::FillBlockAckBitmap(), ns3::PyViz::FilterPacket(), ns3::LteAnr::Find(), ns3::LteStatsCalculator::FindCellIdFromEnbRlcPath(), ns3::Ipv4FlowClassifier::FindFlow(), ns3::Ipv6FlowClassifier::FindFlow(), ns3::LteStatsCalculator::FindImsiFromEnbRlcPath(), ns3::LteStatsCalculator::FindImsiFromLteNetDevice(), ns3::LteStatsCalculator::FindImsiFromUePhy(), ns3::GlobalRouteManagerImpl::FindOutgoingInterfaceId(), ns3::SystemPath::FindSelfDirectory(), ns3::CidFactory::FreeCid(), ns3::ThreeGppChannelModel::GenerateChannelParameters(), ns3::WifiActionHeader::GetAction(), ns3::Ipv4Interface::GetAddress(), ns3::Ipv6Interface::GetAddress(), ns3::ObjectBase::GetAttribute(), ns3::CtrlBAckResponseHeader::GetBaControl(), ns3::CtrlBAckRequestHeader::GetBarControl(), ns3::BurstProfileManager::GetBurstProfile(), ns3::NistErrorRateModel::GetBValue(), ns3::WifiActionHeader::GetCategory(), ns3::LteSpectrumValueHelper::GetChannelBandwidth(), ns3::GetChannelWidthInMhz(), ns3::TcpGeneralTest::GetClockGranularity(), ns3::Rectangle::GetClosestSideOrCorner(), ns3::SimpleOfdmWimaxPhy::GetCodedFecBlockSize(), ns3::OfdmPhy::GetCodeRatio(), ns3::ConnectionManager::GetConnections(), ns3::TcpGeneralTest::GetConnTimeout(), ns3::IidManager::GetConstructor(), ns3::ThreeGppHttpHeader::GetContentType(), ns3::WifiRemoteStationManager::GetControlAnswerMode(), ns3::DsssPhy::GetDataRate(), ns3::TcpGeneralTest::GetDelAckCount(), ns3::TcpGeneralTest::GetDelAckTimeout(), ns3::WifiPhyStateHelper::GetDelayUntilIdle(), ns3::MultiModelSpectrumChannel::GetDevice(), ns3::dsr::DsrRouting::GetDownTarget6(), ns3::Ipv4FlowClassifier::GetDscpCounts(), ns3::Ipv6FlowClassifier::GetDscpCounts(), ns3::TcpGeneralTest::GetDupAckCount(), ns3::PhyEntity::GetDuration(), ns3::ThreeGppHttpVariables::GetEmbeddedObjectSize(), ns3::SimpleOfdmWimaxPhy::GetFecBlockSize(), ns3::CtrlTriggerHeader::GetGuardInterval(), ns3::VhtPhy::GetHtSigMode(), ns3::TcpGeneralTest::GetInitialCwnd(), ns3::TcpGeneralTest::GetInitialSsThresh(), ns3::MeshPointDevice::GetInterface(), ns3::PointToPointGridHelper::GetIpv4Address(), ns3::PointToPointGridHelper::GetIpv6Address(), ns3::WifiPhyStateHelper::GetLastTime(), ns3::GetLogComponent(), ns3::ThreeGppPropagationLossModel::GetLoss(), ns3::ThreeGppPropagationLossModel::GetLossNlosv(), ns3::CtrlTriggerHeader::GetLtfType(), ns3::ThreeGppHttpVariables::GetMainObjectSize(), ns3::WifiRadioEnergyModel::GetMaximumTimeInState(), ns3::QueueDisc::GetMaxSize(), ns3::TcpGeneralTest::GetMinRto(), ns3::WifiTxVector::GetMode(), ns3::UanTxModeFactory::GetModeItem(), ns3::UanTxModeFactory::GetModeItem(), ns3::BurstProfileManager::GetModulationType(), ns3::LteEnbRrc::GetNewSrsConfigurationIndex(), ns3::ApWifiMac::GetNextAssociationId(), ns3::PhyEntity::GetNextField(), ns3::PointToPointGridHelper::GetNode(), ns3::ConnectionManager::GetNPackets(), ns3::ThreeGppHttpVariables::GetNumOfEmbeddedObjects(), ns3::TcpTxBuffer::GetPacketFromList(), ns3::UanPhyDual::GetPacketRx(), ns3::HtPhy::GetPayloadDuration(), ns3::TcpGeneralTest::GetPersistentEvent(), ns3::TcpGeneralTest::GetPersistentTimeout(), ns3::AnimationInterface::GetPosition(), ns3::GeographicPositions::GetRadiusEccentFlat(), ns3::TcpGeneralTest::GetReTxThreshold(), ns3::Ipv4ListRouting::GetRoutingProtocol(), ns3::Ipv6ListRouting::GetRoutingProtocol(), ns3::TcpGeneralTest::GetRto(), ns3::TcpGeneralTest::GetRttEstimator(), ns3::CtrlTriggerUserInfoField::GetRuAllocation(), ns3::HeRu::GetRuSpecs(), ns3::TcpGeneralTest::GetRWnd(), ns3::TcpGeneralTest::GetRxBuffer(), ns3::ServiceFlow::GetSchedulingTypeStr(), ns3::TcpGeneralTest::GetSegSize(), ns3::CtrlBAckRequestHeader::GetSerializedSize(), ns3::CtrlBAckResponseHeader::GetSerializedSize(), ns3::ThreeGppIndoorOfficePropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppNTNDenseUrbanPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppNTNRuralPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppNTNSuburbanPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppNTNUrbanPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppRmaPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppUmaPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppV2vUrbanPropagationLossModel::GetShadowingCorrelationDistance(), ns3::ThreeGppIndoorOfficePropagationLossModel::GetShadowingStd(), ns3::ThreeGppNTNDenseUrbanPropagationLossModel::GetShadowingStd(), ns3::ThreeGppNTNRuralPropagationLossModel::GetShadowingStd(), ns3::ThreeGppNTNSuburbanPropagationLossModel::GetShadowingStd(), ns3::ThreeGppNTNUrbanPropagationLossModel::GetShadowingStd(), ns3::ThreeGppRmaPropagationLossModel::GetShadowingStd(), ns3::ThreeGppUmaPropagationLossModel::GetShadowingStd(), ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetShadowingStd(), ns3::ThreeGppV2vUrbanPropagationLossModel::GetShadowingStd(), ns3::PhyEntity::GetSigMode(), ns3::WifiRadioEnergyModel::GetStateA(), ns3::ThreeGppHttpClient::GetStateString(), ns3::ThreeGppHttpServer::GetStateString(), ns3::WifiPhy::GetSubcarrierSpacing(), ns3::ByteTagIterator::Item::GetTag(), ns3::TcpGeneralTest::GetTcb(), ns3::TcpGeneralTest::GetTcpState(), ns3::ThreeGppChannelModel::GetThreeGppTable(), ns3::GetTid(), ns3::TestRunnerImpl::GetTopLevelSourceDir(), ns3::TcpGeneralTest::GetTxBuffer(), ns3::WifiPpdu::GetTxDuration(), ns3::WimaxConnection::GetTypeStr(), ns3::GlobalValue::GetValue(), ns3::GlobalValue::GetValueByName(), ns3::XmlConfigLoad::Global(), ns3::XmlConfigSave::Global(), ns3::CqaFfMacScheduler::HarqProcessAvailability(), ns3::FdBetFfMacScheduler::HarqProcessAvailability(), ns3::FdMtFfMacScheduler::HarqProcessAvailability(), ns3::FdTbfqFfMacScheduler::HarqProcessAvailability(), ns3::PfFfMacScheduler::HarqProcessAvailability(), ns3::PssFfMacScheduler::HarqProcessAvailability(), ns3::RrFfMacScheduler::HarqProcessAvailability(), ns3::TdBetFfMacScheduler::HarqProcessAvailability(), ns3::TdMtFfMacScheduler::HarqProcessAvailability(), ns3::TdTbfqFfMacScheduler::HarqProcessAvailability(), ns3::TtaFfMacScheduler::HarqProcessAvailability(), ns3::EutranMeasurementMapping::IeValue2ActualA3Offset(), ns3::EutranMeasurementMapping::IeValue2ActualHysteresis(), ns3::EutranMeasurementMapping::IeValue2ActualQQualMin(), ns3::EutranMeasurementMapping::IeValue2ActualQRxLevMin(), ns3::UeManager::InitialContextSetupRequest(), ns3::dot11s::PeerManagementProtocol::InitiateLink(), ns3::ClickInternetStackHelper::Install(), ns3::LrWpanHelper::Install(), ns3::MeshHelper::Install(), ns3::MobilityHelper::Install(), ns3::RadioEnvironmentMapHelper::Install(), ns3::WifiHelper::Install(), ns3::LteHelper::InstallSingleEnbDevice(), ns3::LteHelper::InstallSingleUeDevice(), ns3::IsAllowedControlAnswerModulationClass(), ns3::CtrlBAckResponseHeader::IsFragmentReceived(), ns3::CtrlBAckResponseHeader::IsPacketReceived(), ns3::olsr::RoutingProtocol::LinkSensing(), ns3::LogComponentEnable(), ns3::ArpL3Protocol::Lookup(), ns3::TypeId::LookupAttributeByName(), ns3::TypeId::LookupTraceSourceByName(), ns3::SystemPath::MakeDirectories(), ns3::LteUeRrc::MeasurementReportTriggering(), ns3::lrwpan::LrWpanMac::MlmePollRequest(), ns3::Mod(), ns3::Ipv6AddressHelper::NewAddress(), ns3::ThreeGppHttpServer::NormalCloseCallback(), ns3::TcpGeneralTest::NormalCloseCb(), ns3::WifiRadioEnergyModelPhyListener::NotifyCcaBusyStart(), ns3::MemberLteUeCcmRrcSapProvider< C >::NotifyConnectionReconfigurationMsg(), ns3::WifiRadioEnergyModelPhyListener::NotifyOff(), ns3::WifiRadioEnergyModelPhyListener::NotifyOn(), ns3::WifiRadioEnergyModelPhyListener::NotifyRxEndError(), ns3::WifiRadioEnergyModelPhyListener::NotifyRxEndOk(), ns3::lorawan::LoraRadioEnergyModelPhyListener::NotifyRxStart(), ns3::WifiRadioEnergyModelPhyListener::NotifyRxStart(), ns3::lorawan::LoraRadioEnergyModelPhyListener::NotifySleep(), ns3::WifiRadioEnergyModelPhyListener::NotifySleep(), ns3::lorawan::LoraRadioEnergyModelPhyListener::NotifyStandby(), ns3::WifiRadioEnergyModelPhyListener::NotifySwitchingStart(), ns3::lorawan::LoraRadioEnergyModelPhyListener::NotifyTxStart(), ns3::WifiRadioEnergyModelPhyListener::NotifyTxStart(), ns3::WifiRadioEnergyModelPhyListener::NotifyWakeup(), ns3::ThreeGppHttpClient::OpenConnection(), ns3::operator+(), ns3::operator+(), ns3::operator-(), ns3::operator-(), ns3::operator/(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator<<(), ns3::operator>>(), ns3::ThreeGppHttpClient::ParseMainObject(), ns3::WifiPhyHelper::PcapSniffRxEvent(), ns3::WifiPhyHelper::PcapSniffTxEvent(), ns3::lrwpan::LrWpanMac::PdDataConfirm(), ns3::lrwpan::LrWpanPhy::PdDataRequest(), TcpLinuxRenoCongAvoidTest::PhyDrop(), TcpLinuxRenoSSTest::PhyDrop(), TcpNewRenoCongAvoidNormalTest::PhyDrop(), TcpPacingTest::PhyDrop(), TcpSlowStartNormalTest::PhyDrop(), ns3::TcpGeneralTest::PhyDropCb(), PhyRxDropTrace(), PhyRxOkTrace(), ns3::lrwpan::LrWpanMac::PlmeSetTRXStateConfirm(), ns3::lrwpan::LrWpanPhy::PlmeSetTRXStateRequest(), ns3::GnuplotHelper::PlotProbe(), ns3::GtpcHeader::PreDeserialize(), ns3::UeManager::PrepareHandover(), ns3::RrcAsn1Header::Print(), ns3::WifiActionHeader::Print(), ns3::WifiMacHeader::Print(), ns3::CommandLine::PrintAttributes(), ns3::CommandLine::PrintDoxygenUsage(), ns3::NdiscCache::PrintNdiscCache(), ns3::dot11s::HwmpProtocol::ProactivePathResolved(), ns3::TcpGeneralTest::ProcessedAckCb(), ns3::SixLowPanNetDevice::ProcessFragment(), ns3::RealtimeSimulatorImpl::ProcessOneEvent(), TcpLinuxRenoCongAvoidTest::QueueDrop(), TcpLinuxRenoSSTest::QueueDrop(), TcpNewRenoCongAvoidNormalTest::QueueDrop(), TcpPacingTest::QueueDrop(), TcpSlowStartNormalTest::QueueDrop(), ns3::TcpGeneralTest::QueueDropCb(), ns3::MinstrelHtWifiManager::RateInit(), ns3::TcpGeneralTest::RcvAckCb(), readCoordinatesFile(), ns3::SystemPath::ReadFiles(), readNxNMatrix(), ns3::dot11s::PeerManagementProtocolMac::Receive(), ns3::dsr::DsrRouting::Receive(), ns3::flame::FlameProtocolMac::Receive(), ns3::WifiMac::Receive(), ns3::dot11s::HwmpProtocolMac::ReceiveData(), ns3::ThreeGppHttpClient::ReceivedDataCallback(), ns3::ThreeGppHttpServer::ReceivedDataCallback(), ns3::ThreeGppHttpClient::ReceiveEmbeddedObject(), ns3::LteEnbPhy::ReceiveLteControlMessage(), ns3::LteEnbPhy::ReceiveLteControlMessageList(), ns3::LteUePhy::ReceiveLteControlMessageList(), ns3::ThreeGppHttpClient::ReceiveMainObject(), ns3::HtFrameExchangeManager::ReceiveMgtAction(), ns3::UanMacRc::ReceiveOkFromPhy(), ns3::UanMacRcGw::ReceivePacket(), ns3::AnimationInterface::RecursiveIpv4RoutePathSearch(), ns3::EpcMmeApplication::RecvFromS11Socket(), ns3::EpcSgwApplication::RecvFromS11Socket(), ns3::EpcPgwApplication::RecvFromS5cSocket(), ns3::EpcSgwApplication::RecvFromS5cSocket(), ns3::UeManager::RecvHandoverPreparationFailure(), ns3::UeManager::RecvHandoverRequestAck(), LteUeMeasurementsHandoverTestCase::RecvMeasurementReportCallback(), ns3::LteUeMac::RecvRaResponse(), ns3::UeManager::RecvRrcConnectionReconfigurationCompleted(), ns3::UeManager::RecvRrcConnectionReestablishmentRequest(), ns3::UeManager::RecvRrcConnectionRequest(), ns3::UeManager::RecvRrcConnectionSetupCompleted(), ns3::CqaFfMacScheduler::RefreshHarqProcesses(), ns3::FdBetFfMacScheduler::RefreshHarqProcesses(), ns3::FdMtFfMacScheduler::RefreshHarqProcesses(), ns3::FdTbfqFfMacScheduler::RefreshHarqProcesses(), ns3::PfFfMacScheduler::RefreshHarqProcesses(), ns3::PssFfMacScheduler::RefreshHarqProcesses(), ns3::RrFfMacScheduler::RefreshHarqProcesses(), ns3::TdBetFfMacScheduler::RefreshHarqProcesses(), ns3::TdMtFfMacScheduler::RefreshHarqProcesses(), ns3::TdTbfqFfMacScheduler::RefreshHarqProcesses(), ns3::TtaFfMacScheduler::RefreshHarqProcesses(), ns3::MemberLteCcmRrcSapUser< C >::ReleaseLcs(), ns3::Ipv4Interface::RemoveAddress(), ns3::Ipv6Interface::RemoveAddress(), ns3::PacketMetadata::RemoveHeader(), ns3::LteAnr::RemoveNeighbourRelation(), ns3::dot11s::HwmpProtocol::RemoveRoutingStuff(), ns3::flame::FlameProtocol::RemoveRoutingStuff(), ns3::PacketMetadata::RemoveTrailer(), ns3::LteUePowerControl::ReportTpc(), ns3::ThreeGppHttpClient::RequestEmbeddedObject(), ns3::ThreeGppHttpClient::RequestMainObject(), ns3::dot11s::HwmpProtocol::RequestRoute(), ns3::flame::FlameProtocol::RequestRoute(), ResetTrace(), ns3::SQLiteOutput::RetrieveColumn(), ns3::dsr::DsrOptions::ReverseSearchNextTwoHop(), ns3::Ipv4ClickRouting::RouteInput(), ns3::olsr::RoutingProtocol::RouteInput(), ns3::Ipv4ClickRouting::RouteOutput(), ns3::olsr::RoutingProtocol::RouteOutput(), ns3::UanMacRc::RtsTimeout(), Experiment::Run(), ns3::FdReader::Run(), RoutingExperiment::Run(), ns3::TcpGeneralTest::RxPacketCb(), ns3::Timer::Schedule(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UanMacRc::ScheduleData(), ns3::UeManager::ScheduleRrcConnectionReconfiguration(), ns3::WifiModeFactory::Search(), ns3::Ipv4L3Protocol::Send(), ns3::TapBridge::Send(), ns3::WifiPhy::Send(), ns3::ThreeGppHttpServer::SendCallback(), ns3::BulkSendApplication::SendData(), ns3::UeManager::SendData(), ns3::LteNetDevice::SendFrom(), ns3::TapBridge::SendFrom(), ns3::olsr::RoutingProtocol::SendHello(), ns3::MeshWifiInterfaceMac::SendManagementFrame(), ns3::LteUeRrc::SendMeasurementReport(), ns3::TcpL4Protocol::SendPacket(), ns3::TcpL4Protocol::SendPacketV4(), ns3::TcpL4Protocol::SendPacketV6(), ns3::UeManager::SendUeContextRelease(), ns3::CtrlBAckRequestHeader::Serialize(), ns3::CtrlBAckResponseHeader::Serialize(), ns3::GtpcHeader::Serialize(), ns3::CtrlBAckResponseHeader::SerializeBitmap(), ns3::RrcAsn1Header::SerializeRachConfigCommon(), TcpTestCase::ServerHandleRecv(), ns3::LteUePowerControl::SetAlpha(), ns3::internal::TimerImpl::SetArgs(), ns3::Timer::SetArguments(), ns3::TrickleTimer::SetArguments(), ns3::Watchdog::SetArguments(), ns3::ObjectBase::SetAttribute(), ns3::AnimationInterface::SetBackgroundImage(), ns3::CtrlBAckResponseHeader::SetBaControl(), ns3::RadioEnvironmentMapHelper::SetBandwidth(), ns3::ApWifiMac::SetBeaconInterval(), ns3::TapBridge::SetBridgedNetDevice(), ns3::LteUeComponentCarrierManager::SetComponentCarrierMacSapProviders(), ns3::ThreeGppHttpHeader::SetContentType(), ns3::Config::SetDefault(), ns3::TcpGeneralTest::SetDelAckMaxCount(), ns3::NetmapNetDeviceHelper::SetDeviceAttributes(), ns3::ComponentCarrier::SetDlBandwidth(), ns3::LteEnbNetDevice::SetDlBandwidth(), ns3::LteFfrAlgorithm::SetDlBandwidth(), ns3::dsr::DsrRouting::SetDownTarget6(), ns3::EmuFdNetDeviceHelper::SetFileDescriptor(), ns3::XmlConfigSave::SetFilename(), ns3::CtrlTriggerHeader::SetGiAndLtfType(), ns3::Simulator::SetImplementation(), ns3::TcpGeneralTest::SetInitialCwnd(), ns3::TcpGeneralTest::SetInitialSsThresh(), ns3::LteEnbComponentCarrierManager::SetMacSapProvider(), ns3::QueueDisc::SetMaxSize(), ns3::AcousticModemEnergyModel::SetMicroModemState(), ns3::AnimationInterface::SetOutputFile(), ns3::TcpGeneralTest::SetPaceInitialWindow(), ns3::TcpGeneralTest::SetPacingStatus(), ns3::TcpGeneralTest::SetRcvBufSize(), ns3::CtrlBAckResponseHeader::SetReceivedFragment(), ns3::CtrlBAckResponseHeader::SetReceivedPacket(), ns3::EpsBearer::SetRelease(), ns3::CtrlTriggerUserInfoField::SetRuAllocation(), ns3::TcpGeneralTest::SetSegmentSize(), ns3::LteEnbRrc::SetSrsPeriodicity(), ns3::MeshHelper::SetStackInstaller(), ns3::CtrlBAckResponseHeader::SetStartingSequenceControl(), ns3::ComponentCarrier::SetUlBandwidth(), ns3::CtrlTriggerHeader::SetUlBandwidth(), ns3::LteEnbNetDevice::SetUlBandwidth(), ns3::LteFfrAlgorithm::SetUlBandwidth(), ns3::TcpSocketBase::SetupEndpoint(), ns3::TcpSocketBase::SetupEndpoint6(), ns3::UplinkSchedulerMBQoS::SetupServiceFlow(), ns3::UplinkSchedulerRtps::SetupServiceFlow(), ns3::UplinkSchedulerSimple::SetupServiceFlow(), ns3::TcpGeneralTest::SetUseEcn(), TcpTestCase::SourceHandleRecv(), ns3::FdReader::Start(), ns3::BulkSendApplication::StartApplication(), ns3::OnOffApplication::StartApplication(), ns3::PacketSink::StartApplication(), ns3::ThreeGppHttpClient::StartApplication(), ns3::ThreeGppHttpServer::StartApplication(), ns3::UdpClient::StartApplication(), ns3::UdpEchoClient::StartApplication(), ns3::UdpEchoServer::StartApplication(), ns3::UdpServer::StartApplication(), ns3::UdpTraceClient::StartApplication(), ns3::PhyEntity::StartReceivePreamble(), ns3::LteSpectrumPhy::StartRxData(), ns3::LteSpectrumPhy::StartRxDlCtrl(), ns3::LteSpectrumPhy::StartRxUlSrs(), ns3::LteEnbPhy::StartSubFrame(), ns3::LteSpectrumPhy::StartTxDataFrame(), ns3::LteSpectrumPhy::StartTxDlCtrlFrame(), ns3::LteSpectrumPhy::StartTxUlSrsFrame(), BasicEnergyUpdateTest::StateSwitchTest(), ns3::NetmapNetDeviceHelper::SwitchInNetmapMode(), ns3::WifiPhyStateHelper::SwitchToChannelSwitching(), ns3::WifiRadioEnergyModelPhyListener::SwitchToIdle(), ns3::WifiPhyStateHelper::SwitchToOff(), ns3::WifiPhyStateHelper::SwitchToRx(), ns3::WifiPhyStateHelper::SwitchToSleep(), ns3::lorawan::LoraRadioEnergyModelPhyListener::SwitchToStandby(), ns3::LteUeRrc::SwitchToState(), ns3::ThreeGppHttpClient::SwitchToState(), ns3::UeManager::SwitchToState(), ns3::WifiPhyStateHelper::SwitchToTx(), ns3::ToName(), ns3::ToSymbol(), ns3::AnimationInterface::TrackIpv4RoutePaths(), ns3::MemberLteCcmRrcSapUser< C >::TriggerComponentCarrier(), TcpZeroWindowTest::Tx(), ns3::TcpGeneralTest::TxPacketCb(), ns3::TypeNameGet(), ns3::Object::UnidirectionalAggregateObject(), ns3::CqaFfMacScheduler::UpdateHarqProcessId(), ns3::FdBetFfMacScheduler::UpdateHarqProcessId(), ns3::FdMtFfMacScheduler::UpdateHarqProcessId(), ns3::FdTbfqFfMacScheduler::UpdateHarqProcessId(), ns3::PfFfMacScheduler::UpdateHarqProcessId(), ns3::PssFfMacScheduler::UpdateHarqProcessId(), ns3::RrFfMacScheduler::UpdateHarqProcessId(), ns3::TdBetFfMacScheduler::UpdateHarqProcessId(), ns3::TdMtFfMacScheduler::UpdateHarqProcessId(), ns3::TdTbfqFfMacScheduler::UpdateHarqProcessId(), ns3::TtaFfMacScheduler::UpdateHarqProcessId(), ns3::AnimationInterface::UpdateNodeCounter(), ns3::AnimationInterface::UpdateNodeImage(), ns3::dot11s::HwmpProtocolMac::UpdateOutcomingFrame(), ns3::flame::FlameProtocolMac::UpdateOutcomingFrame(), ns3::MinstrelHtWifiManager::UpdateRate(), ns3::TcpGeneralTest::UpdateRttHistoryCb(), ns3::EmpiricalRandomVariable::Validate(), and ns3::FileHelper::WriteProbe().

◆ NS_FATAL_ERROR_CONT

#define NS_FATAL_ERROR_CONT ( msg)    NS_FATAL_ERROR_IMPL(msg, false)

Report a fatal error with a message, deferring termination.

When this macro is hit at runtime, details of filename and line number are printed to stderr, however the program is not halted. It is expected that the function using this macro will return an error code, and its caller will invoke NS_FATAL_ERROR(msg) triggering std::terminate().

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 184 of file fatal-error.h.

Referenced by ns3::Callback< R, UArgs >::Assign(), and FatalCont().

◆ NS_FATAL_ERROR_IMPL

#define NS_FATAL_ERROR_IMPL ( msg,
fatal )
Value:
do \
{ \
std::cerr << "msg=\"" << msg << "\", "; \
NS_FATAL_ERROR_IMPL_NO_MSG(fatal); \
} while (false)

Fatal error reporting with a message, implementation.

When this macro is hit at runtime the error details will printed to stderr, including the message, file name and line number. Optionally, if fatal is true, the macro will invoke std::terminate(). If fatal is false, the invoking function should return an error code to its caller, which is expected to call NS_FATAL_ERROR to cause termination.

Parameters
[in]msgThe error message to print, if not empty.
[in]fatalCall std::terminate() if true.

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 109 of file fatal-error.h.

◆ NS_FATAL_ERROR_IMPL_NO_MSG

#define NS_FATAL_ERROR_IMPL_NO_MSG ( fatal)
Value:
do \
{ \
std::cerr << "file=" << __FILE__ << ", line=" << __LINE__ << std::endl; \
::ns3::FatalImpl::FlushStreams(); \
if (fatal) \
{ \
std::cerr << ns3::NS_FATAL_MSG << std::endl; \
std::terminate(); \
} \
} while (false)
constexpr std::string_view NS_FATAL_MSG
Output string marking imminent invocation of std::terminate.
Definition fatal-error.h:56
#define NS_LOG_APPEND_NODE_PREFIX_IMPL
Implementation details for NS_LOG_APPEND_NODE_PREFIX.
#define NS_LOG_APPEND_TIME_PREFIX_IMPL
Implementation details for NS_LOG_APPEND_TIME_PREFIX.

Fatal error reporting with no message, implementation.

When this macro is hit at runtime the error details will printed to stderr, including the file name and line number. Optionally, if fatal is true, the macro will invoke std::terminate(). If fatal is false, the invoking function should return an error code to its caller, which is expected to call NS_FATAL_ERROR to cause termination.

Parameters
[in]fatalCall std::terminate() if true.

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 77 of file fatal-error.h.

◆ NS_FATAL_ERROR_NO_MSG

#define NS_FATAL_ERROR_NO_MSG ( )    NS_FATAL_ERROR_IMPL_NO_MSG(true)

Report a fatal error and terminate.

When this macro is hit at runtime, details of filename and line number are printed to stderr, and the program is halted by calling std::terminate(). This will trigger any clean up code registered by std::set_terminate (NS3 default is a stream-flushing code), but may be overridden.

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 131 of file fatal-error.h.

Referenced by ns3::TracedCallback< Ts >::ConnectWithoutContext(), and ns3::CallbackValue::GetAccessor().

◆ NS_FATAL_ERROR_NO_MSG_CONT

#define NS_FATAL_ERROR_NO_MSG_CONT ( )    NS_FATAL_ERROR_IMPL_NO_MSG(false)

Report a fatal error, deferring termination.

When this macro is hit at runtime, details of filename and line number are printed to stderr, however the program is not halted. It is expected that the function using this macro will return an error code, and its caller will invoke NS_FATAL_ERROR(msg) triggering std::terminate().

This macro is enabled unconditionally in all builds, including debug and optimized builds.

Definition at line 147 of file fatal-error.h.

Referenced by FatalNoMsg().

Variable Documentation

◆ NS_FATAL_MSG

std::string_view ns3::NS_FATAL_MSG {"NS_FATAL, terminating"}
constexpr

Output string marking imminent invocation of std::terminate.

This is useful to know when capturing output and you want to strip system and compiler-dependent messages generated by std::terminate.

Definition at line 56 of file fatal-error.h.

Referenced by ns3::ExampleAsTestCase::DoRun().