Home
last modified time | relevance | path

Searched refs:GetShort (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/src/core/thread/
Dmesh_forwarder_ftd.cpp380 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 …]
Dneighbor.hpp150 … aMacAddress.IsShort() ? aMacAddress.GetShort() : Mac::kShortAddrInvalid, in AddressMatcher()
Dlowpan.cpp71 aIid.SetToLocator(aMacAddr.GetShort()); in ComputeIid()
/openthread-latest/src/core/mac/
Dmac_types.cpp108 ret = (GetShort() == aOther.GetShort()); in operator ==()
138 string.Append("0x%04x", GetShort()); in ToString()
Dmac_types.hpp289 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()
Dsub_mac_csl_receiver.cpp269 VerifyOrExit((dst.GetType() == Address::kTypeShort && dst.GetShort() == GetShortAddress()) || in LogReceived()
Dmac.cpp1877 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/
Dmac_frame.cpp64 … 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/
Dnexus_radio.cpp278 VerifyOrExit(aAddress.IsBroadcast() || aAddress.GetShort() == mShortAddress); in Matches()
309 hasPending = mSrcMatchShortEntries.Contains(aAddress.GetShort()); in HasFramePendingFor()
/openthread-latest/src/core/common/
Dframe_builder.cpp93 error = AppendLittleEndianUint16(aMacAddress.GetShort()); in AppendMacAddress()
/openthread-latest/src/core/utils/
Dotns.cpp139 … EmitStatus("transmit=%d,%04x,%d,%04x", channel, frameControlField, sequence, dst.GetShort()); in EmitTransmit()
Dhistory_tracker.cpp120 entry->mNeighborRloc16 = aMacAddress.IsShort() ? aMacAddress.GetShort() : kInvalidRloc16; in RecordMessage()
/openthread-latest/tests/unit/
Dtest_mac_frame.cpp67 VerifyOrExit(aFirst.GetShort() == aSecond.GetShort()); in CompareAddresses()
138 VerifyOrQuit(addr.GetShort() == kShortAddr); in TestMacAddress()