Home
last modified time | relevance | path

Searched refs:GetDestination (Results 1 – 25 of 27) sorted by relevance

12

/openthread-latest/src/core/net/
Dip6.cpp195 if (aHeader.GetDestination().IsMulticastLargerThanRealmLocal() && in PrepareMulticastToLargerThanRealmLocal()
196 Get<ChildTable>().HasSleepyChildWithAddress(aHeader.GetDestination())) in PrepareMulticastToLargerThanRealmLocal()
215 tunnelHeader.GetDestination().SetToRealmLocalAllMplForwarders(); in PrepareMulticastToLargerThanRealmLocal()
218 source = SelectSourceAddress(tunnelHeader.GetDestination()); in PrepareMulticastToLargerThanRealmLocal()
234 if (aHeader.GetDestination().IsMulticastLargerThanRealmLocal()) in InsertMplOption()
240 VerifyOrExit(aHeader.GetDestination().IsRealmLocalMulticast()); in InsertMplOption()
458 … Checksum::UpdateMessageChecksum(aMessage, header.GetSource(), header.GetDestination(), aIpProto); in SendDatagram()
648 …uffer.GetSource() == header.GetSource() && headerBuffer.GetDestination() == header.GetDestination(… in HandleFragment()
770 messageInfo.SetSockAddr(header.GetDestination()); in SendIcmpError()
877 messageInfo.SetSockAddr(aIp6Header.GetDestination()); in Receive()
[all …]
Dnat64_translator.cpp131 if (!ip6Header.GetDestination().MatchesPrefix(mNat64Prefix)) in TranslateFromIp6()
149 …ip4Header.GetDestination().ExtractFromIp6Address(mNat64Prefix.mLength, ip6Header.GetDestination()); in TranslateFromIp6()
176 Checksum::UpdateMessageChecksum(aMessage, ip4Header.GetSource(), ip4Header.GetDestination(), in TranslateFromIp6()
229 mapping = FindMapping(ip4Header.GetDestination()); in TranslateToIp6()
271 Checksum::UpdateMessageChecksum(aMessage, ip6Header.GetSource(), ip6Header.GetDestination(), in TranslateToIp6()
Dip4_types.hpp456 Address &GetDestination(void) { return mDestination; } in GetDestination() function in ot::Ip4::Header
463 const Address &GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Ip4::Header
Dip6_headers.hpp278 Address &GetDestination(void) { return mDestination; } in GetDestination() function in ot::Ip6::Header
285 const Address &GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Ip6::Header
Dip6.hpp512 const Address &GetDestinationAddress(void) const { return mIp6Header.GetDestination(); } in GetDestinationAddress()
/openthread-latest/src/core/thread/
Dlowpan.cpp248 FindContextToCompressAddress(ip6Header.GetDestination(), dstContext); in Compress()
356 if (ip6Header.GetDestination().IsMulticast()) in Compress()
358 SuccessOrExit(error = CompressMulticast(ip6Header.GetDestination(), hcCtl, aFrameBuilder)); in Compress()
360 else if (ip6Header.GetDestination().IsLinkLocalUnicast()) in Compress()
362 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress()
368 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress()
373 SuccessOrExit(error = aFrameBuilder.Append(ip6Header.GetDestination())); in Compress()
732 SuccessOrExit(aFrameData.Read(aIp6Header.GetDestination())); in DecompressBaseHeader()
736 SuccessOrExit(aFrameData.Read(aIp6Header.GetDestination().GetIid())); in DecompressBaseHeader()
740 aIp6Header.GetDestination().mFields.m8[11] = 0xff; in DecompressBaseHeader()
[all …]
Dmesh_forwarder_ftd.cpp58 const Ip6::Address &destination = ip6Header.GetDestination(); in SendMessage()
112 Child *child = Get<ChildSupervisor>().GetDestination(message); in SendMessage()
282 neighbor = Get<NeighborTable>().FindNeighbor(ip6header.GetDestination()); in RemoveMessagesForChild()
289 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in RemoveMessagesForChild()
356 nextHop = Get<RouterTable>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute()
364 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in UpdateMeshRoute()
376 mMeshDest = meshHeader.GetDestination(); in UpdateMeshRoute()
400 else if (mle.IsRoutingLocator(aIp6Header.GetDestination())) in UpdateIp6RouteFtd()
402 uint16_t rloc16 = aIp6Header.GetDestination().GetIid().GetLocator(); in UpdateIp6RouteFtd()
406 else if (mle.IsAnycastLocator(aIp6Header.GetDestination())) in UpdateIp6RouteFtd()
[all …]
Dchild_supervision.hpp111 Child *GetDestination(const Message &aMessage) const;
Dindirect_sender.cpp372 if (ip6Header.GetDestination().IsLinkLocalUnicast()) in PrepareDataFrame()
374 … Get<MeshForwarder>().GetMacDestinationAddress(ip6Header.GetDestination(), macAddrs.mDestination); in PrepareDataFrame()
Dchild_supervision.cpp49 Child *ChildSupervisor::GetDestination(const Message &aMessage) const in GetDestination() function in ot::ChildSupervisor
Dmesh_forwarder.cpp635 if (ip6Header.GetDestination().IsLinkLocalUnicastOrMulticast()) in UpdateIp6Route()
637 GetMacDestinationAddress(ip6Header.GetDestination(), mMacAddrs.mDestination); in UpdateIp6Route()
647 if (ip6Header.GetDestination().IsMulticast()) in UpdateIp6Route()
662 else if (ip6Header.GetDestination().IsLinkLocalUnicast()) in UpdateIp6Route()
664 GetMacDestinationAddress(ip6Header.GetDestination(), mMacAddrs.mDestination); in UpdateIp6Route()
Dlowpan.hpp392 uint16_t GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Lowpan::MeshHeader
/openthread-latest/src/core/utils/
Dping_sender.hpp113 Ip6::Address &GetDestination(void) { return AsCoreType(&mDestination); } in GetDestination() function in ot::Utils::PingSender::Config
120 const Ip6::Address &GetDestination(void) const { return AsCoreType(&mDestination); } in GetDestination() function in ot::Utils::PingSender::Config
Dping_sender.cpp128 messageInfo.SetPeerAddr(mConfig.GetDestination()); in SendPing()
148 …Get<Utils::Otns>().EmitPingRequest(mConfig.GetDestination(), mConfig.mSize, now.GetValue(), mConfi… in SendPing()
/openthread-latest/tests/unit/
Dtest_ip4_header.cpp75 VerifyOrQuit(header.GetDestination().mFields.m32 == 0); in TestIp4Header()
88 VerifyOrQuit(header.GetDestination() == destination); in TestIp4Header()
Dtest_ip6_header.cpp80 VerifyOrQuit(header.GetDestination().IsUnspecified()); in TestIp6Header()
94 VerifyOrQuit(header.GetDestination() == destination); in TestIp6Header()
Dtest_lowpan.hpp126 IgnoreError(mIpHeader.GetDestination().FromString(aDestination)); in SetIpHeader()
151 IgnoreError(mIpTunneledHeader.GetDestination().FromString(aDestination)); in SetIpTunneledHeader()
Dtest_lowpan.cpp1878 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after Init()"); in TestLowpanMeshHeader()
1895 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader()
1906 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after Init()"); in TestLowpanMeshHeader()
1923 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader()
1938 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader()
/openthread-latest/src/core/radio/
Dtrel_packet.cpp99 string.Append(" dst:%s", GetDestination().ToString().AsCString()); in ToString()
Dtrel_packet.hpp188 const Mac::ExtAddress &GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Trel::Header
Dtrel_interface.cpp383 peerEntry = mPeerTable.FindMatching(aPacket.GetHeader().GetDestination()); in Send()
Dtrel_link.cpp350 VerifyOrExit(aPacket.GetHeader().GetDestination() == Get<Mac::Mac>().GetExtAddress()); in ProcessReceivedPacket()
/openthread-latest/src/core/mac/
Dmac_types.hpp446 PanId GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Mac::PanIds
Dmac_frame.cpp89 (mPanIds.GetSource() == mPanIds.GetDestination())) in PrepareHeadersIn()
162 else if (mPanIds.GetSource() != mPanIds.GetDestination()) // Rows 9-14. in PrepareHeadersIn()
196 IgnoreError(builder.AppendLittleEndianUint16(mPanIds.GetDestination())); in PrepareHeadersIn()
/openthread-latest/src/core/border_router/
Drouting_manager.cpp820 VerifyOrExit(!aIp6Header.GetDestination().IsMulticast()); in CheckReachabilityToSendIcmpError()
845 VerifyOrExit(!mRxRaTracker.IsAddressOnLink(aIp6Header.GetDestination())); in CheckReachabilityToSendIcmpError()
846 VerifyOrExit(!mRxRaTracker.IsAddressReachableThroughExplicitRoute(aIp6Header.GetDestination())); in CheckReachabilityToSendIcmpError()
847 VerifyOrExit(!Get<NetworkData::Leader>().IsNat64(aIp6Header.GetDestination())); in CheckReachabilityToSendIcmpError()
851 LogInfo(" dst: %s", aIp6Header.GetDestination().ToString().AsCString()); in CheckReachabilityToSendIcmpError()

12