Home
last modified time | relevance | path

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

12

/openthread-3.6.0/src/core/thread/
Dlowpan.cpp257 FindContextToCompressAddress(ip6Header.GetDestination(), dstContext); in Compress()
365 if (ip6Header.GetDestination().IsMulticast()) in Compress()
367 SuccessOrExit(error = CompressMulticast(ip6Header.GetDestination(), hcCtl, aFrameBuilder)); in Compress()
369 else if (ip6Header.GetDestination().IsLinkLocal()) in Compress()
371 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress()
377 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress()
382 SuccessOrExit(error = aFrameBuilder.Append(ip6Header.GetDestination())); in Compress()
740 SuccessOrExit(aFrameData.Read(aIp6Header.GetDestination())); in DecompressBaseHeader()
744 SuccessOrExit(aFrameData.Read(aIp6Header.GetDestination().GetIid())); in DecompressBaseHeader()
748 aIp6Header.GetDestination().mFields.m8[11] = 0xff; in DecompressBaseHeader()
[all …]
Dmesh_forwarder_ftd.cpp63 const Ip6::Address &destination = ip6Header.GetDestination(); in SendMessage()
117 Child *child = Get<ChildSupervisor>().GetDestination(message); in SendMessage()
288 if (&aChild == Get<NeighborTable>().FindNeighbor(ip6header.GetDestination())) in RemoveMessages()
302 if (&aChild == Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination())) in RemoveMessages()
332 if (!(ip6Header.GetDestination().IsMulticast())) in RemoveDataResponseMessages()
377 nextHop = Get<Mle::MleRouter>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute()
385 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in UpdateMeshRoute()
397 mMeshDest = meshHeader.GetDestination(); in UpdateMeshRoute()
513 else if (mle.IsRoutingLocator(aIp6Header.GetDestination())) in UpdateIp6RouteFtd()
515 uint16_t rloc16 = aIp6Header.GetDestination().GetIid().GetLocator(); in UpdateIp6RouteFtd()
[all …]
Dchild_supervision.hpp126 Child *GetDestination(const Message &aMessage) const;
Dindirect_sender.cpp373 if (ip6Header.GetDestination().IsLinkLocal()) in PrepareDataFrame()
375 … Get<MeshForwarder>().GetMacDestinationAddress(ip6Header.GetDestination(), macAddrs.mDestination); in PrepareDataFrame()
Dchild_supervision.cpp54 Child *ChildSupervisor::GetDestination(const Message &aMessage) const in GetDestination() function in ot::ChildSupervisor
Dmesh_forwarder.cpp673 … if (ip6Header.GetDestination().IsLinkLocal() || ip6Header.GetDestination().IsLinkLocalMulticast()) in UpdateIp6Route()
675 GetMacDestinationAddress(ip6Header.GetDestination(), mMacAddrs.mDestination); in UpdateIp6Route()
685 if (ip6Header.GetDestination().IsMulticast()) in UpdateIp6Route()
700 else if (ip6Header.GetDestination().IsLinkLocal()) in UpdateIp6Route()
702 GetMacDestinationAddress(ip6Header.GetDestination(), mMacAddrs.mDestination); in UpdateIp6Route()
Dlowpan.hpp414 uint16_t GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Lowpan::MeshHeader
/openthread-3.6.0/src/core/net/
Dip6.cpp210 if (aHeader.GetDestination().IsMulticastLargerThanRealmLocal() && in PrepareMulticastToLargerThanRealmLocal()
211 Get<ChildTable>().HasSleepyChildWithAddress(aHeader.GetDestination())) in PrepareMulticastToLargerThanRealmLocal()
230 tunnelHeader.GetDestination().SetToRealmLocalAllMplForwarders(); in PrepareMulticastToLargerThanRealmLocal()
233 source = SelectSourceAddress(tunnelHeader.GetDestination()); in PrepareMulticastToLargerThanRealmLocal()
249 VerifyOrExit(aHeader.GetDestination().IsMulticast() && in InsertMplOption()
250 aHeader.GetDestination().GetScope() >= Address::kRealmLocalScope); in InsertMplOption()
252 if (aHeader.GetDestination().IsRealmLocalMulticast()) in InsertMplOption()
467 … Checksum::UpdateMessageChecksum(aMessage, header.GetSource(), header.GetDestination(), aIpProto); in SendDatagram()
644 …uffer.GetSource() == header.GetSource() && headerBuffer.GetDestination() == header.GetDestination(… in HandleFragment()
767 messageInfo.SetSockAddr(header.GetDestination()); in SendIcmpError()
[all …]
Dnat64_translator.cpp135 if (!ip6Header.GetDestination().MatchesPrefix(mNat64Prefix)) in TranslateFromIp6()
153 …ip4Header.GetDestination().ExtractFromIp6Address(mNat64Prefix.mLength, ip6Header.GetDestination()); in TranslateFromIp6()
180 Checksum::UpdateMessageChecksum(aMessage, ip4Header.GetSource(), ip4Header.GetDestination(), in TranslateFromIp6()
233 mapping = FindMapping(ip4Header.GetDestination()); in TranslateToIp6()
275 Checksum::UpdateMessageChecksum(aMessage, ip6Header.GetSource(), ip6Header.GetDestination(), in TranslateToIp6()
Dip4_types.hpp490 Address &GetDestination(void) { return mDestination; } in GetDestination() function in ot::Ip4::Header
498 const Address &GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Ip4::Header
Dip6_headers.hpp305 Address &GetDestination(void) { return mDestination; } in GetDestination() function in ot::Ip6::Header
313 const Address &GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Ip6::Header
Dip6.hpp547 const Address &GetDestinationAddress(void) const { return mIp6Header.GetDestination(); } in GetDestinationAddress()
/openthread-3.6.0/src/core/utils/
Dping_sender.hpp120 Ip6::Address &GetDestination(void) { return AsCoreType(&mDestination); } in GetDestination() function in ot::Utils::PingSender::Config
128 const Ip6::Address &GetDestination(void) const { return AsCoreType(&mDestination); } in GetDestination() function in ot::Utils::PingSender::Config
Dping_sender.cpp132 messageInfo.SetPeerAddr(mConfig.GetDestination()); in SendPing()
152 …Get<Utils::Otns>().EmitPingRequest(mConfig.GetDestination(), mConfig.mSize, now.GetValue(), mConfi… in SendPing()
/openthread-3.6.0/tests/unit/
Dtest_ip4_header.cpp75 VerifyOrQuit(header.GetDestination().mFields.m32 == 0); in TestIp4Header()
88 VerifyOrQuit(header.GetDestination() == destination); in TestIp4Header()
Dtest_lowpan.hpp133 IgnoreError(mIpHeader.GetDestination().FromString(aDestination)); in SetIpHeader()
159 IgnoreError(mIpTunneledHeader.GetDestination().FromString(aDestination)); in SetIpTunneledHeader()
Dtest_ip6_header.cpp80 VerifyOrQuit(header.GetDestination().IsUnspecified()); in TestIp6Header()
94 VerifyOrQuit(header.GetDestination() == destination); in TestIp6Header()
Dtest_lowpan.cpp1876 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after Init()"); in TestLowpanMeshHeader()
1893 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader()
1904 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after Init()"); in TestLowpanMeshHeader()
1921 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader()
1936 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader()
Dtest_mac_frame.cpp381 VerifyOrQuit(panId == panIds.GetDestination()); in TestMacHeader()
/openthread-3.6.0/src/core/radio/
Dtrel_packet.cpp102 string.Append(" dst:%s", GetDestination().ToString().AsCString()); in ToString()
Dtrel_packet.hpp207 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.cpp351 VerifyOrExit(aPacket.GetHeader().GetDestination() == Get<Mac::Mac>().GetExtAddress()); in ProcessReceivedPacket()
/openthread-3.6.0/src/core/mac/
Dmac_types.hpp469 PanId GetDestination(void) const { return mDestination; } in GetDestination() function in ot::Mac::PanIds
Dmac_frame.cpp123 (aPanIds.GetSource() == aPanIds.GetDestination())) in InitMacHeader()
187 else if (aPanIds.GetSource() != aPanIds.GetDestination()) // Rows 9-14. in InitMacHeader()
203 IgnoreError(builder.AppendLittleEndianUint16(aPanIds.GetDestination())); in InitMacHeader()

12