Home
last modified time | relevance | path

Searched refs:IsFullThreadDevice (Results 1 – 18 of 18) sorted by relevance

/openthread-3.7.0/src/core/thread/
Dmle_types.cpp50 aModeConfig.mDeviceType = IsFullThreadDevice(); in Get()
66 …ing.Append("rx-on:%s ftd:%s full-net:%s", ToYesNo(IsRxOnWhenIdle()), ToYesNo(IsFullThreadDevice()), in ToString()
Dmle_types.hpp241 bool IsFullThreadDevice(void) const { return (mMode & kModeFullThreadDevice) != 0; } in IsFullThreadDevice() function in ot::Mle::DeviceMode
276 bool IsValid(void) const { return !IsFullThreadDevice() || IsRxOnWhenIdle(); } in IsValid()
Dneighbor.hpp357 bool IsFullThreadDevice(void) const { return GetDeviceMode().IsFullThreadDevice(); } in IsFullThreadDevice() function in ot::Neighbor
Dmle.cpp601 if (IsFullThreadDevice()) in Attach()
738 if (IsFullThreadDevice()) in SetStateChild()
773 …VerifyOrExit(!IsFullThreadDevice() || IsRouter() || !Get<MleRouter>().IsRouterRoleTransitionPendin… in InformPreviousChannel()
815 VerifyOrExit(!aDeviceMode.IsFullThreadDevice(), error = kErrorInvalidArgs); in SetDeviceMode()
840 if (oldMode.IsFullThreadDevice() != mDeviceMode.IsFullThreadDevice()) in SetDeviceMode()
1106 if (IsChild() && !IsFullThreadDevice() && mAddressRegistrationMode == kAppendMeshLocalOnly) in HandleNotifierEvents()
1128 if (IsChild() && !IsFullThreadDevice()) in HandleNotifierEvents()
1142 if (IsChild() && !IsFullThreadDevice() && in HandleNotifierEvents()
1157 if (IsFullThreadDevice()) in HandleNotifierEvents()
1514 … (Get<MeshCoP::ActiveDatasetManager>().IsPartiallyComplete() || !IsFullThreadDevice())); in PrepareAnnounceState()
[all …]
Dmlr_manager.cpp221 …VerifyOrExit(mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1(), error = kErrorInval… in SendMlr()
399 if (!mle.IsFullThreadDevice() && mle.GetParent().IsThreadVersion1p1()) in SendMlrMessage()
597 bool needSendMlr = (mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1()) && in UpdateReregistrationDelay()
Ddua_manager.cpp361 … if (Get<Mle::Mle>().IsFullThreadDevice() || Get<Mle::Mle>().GetParent().IsThreadVersion1p1()) in HandleBackboneRouterPrimaryUpdate()
450 …VerifyOrExit(mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1(), error = kErrorInval… in PerformNextRegistration()
510 if (!mle.IsFullThreadDevice() && mle.GetParent().IsThreadVersion1p1()) in PerformNextRegistration()
Dneighbor.cpp106 mFullThreadDevice = aNeighbor.IsFullThreadDevice(); in SetFrom()
Dnetwork_diagnostic_tlvs.cpp51 mFlags |= aChild.IsFullThreadDevice() ? kFlagsFtd : 0; in InitFrom()
Dchild.cpp64 mFullThreadDevice = aChild.IsFullThreadDevice(); in SetFrom()
Daddress_resolver.cpp388 VerifyOrExit(Get<Mle::MleRouter>().IsFullThreadDevice()); in UpdateSnoopedCacheEntry()
813 if (child.IsFullThreadDevice()) in HandleTmf()
866 if (child.IsFullThreadDevice() || child.GetLinkFailures() >= Mle::kFailedChildTransmissions) in HandleTmf()
Dmle_router.cpp124 VerifyOrExit(mRouterEligible && IsFullThreadDevice()); in IsRouterEligible()
160 if (!IsFullThreadDevice()) in SetRouterEligible()
1124 VerifyOrExit(IsFullThreadDevice()); in ReadAndProcessRouteTlvOnFed()
1499 … VerifyOrExit(IsFullThreadDevice(), Get<TimeTicker>().UnregisterReceiver(TimeTicker::kMleRouter)); in HandleTimeTick()
2058 if (!mode.IsFullThreadDevice()) in HandleChildIdRequest()
2832 if (!aChild.IsFullThreadDevice()) in SendChildIdResponse()
3122 rval = (neighbor != nullptr) && (!neighbor->IsFullThreadDevice()); in IsMinimalChild()
3175 if (aNeighbor.IsFullThreadDevice()) in RemoveNeighbor()
3874 if (child.IsFullThreadDevice()) in GetMaxChildTimeout()
Dmle.hpp336 bool IsFullThreadDevice(void) const { return mDeviceMode.IsFullThreadDevice(); } in IsFullThreadDevice() function in ot::Mle::Mle
Dmesh_forwarder_ftd.cpp605 VerifyOrExit((child == nullptr) || child->IsFullThreadDevice()); in SendIcmpErrorIfDstUnreach()
760 VerifyOrExit(neighbor != nullptr && !neighbor->IsFullThreadDevice()); in UpdateRoutes()
/openthread-3.7.0/src/core/utils/
Dotns.cpp156 …EmitStatus("mode=%s%s%s", aMode.IsRxOnWhenIdle() ? "r" : "", aMode.IsFullThreadDevice() ? "d" : "", in EmitDeviceMode()
Dchannel_manager.cpp80 …if (Get<Mle::Mle>().IsFullThreadDevice() && Get<Mle::Mle>().IsRxOnWhenIdle() && mAutoSelectEnabled) in RequestChannelChange()
/openthread-3.7.0/src/core/meshcop/
Djoiner_router.cpp76 VerifyOrExit(Get<Mle::MleRouter>().IsFullThreadDevice()); in Start()
Dtcat_agent.cpp573 tas.mDeviceType = Get<Mle::Mle>().GetDeviceMode().IsFullThreadDevice(); in GetAdvertisementData()
/openthread-3.7.0/src/core/mac/
Dmac.cpp1788 … if (neighbor == nullptr && dstaddr.IsBroadcast() && Get<Mle::MleRouter>().IsFullThreadDevice()) in HandleReceivedFrame()