Home
last modified time | relevance | path

Searched refs:childIndex (Results 1 – 7 of 7) sorted by relevance

/openthread-2.7.6/src/core/thread/
Dindirect_sender.cpp95 uint16_t childIndex; in AddMessageForSleepyChild() local
99 childIndex = Get<ChildTable>().GetChildIndex(aChild); in AddMessageForSleepyChild()
100 VerifyOrExit(!aMessage.GetChildMask(childIndex)); in AddMessageForSleepyChild()
102 aMessage.SetChildMask(childIndex); in AddMessageForSleepyChild()
125 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in RemoveMessageFromSleepyChild() local
127 VerifyOrExit(aMessage.GetChildMask(childIndex), error = kErrorNotFound); in RemoveMessageFromSleepyChild()
129 aMessage.ClearChildMask(childIndex); in RemoveMessageFromSleepyChild()
188 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in HandleChildModeChange() local
192 if (message->GetChildMask(childIndex)) in HandleChildModeChange()
194 message->ClearChildMask(childIndex); in HandleChildModeChange()
[all …]
Ddua_manager.cpp481 uint16_t childIndex = Get<ChildTable>().GetChildIndex(iter); in PerformNextRegistration() local
483 if (mChildDuaMask.Get(childIndex) && !mChildDuaRegisteredMask.Get(childIndex)) in PerformNextRegistration()
485 mChildIndexDuaRegistering = childIndex; in PerformNextRegistration()
653 uint16_t childIndex; in ProcessDuaResponse() local
666 childIndex = Get<ChildTable>().GetChildIndex(*child); in ProcessDuaResponse()
672 if (mChildDuaMask.Get(childIndex)) in ProcessDuaResponse()
674 mChildDuaRegisteredMask.Set(childIndex, true); in ProcessDuaResponse()
679 mChildDuaMask.Set(childIndex, false); in ProcessDuaResponse()
680 mChildDuaRegisteredMask.Set(childIndex, false); in ProcessDuaResponse()
685 mChildDuaMask.Set(childIndex, false); in ProcessDuaResponse()
[all …]
Dmle_router.cpp3116 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in SendChildUpdateRequest() local
3120 …if (message->GetChildMask(childIndex) && message->GetSubType() == Message::kSubTypeMleChildUpdateR… in SendChildUpdateRequest()
/openthread-2.7.6/src/core/utils/
Dchild_supervision.cpp65 uint16_t childIndex; in GetDestination() local
69 IgnoreError(aMessage.Read(0, childIndex)); in GetDestination()
70 child = Get<ChildTable>().GetChildAtIndex(childIndex); in GetDestination()
79 uint16_t childIndex; in SendMessage() local
91 childIndex = Get<ChildTable>().GetChildIndex(aChild); in SendMessage()
92 SuccessOrExit(message->Append(childIndex)); in SendMessage()
/openthread-2.7.6/tests/unit/
Dtest_child_table.cpp169 uint16_t childIndex; in VerifyChildTableContent() local
175 childIndex = aTable.GetChildIndex(*child); in VerifyChildTableContent()
176 … VerifyOrQuit(childIndex < aTable.GetMaxChildrenAllowed(), "Child Index is out of bound"); in VerifyChildTableContent()
177 … VerifyOrQuit(aTable.GetChildAtIndex(childIndex) == child, "GetChildAtIndex() failed"); in VerifyChildTableContent()
/openthread-2.7.6/src/ncp/
Dncp_base_ftd.cpp275 for (uint16_t childIndex = 0; childIndex < maxChildren; childIndex++) in HandlePropertyGet() local
277 if ((otThreadGetChildInfoByIndex(mInstance, childIndex, &childInfo) != OT_ERROR_NONE) || in HandlePropertyGet()
290 …while (otThreadGetChildNextIp6Address(mInstance, childIndex, &iterator, &ip6Address) == OT_ERROR_N… in HandlePropertyGet()
/openthread-2.7.6/src/cli/
Dcli.cpp1009 for (uint16_t childIndex = 0; childIndex < maxChildren; childIndex++) in ProcessChildIp() local
1015 if ((otThreadGetChildInfoByIndex(mInstance, childIndex, &childInfo) != OT_ERROR_NONE) || in ProcessChildIp()
1023 …while (otThreadGetChildNextIp6Address(mInstance, childIndex, &iterator, &ip6Address) == OT_ERROR_N… in ProcessChildIp()