Home
last modified time | relevance | path

Searched refs:IsStateValid (Results 1 – 12 of 12) sorted by relevance

/external/openthread/src/core/thread/
Dneighbor_table.cpp199 if (child->IsStateValid()) in GetNextNeighborInfo()
218 if (router != nullptr && router->IsStateValid()) in GetNextNeighborInfo()
246 VerifyOrExit(Get<Mle::Mle>().GetParent().IsStateValid()); in GetNextNeighborInfo()
Drouter_table.cpp108 if (router.IsStateValid()) in ClearNeighbors()
361 if (router->IsStateValid()) in GetActiveLinkCount()
468 if (router->IsStateValid()) in GetNeighborCount()
481 … VerifyOrExit(aRouter.GetRloc16() != Get<Mle::MleRouter>().GetRloc16() && aRouter.IsStateValid()); in GetLinkCost()
Dmle_router.cpp577 if (aNeighbor == nullptr || !aNeighbor->IsStateValid()) in SendLinkRequest()
605 if (!aNeighbor->IsStateValid()) in SendLinkRequest()
680 if (!neighbor->IsStateValid()) in HandleLinkRequest()
699 VerifyOrExit(aRxInfo.mNeighbor && aRxInfo.mNeighbor->IsStateValid() && in HandleLinkRequest()
754 …command = (aNeighbor == nullptr || aNeighbor->IsStateValid()) ? kCommandLinkAccept : kCommandLinkA… in SendLinkAccept()
795 if (aNeighbor != nullptr && !aNeighbor->IsStateValid()) in SendLinkAccept()
1299 VerifyOrExit(aRxInfo.mNeighbor && aRxInfo.mNeighbor->IsStateValid()); in HandleAdvertisement()
1318 if (IsFullThreadDevice() && (aRxInfo.mNeighbor && aRxInfo.mNeighbor->IsStateValid()) && in HandleAdvertisement()
1339 if (router != nullptr && router->IsStateValid()) in HandleAdvertisement()
1427 if (IsFullThreadDevice() && !router->IsStateValid() && !router->IsStateLinkRequest() && in HandleAdvertisement()
[all …]
Dtopology.cpp122 matches = IsStateValid(); in MatchesFilter()
324 VerifyOrExit(IsStateValid()); in SetDeviceMode()
522 mLinkEstablished = aRouter.IsStateValid(); in SetFrom()
Dindirect_sender.cpp172 if (!aChild.IsRxOnWhenIdle() && (aChild.IsStateValid())) in HandleChildModeChange()
Dmle.cpp2416 if (neighbor != nullptr && neighbor->IsStateValid()) in HandleUdpReceive()
2594 if ((neighbor != nullptr) && neighbor->IsStateValid()) in HandleUdpReceive()
2646 VerifyOrExit(IsAttached() && aNeighbor.IsStateValid()); in ReestablishLinkWithNeighbor()
2744 VerifyOrExit(aRxInfo.mNeighbor && aRxInfo.mNeighbor->IsStateValid()); in HandleAdvertisement()
2770 VerifyOrExit(aRxInfo.mNeighbor && aRxInfo.mNeighbor->IsStateValid(), error = kErrorDrop); in HandleDataResponse()
3294 VerifyOrExit(aRxInfo.mNeighbor && aRxInfo.mNeighbor->IsStateValid(), error = kErrorSecurity); in HandleChildIdResponse()
3555 … VerifyOrExit((aRxInfo.mNeighbor == &mParent) && mParent.IsStateValid(), error = kErrorSecurity); in HandleChildUpdateResponse()
3821 …return (mParent.IsStateValid()) ? mParent.GetRloc16() : static_cast<uint16_t>(Mac::kShortAddrInval… in GetNextHop()
Dtopology.hpp282 bool IsStateValid(void) const { return (mState == kStateValid); } in IsStateValid() function in ot::Neighbor
Dmlr_manager.cpp157 VerifyOrExit(aChild.IsStateValid()); in UpdateProxiedSubscriptions()
Dmesh_forwarder_ftd.cpp443 if (neighbor != nullptr && neighbor->IsStateValid()) in EvaluateRoutingCost()
/external/openthread/src/core/mac/
Dmac.cpp1561 if (aNeighbor->IsStateValid()) in ProcessReceiveSecurity()
1597 if ((keyIdMode == Frame::kKeyIdMode1) && aNeighbor->IsStateValid()) in ProcessReceiveSecurity()
1710 if (neighbor->IsStateValid()) in ProcessEnhAckSecurity()
1718 if (neighbor->IsStateValid()) in ProcessEnhAckSecurity()
Ddata_poll_sender.cpp71 return parentCandidate.IsStateValid() ? parentCandidate : Get<Mle::MleRouter>().GetParent(); in GetParent()
/external/openthread/src/core/api/
Dthread_api.cpp370 aParentInfo->mLinkEstablished = parent->IsStateValid(); in otThreadGetParentInfo()