Home
last modified time | relevance | path

Searched refs:aDestination (Results 1 – 25 of 32) sorted by relevance

12

/openthread-3.6.0/src/core/api/
Dlink_metrics_api.cpp45 const otIp6Address *aDestination, in otLinkMetricsQuery() argument
53 …return AsCoreType(aInstance).Get<LinkMetrics::Initiator>().Query(AsCoreType(aDestination), aSeries… in otLinkMetricsQuery()
58 const otIp6Address *aDestination, in otLinkMetricsConfigForwardTrackingSeries() argument
69 return initiator.SendMgmtRequestForwardTrackingSeries(AsCoreType(aDestination), aSeriesId, in otLinkMetricsConfigForwardTrackingSeries()
74 const otIp6Address *aDestination, in otLinkMetricsConfigEnhAckProbing() argument
87 return initiator.SendMgmtRequestEnhAckProbing(AsCoreType(aDestination), MapEnum(aEnhAckFlags), in otLinkMetricsConfigEnhAckProbing()
92 const otIp6Address *aDestination, in otLinkMetricsSendLinkProbe() argument
98 return initiator.SendLinkProbe(AsCoreType(aDestination), aSeriesId, aLength); in otLinkMetricsSendLinkProbe()
Dnetdiag_api.cpp56 const otIp6Address *aDestination, in otThreadSendDiagnosticGet() argument
63 AsCoreType(aDestination), aTlvTypes, aCount, aCallback, aCallbackContext); in otThreadSendDiagnosticGet()
67 const otIp6Address *aDestination, in otThreadSendDiagnosticReset() argument
71 …sCoreType(aInstance).Get<NetworkDiagnostic::Client>().SendDiagnosticReset(AsCoreType(aDestination), in otThreadSendDiagnosticReset()
/openthread-3.6.0/src/core/net/
Dchecksum.cpp98 const Ip6::Address &aDestination, in Calculate() argument
108 AddData(aDestination.GetBytes(), sizeof(Ip6::Address)); in Calculate()
124 const Ip4::Address &aDestination, in Calculate() argument
136 AddData(aDestination.GetBytes(), sizeof(Ip4::Address)); in Calculate()
170 const Ip6::Address &aDestination, in UpdateMessageChecksum() argument
196 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
205 const Ip4::Address &aDestination, in UpdateMessageChecksum() argument
231 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
Dchecksum.hpp85 const Ip6::Address &aDestination,
101 const Ip4::Address &aDestination,
125 const Ip6::Address &aDestination,
129 const Ip4::Address &aDestination,
Dip6.hpp302 const Address *SelectSourceAddress(const Address &aDestination) const;
399 Error RouteLookup(const Address &aSource, const Address &aDestination) const;
Dip4_types.hpp506 void SetDestination(const Address &aDestination) { mDestination = aDestination; } in SetDestination() argument
Dip6_headers.hpp321 void SetDestination(const Address &aDestination) { mDestination = aDestination; } in SetDestination() argument
Dip6.cpp1302 const Address *Ip6::SelectSourceAddress(const Address &aDestination) const in SelectSourceAddress()
1304 uint8_t destScope = aDestination.GetScope(); in SelectSourceAddress()
1305 bool destIsRloc = Get<Mle::Mle>().IsRoutingLocator(aDestination); in SelectSourceAddress()
1320 matchLen = aDestination.PrefixMatch(addr.GetAddress()); in SelectSourceAddress()
1338 else if (addr.GetAddress() == aDestination) in SelectSourceAddress()
1434 Error Ip6::RouteLookup(const Address &aSource, const Address &aDestination) const in RouteLookup()
1439 error = Get<NetworkData::Leader>().RouteLookup(aSource, aDestination, rloc); in RouteLookup()
1450 LogNote("Failed to find valid route for: %s", aDestination.ToString().AsCString()); in RouteLookup()
/openthread-3.6.0/tests/unit/
Dtest_lowpan.hpp126 const char *aDestination) in SetIpHeader() argument
133 IgnoreError(mIpHeader.GetDestination().FromString(aDestination)); in SetIpHeader()
152 const char *aDestination) in SetIpTunneledHeader() argument
159 IgnoreError(mIpTunneledHeader.GetDestination().FromString(aDestination)); in SetIpTunneledHeader()
184 void SetUDPHeader(uint16_t aSource, uint16_t aDestination, uint16_t aLength, uint16_t aChecksum) in SetUDPHeader() argument
187 mUdpHeader.SetDestinationPort(aDestination); in SetUDPHeader()
Dtest_checksum.cpp75 const Ip6::Address &aDestination, in CalculateChecksum() argument
104 data.mPseudoHeader.mDestination = aDestination; in CalculateChecksum()
114 const Ip4::Address &aDestination, in CalculateChecksum() argument
143 data.mPseudoHeader.mDestination = aDestination; in CalculateChecksum()
/openthread-3.6.0/src/core/thread/
Dnetwork_diagnostic.hpp181 …void PrepareMessageInfoForDest(const Ip6::Address &aDestination, Tmf::MessageInfo &aMessageInfo) …
184 void SendAnswer(const Ip6::Address &aDestination, const Message &aRequest);
190 void PrepareAndSendAnswers(const Ip6::Address &aDestination, const Message &aRequest);
191 void SendNextAnswer(Coap::Message &aAnswer, const Ip6::Address &aDestination);
263 Error SendDiagnosticGet(const Ip6::Address &aDestination,
277 …Error SendDiagnosticReset(const Ip6::Address &aDestination, const uint8_t aTlvTypes[], uint8_t aCo…
304 const Ip6::Address &aDestination,
Dlink_metrics.hpp124 Error Query(const Ip6::Address &aDestination, uint8_t aSeriesId, const Metrics *aMetrics);
172 Error SendMgmtRequestForwardTrackingSeries(const Ip6::Address &aDestination,
204 Error SendMgmtRequestEnhAckProbing(const Ip6::Address &aDestination,
245 Error SendLinkProbe(const Ip6::Address &aDestination, uint8_t aSeriesId, uint8_t aLength);
260 Error FindNeighbor(const Ip6::Address &aDestination, Neighbor *&aNeighbor);
Dmle.hpp722 uint16_t GetNextHop(uint16_t aDestination) const;
1050 Error SendTo(const Ip6::Address &aDestination);
1051 Error SendAfterDelay(const Ip6::Address &aDestination, uint16_t aDelay);
1244 Error SendDataRequest(const Ip6::Address &aDestination);
1252 Error SendDataRequestAfterDelay(const Ip6::Address &aDestination, uint16_t aDelay);
1256 const Ip6::Address &aDestination);
1285 …void SendAnnounce(uint8_t aChannel, const Ip6::Address &aDestination, AnnounceMode aMode = k…
1301 …ayedMessage(Message::SubType aSubType, MessageType aMessageType, const Ip6::Address *aDestination);
1302 void RemoveDelayedDataRequestMessage(const Ip6::Address &aDestination);
1320 …Error SendLinkMetricsManagementResponse(const Ip6::Address &aDestination, LinkMetrics::Status aSta…
[all …]
Dlink_metrics.cpp69 Error Initiator::Query(const Ip6::Address &aDestination, uint8_t aSeriesId, const Metrics *aMetrics) in Query() argument
75 SuccessOrExit(error = FindNeighbor(aDestination, neighbor)); in Query()
90 error = Get<Mle::Mle>().SendDataRequestForLinkMetricsReport(aDestination, info); in Query()
228 Error Initiator::SendMgmtRequestForwardTrackingSeries(const Ip6::Address &aDestination, in SendMgmtRequestForwardTrackingSeries() argument
238 SuccessOrExit(error = FindNeighbor(aDestination, neighbor)); in SendMgmtRequestForwardTrackingSeries()
253 error = Get<Mle::Mle>().SendLinkMetricsManagementRequest(aDestination, fwdProbingSubTlv); in SendMgmtRequestForwardTrackingSeries()
260 Error Initiator::SendMgmtRequestEnhAckProbing(const Ip6::Address &aDestination, in SendMgmtRequestEnhAckProbing() argument
269 SuccessOrExit(error = FindNeighbor(aDestination, neighbor)); in SendMgmtRequestEnhAckProbing()
286 error = Get<Mle::Mle>().SendLinkMetricsManagementRequest(aDestination, enhAckConfigSubTlv); in SendMgmtRequestEnhAckProbing()
346 Error Initiator::SendLinkProbe(const Ip6::Address &aDestination, uint8_t aSeriesId, uint8_t aLength) in SendLinkProbe() argument
[all …]
Dnetwork_diagnostic.cpp101 void Server::PrepareMessageInfoForDest(const Ip6::Address &aDestination, Tmf::MessageInfo &aMessage… in PrepareMessageInfoForDest() argument
103 if (aDestination.IsMulticast()) in PrepareMessageInfoForDest()
108 if (aDestination.IsLinkLocal() || aDestination.IsLinkLocalMulticast()) in PrepareMessageInfoForDest()
117 aMessageInfo.SetPeerAddr(aDestination); in PrepareMessageInfoForDest()
416 void Server::SendAnswer(const Ip6::Address &aDestination, const Message &aRequest) in SendAnswer() argument
439 PrepareMessageInfoForDest(aDestination, messageInfo); in SendAnswer()
513 void Server::PrepareAndSendAnswers(const Ip6::Address &aDestination, const Message &aRequest) in PrepareAndSendAnswers() argument
563 SendNextAnswer(*info.mFirstAnswer, aDestination); in PrepareAndSendAnswers()
594 void Server::SendNextAnswer(Coap::Message &aAnswer, const Ip6::Address &aDestination) in SendNextAnswer() argument
605 PrepareMessageInfoForDest(aDestination, messageInfo); in SendNextAnswer()
[all …]
Dmle_router.hpp247 uint16_t GetNextHop(uint16_t aDestination) { return mRouterTable.GetNextHop(aDestination); } in GetNextHop() argument
680 void SendDataResponse(const Ip6::Address &aDestination,
684 …Error SendDiscoveryResponse(const Ip6::Address &aDestination, const Message &aDiscoverRequestMessa…
Dmle.cpp1666 void Mle::RemoveDelayedDataRequestMessage(const Ip6::Address &aDestination) in RemoveDelayedDataRequestMessage() argument
1668 RemoveDelayedMessage(Message::kSubTypeMleDataRequest, kTypeDataRequest, &aDestination); in RemoveDelayedDataRequestMessage()
1671 …layedMessage(Message::SubType aSubType, MessageType aMessageType, const Ip6::Address *aDestination) in RemoveDelayedMessage() argument
1680 ((aDestination == nullptr) || (metadata.mDestination == *aDestination))) in RemoveDelayedMessage()
1826 Error Mle::SendDataRequest(const Ip6::Address &aDestination) in SendDataRequest() argument
1828 return SendDataRequestAfterDelay(aDestination, /* aDelay */ 0); in SendDataRequest()
1831 Error Mle::SendDataRequestAfterDelay(const Ip6::Address &aDestination, uint16_t aDelay) in SendDataRequestAfterDelay() argument
1838 return SendDataRequest(aDestination, kTlvs, mRequestRouteTlv ? 2 : 1, aDelay); in SendDataRequestAfterDelay()
1842 …ror Mle::SendDataRequestForLinkMetricsReport(const Ip6::Address &aDestination, in SendDataRequestForLinkMetricsReport() argument
1847 return SendDataRequest(aDestination, kTlvs, sizeof(kTlvs), /* aDelay */ 0, &aQueryInfo); in SendDataRequestForLinkMetricsReport()
[all …]
Dnetwork_data_leader.cpp259 Error Leader::RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &… in RouteLookup() argument
271 if (ExternalRouteLookup(prefixTlv->GetDomainId(), aDestination, aRloc16) == kErrorNone) in RouteLookup()
333 Error Leader::ExternalRouteLookup(uint8_t aDomainId, const Ip6::Address &aDestination, uint16_t &aR… in ExternalRouteLookup() argument
340 while ((prefixTlv = FindNextMatchingPrefixTlv(aDestination, prefixTlv)) != nullptr) in ExternalRouteLookup()
Daddress_resolver.cpp723 const Ip6::Address *aDestination) in SendAddressError() argument
731 …message->Init(aDestination == nullptr ? Coap::kTypeNonConfirmable : Coap::kTypeConfirmable, Coap::… in SendAddressError()
738 if (aDestination == nullptr) in SendAddressError()
744 messageInfo.SetSockAddrToRlocPeerAddrTo(*aDestination); in SendAddressError()
897 const Ip6::Address &aDestination) in SendAddressQueryResponse() argument
915 messageInfo.SetSockAddrToRlocPeerAddrTo(aDestination); in SendAddressQueryResponse()
Daddress_resolver.hpp230 const Ip6::Address &aDestination);
242 const Ip6::Address *aDestination);
Dnetwork_data_leader.hpp162 …Error RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &aRloc16…
450 …Error ExternalRouteLookup(uint8_t aDomainId, const Ip6::Address &aDestination, uint16_t &aRloc16) …
/openthread-3.6.0/include/openthread/
Dlink_metrics.h166 const otIp6Address *aDestination,
193 const otIp6Address *aDestination,
222 const otIp6Address *aDestination,
246 const otIp6Address *aDestination,
Dnetdiag.h373 const otIp6Address *aDestination,
394 const otIp6Address *aDestination,
/openthread-3.6.0/src/core/border_router/
Dinfra_if.cpp89 Error InfraIf::Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const in Send()
93 … return otPlatInfraIfSendIcmp6Nd(mIfIndex, &aDestination, aPacket.GetBytes(), aPacket.GetLength()); in Send()
Dinfra_if.hpp150 Error Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const;

12