Searched refs:GetShort (Results 1 – 13 of 13) sorted by relevance
/openthread-latest/src/core/thread/ |
D | mesh_forwarder_ftd.cpp | 380 if (mMacAddrs.mDestination.GetShort() != mMeshDest) in UpdateMeshRoute() 451 if (mMacAddrs.mDestination.GetShort() != mMeshDest) in UpdateIp6RouteFtd() 473 …child = Get<ChildTable>().FindChild(aMacAddrs.mSource.GetShort(), Child::kInStateAnyExceptInvalid); in SendIcmpErrorIfDstUnreach() 481 error = CheckReachability(aMacAddrs.mDestination.GetShort(), ip6Headers.GetIp6Header()); in SendIcmpErrorIfDstUnreach() 485 SendDestinationUnreachable(aMacAddrs.mSource.GetShort(), ip6Headers); in SendIcmpErrorIfDstUnreach() 510 error = CheckReachability(aRxInfo.GetDstAddr().GetShort(), aRxInfo.mIp6Headers.GetIp6Header()); in CheckReachability() 514 SendDestinationUnreachable(aRxInfo.GetSrcAddr().GetShort(), aRxInfo.mIp6Headers); in CheckReachability() 588 if (Get<Mle::Mle>().HasRloc16(aRxInfo.GetDstAddr().GetShort()) || in HandleMesh() 589 Get<ChildTable>().HasMinimalChild(aRxInfo.GetDstAddr().GetShort())) in HandleMesh() 609 ResolveRoutingLoops(neighborMacSource.GetShort(), aRxInfo.GetDstAddr().GetShort()); in HandleMesh() [all …]
|
D | neighbor.hpp | 150 … aMacAddress.IsShort() ? aMacAddress.GetShort() : Mac::kShortAddrInvalid, in AddressMatcher()
|
D | lowpan.cpp | 71 aIid.SetToLocator(aMacAddr.GetShort()); in ComputeIid()
|
/openthread-latest/src/core/mac/ |
D | mac_types.cpp | 108 ret = (GetShort() == aOther.GetShort()); in operator ==() 138 string.Append("0x%04x", GetShort()); in ToString()
|
D | mac_types.hpp | 289 ShortAddress GetShort(void) const { return mShared.mShortAddress; } in GetShort() function in ot::Mac::Address 362 …bool IsBroadcast(void) const { return ((mType == kTypeShort) && (GetShort() == kShortAddrBroadcast… in IsBroadcast() 369 …bool IsShortAddrInvalid(void) const { return ((mType == kTypeShort) && (GetShort() == kShortAddrIn… in IsShortAddrInvalid()
|
D | sub_mac_csl_receiver.cpp | 269 VerifyOrExit((dst.GetType() == Address::kTypeShort && dst.GetShort() == GetShortAddress()) || in LogReceived()
|
D | mac.cpp | 1877 SuccessOrExit(error = FilterDestShortAddress(dstaddr.GetShort())); in HandleReceivedFrame() 1907 LogDebg("Received frame from short address 0x%04x", srcaddr.GetShort()); in HandleReceivedFrame()
|
/openthread-latest/examples/platforms/utils/ |
D | mac_frame.cpp | 64 … VerifyOrExit(dst.GetShort() == Mac::kShortAddrBroadcast || dst.GetShort() == aShortAddress || in otMacFrameDoesAddrMatchAny() 65 … (aAltShortAddress != Mac::kShortAddrInvalid && dst.GetShort() == aAltShortAddress), in otMacFrameDoesAddrMatchAny() 119 aOutAddress->mAddress.mShortAddress = aInAddress.GetShort(); in GetOtMacAddress()
|
/openthread-latest/tests/nexus/platform/ |
D | nexus_radio.cpp | 278 VerifyOrExit(aAddress.IsBroadcast() || aAddress.GetShort() == mShortAddress); in Matches() 309 hasPending = mSrcMatchShortEntries.Contains(aAddress.GetShort()); in HasFramePendingFor()
|
/openthread-latest/src/core/common/ |
D | frame_builder.cpp | 93 error = AppendLittleEndianUint16(aMacAddress.GetShort()); in AppendMacAddress()
|
/openthread-latest/src/core/utils/ |
D | otns.cpp | 139 … EmitStatus("transmit=%d,%04x,%d,%04x", channel, frameControlField, sequence, dst.GetShort()); in EmitTransmit()
|
D | history_tracker.cpp | 120 entry->mNeighborRloc16 = aMacAddress.IsShort() ? aMacAddress.GetShort() : kInvalidRloc16; in RecordMessage()
|
/openthread-latest/tests/unit/ |
D | test_mac_frame.cpp | 67 VerifyOrExit(aFirst.GetShort() == aSecond.GetShort()); in CompareAddresses() 138 VerifyOrQuit(addr.GetShort() == kShortAddr); in TestMacAddress()
|