Home
last modified time | relevance | path

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

/openthread-3.5.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()
Dneighbor.hpp357 bool IsFullThreadDevice(void) const { return GetDeviceMode().IsFullThreadDevice(); } in IsFullThreadDevice() function in ot::Neighbor
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()
Dmle.cpp605 if (IsFullThreadDevice()) in Attach()
738 if (IsFullThreadDevice()) in SetStateChild()
773 …VerifyOrExit(!IsFullThreadDevice() || IsRouter() || Get<MleRouter>().GetRouterSelectionJitterTimeo… in InformPreviousChannel()
815 VerifyOrExit(!aDeviceMode.IsFullThreadDevice(), error = kErrorInvalidArgs); in SetDeviceMode()
840 if (oldMode.IsFullThreadDevice() != mDeviceMode.IsFullThreadDevice()) in SetDeviceMode()
1154 if (IsChild() && !IsFullThreadDevice() && mAddressRegistrationMode == kAppendMeshLocalOnly) in HandleNotifierEvents()
1177 if (IsChild() && !IsFullThreadDevice()) in HandleNotifierEvents()
1188 if (IsChild() && !IsFullThreadDevice() && in HandleNotifierEvents()
1203 if (IsFullThreadDevice()) in HandleNotifierEvents()
1549 … (Get<MeshCoP::ActiveDatasetManager>().IsPartiallyComplete() || !IsFullThreadDevice())); in PrepareAnnounceState()
[all …]
Dneighbor.cpp106 mFullThreadDevice = aNeighbor.IsFullThreadDevice(); in SetFrom()
Dnetwork_diagnostic_tlvs.cpp55 mFlags |= aChild.IsFullThreadDevice() ? kFlagsFtd : 0; in InitFrom()
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()
514 if (!mle.IsFullThreadDevice() && mle.GetParent().IsThreadVersion1p1()) in PerformNextRegistration()
Dmlr_manager.cpp222 …VerifyOrExit(mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1(), error = kErrorInval… in SendMulticastListenerRegistration()
408 if (!mle.IsFullThreadDevice() && mle.GetParent().IsThreadVersion1p1()) in SendMulticastListenerRegistrationMessage()
614 bool needSendMlr = (mle.IsFullThreadDevice() || mle.GetParent().IsThreadVersion1p1()) && in UpdateReregistrationDelay()
Dchild.cpp64 mFullThreadDevice = aChild.IsFullThreadDevice(); in SetFrom()
Daddress_resolver.cpp388 VerifyOrExit(Get<Mle::MleRouter>().IsFullThreadDevice()); in UpdateSnoopedCacheEntry()
802 if (child.IsFullThreadDevice()) in HandleTmf()
855 if (child.IsFullThreadDevice() || child.GetLinkFailures() >= Mle::kFailedChildTransmissions) in HandleTmf()
Dmle_router.cpp127 VerifyOrExit(mRouterEligible && IsFullThreadDevice()); in IsRouterEligible()
163 VerifyOrExit(IsFullThreadDevice() || !aEligible, error = kErrorNotCapable); in SetRouterEligible()
1139 VerifyOrExit(IsFullThreadDevice()); in ReadAndProcessRouteTlvOnFed()
1549 … VerifyOrExit(IsFullThreadDevice(), Get<TimeTicker>().UnregisterReceiver(TimeTicker::kMleRouter)); in HandleTimeTick()
2170 if (!mode.IsFullThreadDevice()) in HandleChildIdRequest()
2995 if (!aChild.IsFullThreadDevice()) in SendChildIdResponse()
3271 rval = (neighbor != nullptr) && (!neighbor->IsFullThreadDevice()); in IsMinimalChild()
3324 if (aNeighbor.IsFullThreadDevice()) in RemoveNeighbor()
4037 if (child.IsFullThreadDevice()) in GetMaxChildTimeout()
Dmle.hpp331 bool IsFullThreadDevice(void) const { return mDeviceMode.IsFullThreadDevice(); } in IsFullThreadDevice() function in ot::Mle::Mle
Dmesh_forwarder_ftd.cpp602 VerifyOrExit((child == nullptr) || child->IsFullThreadDevice()); in SendIcmpErrorIfDstUnreach()
758 VerifyOrExit(neighbor != nullptr && !neighbor->IsFullThreadDevice()); in UpdateRoutes()
/openthread-3.5.0/src/core/utils/
Dotns.cpp156 …EmitStatus("mode=%s%s%s", aMode.IsRxOnWhenIdle() ? "r" : "", aMode.IsFullThreadDevice() ? "d" : "", in EmitDeviceMode()
/openthread-3.5.0/src/core/meshcop/
Djoiner_router.cpp76 VerifyOrExit(Get<Mle::MleRouter>().IsFullThreadDevice()); in Start()
/openthread-3.5.0/src/core/mac/
Dmac.cpp1772 … if (neighbor == nullptr && dstaddr.IsBroadcast() && Get<Mle::MleRouter>().IsFullThreadDevice()) in HandleReceivedFrame()