Home
last modified time | relevance | path

Searched refs:extAddr (Results 1 – 6 of 6) sorted by relevance

/openthread-3.7.0/src/cli/
Dcli_mac_filter.cpp138 otExtAddress extAddr; in Process() local
185 SuccessOrExit(error = aArgs[1].ParseAsHexString(extAddr.m8)); in Process()
186 error = otLinkFilterAddAddress(GetInstancePtr(), &extAddr); in Process()
195 SuccessOrExit(error = otLinkFilterAddRssIn(GetInstancePtr(), &extAddr, rss)); in Process()
214 SuccessOrExit(error = aArgs[1].ParseAsHexString(extAddr.m8)); in Process()
215 otLinkFilterRemoveAddress(GetInstancePtr(), &extAddr); in Process()
314 otExtAddress extAddr; in Process() local
361 SuccessOrExit(error = aArgs[1].ParseAsHexString(extAddr.m8)); in Process()
362 error = otLinkFilterAddRssIn(GetInstancePtr(), &extAddr, rss); in Process()
391 SuccessOrExit(error = aArgs[1].ParseAsHexString(extAddr.m8)); in Process()
[all …]
/openthread-3.7.0/tests/unit/
Dtest_mac_frame.cpp87 Mac::ExtAddress extAddr; in TestMacAddress() local
95 extAddr.GenerateRandom(); in TestMacAddress()
96 VerifyOrQuit(extAddr.IsLocal(), "Random Extended Address should have its Local bit set"); in TestMacAddress()
97 VerifyOrQuit(!extAddr.IsGroup(), "Random Extended Address should not have its Group bit set"); in TestMacAddress()
99 extAddr.CopyTo(buffer); in TestMacAddress()
100 VerifyOrQuit(memcmp(extAddr.m8, buffer, OT_EXT_ADDRESS_SIZE) == 0); in TestMacAddress()
102 extAddr.CopyTo(buffer, Mac::ExtAddress::kReverseByteOrder); in TestMacAddress()
103 VerifyOrQuit(CompareReversed(extAddr.m8, buffer, OT_EXT_ADDRESS_SIZE)); in TestMacAddress()
105 extAddr.Set(kExtAddr); in TestMacAddress()
106 VerifyOrQuit(memcmp(extAddr.m8, kExtAddr, OT_EXT_ADDRESS_SIZE) == 0); in TestMacAddress()
[all …]
/openthread-3.7.0/src/core/thread/
Dmle_router.cpp718 Mac::ExtAddress extAddr; in HandleLinkRequest() local
720 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleLinkRequest()
721 VerifyOrExit(neighbor->GetExtAddress() == extAddr); in HandleLinkRequest()
1368 Mac::ExtAddress extAddr; in HandleParentRequest() local
1400 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleParentRequest()
1425 child = mChildTable.FindChild(extAddr, Child::kInStateAnyExceptInvalid); in HandleParentRequest()
1968 Mac::ExtAddress extAddr; in HandleChildIdRequest() local
1986 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleChildIdRequest()
1988 child = mChildTable.FindChild(extAddr, Child::kInStateAnyExceptInvalid); in HandleChildIdRequest()
2063 router = mRouterTable.FindRouter(extAddr); in HandleChildIdRequest()
[all …]
Daddress_resolver.cpp769 Mac::ExtAddress extAddr; in HandleTmf() local
809 meshLocalIid.ConvertToExtAddress(extAddr); in HandleTmf()
818 if (child.GetExtAddress() != extAddr) in HandleTmf()
Dmle.cpp2425 Mac::ExtAddress extAddr; in HandleUdpReceive() local
2480 aMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleUdpReceive()
2481 neighbor = (command == kCommandChildIdResponse) ? mNeighborTable.FindParent(extAddr) in HandleUdpReceive()
2482 : mNeighborTable.FindNeighbor(extAddr); in HandleUdpReceive()
2491 neighbor = mNeighborTable.FindRxOnlyNeighborRouter(extAddr); in HandleUdpReceive()
2689 neighbor = Get<NeighborTable>().FindNeighbor(extAddr, Neighbor::kInStateAnyExceptInvalid); in HandleUdpReceive()
/openthread-3.7.0/examples/platforms/simulation/
Dradio.c316 otExtAddress extAddr; in hasFramePending() local
318 ReverseExtAddress(&extAddr, &src.mAddress.mExtAddress); in hasFramePending()
319 rval = utilsSoftSrcMatchExtFindEntry(&extAddr) >= 0; in hasFramePending()