Home
last modified time | relevance | path

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

12

/openthread-latest/src/core/api/
Dlink_metrics_api.cpp43 const otIp6Address *aDestination, in otLinkMetricsQuery() argument
51 …return AsCoreType(aInstance).Get<LinkMetrics::Initiator>().Query(AsCoreType(aDestination), aSeries… in otLinkMetricsQuery()
56 const otIp6Address *aDestination, in otLinkMetricsConfigForwardTrackingSeries() argument
67 return initiator.SendMgmtRequestForwardTrackingSeries(AsCoreType(aDestination), aSeriesId, in otLinkMetricsConfigForwardTrackingSeries()
72 const otIp6Address *aDestination, in otLinkMetricsConfigEnhAckProbing() argument
85 return initiator.SendMgmtRequestEnhAckProbing(AsCoreType(aDestination), MapEnum(aEnhAckFlags), in otLinkMetricsConfigEnhAckProbing()
90 const otIp6Address *aDestination, in otLinkMetricsSendLinkProbe() argument
96 return initiator.SendLinkProbe(AsCoreType(aDestination), aSeriesId, aLength); in otLinkMetricsSendLinkProbe()
Dnetdiag_api.cpp53 const otIp6Address *aDestination, in otThreadSendDiagnosticGet() argument
60 AsCoreType(aDestination), aTlvTypes, aCount, aCallback, aCallbackContext); in otThreadSendDiagnosticGet()
64 const otIp6Address *aDestination, in otThreadSendDiagnosticReset() argument
68 …sCoreType(aInstance).Get<NetworkDiagnostic::Client>().SendDiagnosticReset(AsCoreType(aDestination), in otThreadSendDiagnosticReset()
/openthread-latest/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.hpp82 const Ip6::Address &aDestination,
97 const Ip4::Address &aDestination,
120 const Ip6::Address &aDestination,
124 const Ip4::Address &aDestination,
Dip6.hpp269 const Address *SelectSourceAddress(const Address &aDestination) const;
380 Error RouteLookup(const Address &aSource, const Address &aDestination) const;
Dip6.cpp1271 const Address *Ip6::SelectSourceAddress(const Address &aDestination) const in SelectSourceAddress()
1273 uint8_t destScope = aDestination.GetScope(); in SelectSourceAddress()
1274 bool destIsRloc = Get<Mle::Mle>().IsRoutingLocator(aDestination); in SelectSourceAddress()
1290 matchLen = aDestination.PrefixMatch(addr.GetAddress()); in SelectSourceAddress()
1302 if (addr.GetAddress() == aDestination) in SelectSourceAddress()
1379 Error Ip6::RouteLookup(const Address &aSource, const Address &aDestination) const in RouteLookup()
1384 error = Get<NetworkData::Leader>().RouteLookup(aSource, aDestination, rloc); in RouteLookup()
1395 LogNote("Failed to find valid route for: %s", aDestination.ToString().AsCString()); in RouteLookup()
Dip4_types.hpp470 void SetDestination(const Address &aDestination) { mDestination = aDestination; } in SetDestination() argument
Dip6_headers.hpp292 void SetDestination(const Address &aDestination) { mDestination = aDestination; } in SetDestination() argument
/openthread-latest/tests/unit/
Dtest_lowpan.hpp119 const char *aDestination) in SetIpHeader() argument
126 IgnoreError(mIpHeader.GetDestination().FromString(aDestination)); in SetIpHeader()
144 const char *aDestination) in SetIpTunneledHeader() argument
151 IgnoreError(mIpTunneledHeader.GetDestination().FromString(aDestination)); in SetIpTunneledHeader()
174 void SetUDPHeader(uint16_t aSource, uint16_t aDestination, uint16_t aLength, uint16_t aChecksum) in SetUDPHeader() argument
177 mUdpHeader.SetDestinationPort(aDestination); in SetUDPHeader()
Dtest_checksum.cpp77 const Ip6::Address &aDestination, in CalculateChecksum() argument
106 data.mPseudoHeader.mDestination = aDestination; in CalculateChecksum()
116 const Ip4::Address &aDestination, in CalculateChecksum() argument
145 data.mPseudoHeader.mDestination = aDestination; in CalculateChecksum()
/openthread-latest/src/core/thread/
Dnetwork_diagnostic.hpp192 …void PrepareMessageInfoForDest(const Ip6::Address &aDestination, Tmf::MessageInfo &aMessageInfo) …
195 void SendAnswer(const Ip6::Address &aDestination, const Message &aRequest);
201 void PrepareAndSendAnswers(const Ip6::Address &aDestination, const Message &aRequest);
202 void SendNextAnswer(Coap::Message &aAnswer, const Ip6::Address &aDestination);
272 Error SendDiagnosticGet(const Ip6::Address &aDestination,
285 …Error SendDiagnosticReset(const Ip6::Address &aDestination, const uint8_t aTlvTypes[], uint8_t aCo…
310 const Ip6::Address &aDestination,
Dlink_metrics.hpp121 Error Query(const Ip6::Address &aDestination, uint8_t aSeriesId, const Metrics *aMetrics);
164 Error SendMgmtRequestForwardTrackingSeries(const Ip6::Address &aDestination,
194 Error SendMgmtRequestEnhAckProbing(const Ip6::Address &aDestination,
232 Error SendLinkProbe(const Ip6::Address &aDestination, uint8_t aSeriesId, uint8_t aLength);
246 Error FindNeighbor(const Ip6::Address &aDestination, Neighbor *&aNeighbor);
Dlink_metrics.cpp60 Error Initiator::Query(const Ip6::Address &aDestination, uint8_t aSeriesId, const Metrics *aMetrics) in Query() argument
66 SuccessOrExit(error = FindNeighbor(aDestination, neighbor)); in Query()
81 error = Get<Mle::Mle>().SendDataRequestForLinkMetricsReport(aDestination, info); in Query()
218 Error Initiator::SendMgmtRequestForwardTrackingSeries(const Ip6::Address &aDestination, in SendMgmtRequestForwardTrackingSeries() argument
228 SuccessOrExit(error = FindNeighbor(aDestination, neighbor)); in SendMgmtRequestForwardTrackingSeries()
243 error = Get<Mle::Mle>().SendLinkMetricsManagementRequest(aDestination, fwdProbingSubTlv); in SendMgmtRequestForwardTrackingSeries()
250 Error Initiator::SendMgmtRequestEnhAckProbing(const Ip6::Address &aDestination, in SendMgmtRequestEnhAckProbing() argument
259 SuccessOrExit(error = FindNeighbor(aDestination, neighbor)); in SendMgmtRequestEnhAckProbing()
276 error = Get<Mle::Mle>().SendLinkMetricsManagementRequest(aDestination, enhAckConfigSubTlv); in SendMgmtRequestEnhAckProbing()
336 Error Initiator::SendLinkProbe(const Ip6::Address &aDestination, uint8_t aSeriesId, uint8_t aLength) in SendLinkProbe() argument
[all …]
Dmle.hpp1032 Error SendTo(const Ip6::Address &aDestination);
1138 void ScheduleDataRequest(const Ip6::Address &aDestination, uint16_t aDelay);
1142 void ScheduleAdvertisement(const Ip6::Address &aDestination, uint16_t aDelay);
1146 void ScheduleDiscoveryResponse(const Ip6::Address &aDestination,
1169 const Ip6::Address &aDestination,
1174 bool HasMatchingSchedule(MessageType aMessageType, const Ip6::Address &aDestination) const;
1175 void RemoveMatchingSchedules(MessageType aMessageType, const Ip6::Address &aDestination);
1177 … bool Match(const Schedule &aSchedule, MessageType aMessageType, const Ip6::Address &aDestination);
1320 Error SendDataRequest(const Ip6::Address &aDestination);
1327 const Ip6::Address &aDestination);
[all …]
Dnetwork_diagnostic.cpp92 void Server::PrepareMessageInfoForDest(const Ip6::Address &aDestination, Tmf::MessageInfo &aMessage… in PrepareMessageInfoForDest() argument
94 if (aDestination.IsMulticast()) in PrepareMessageInfoForDest()
99 if (aDestination.IsLinkLocalUnicastOrMulticast()) in PrepareMessageInfoForDest()
108 aMessageInfo.SetPeerAddr(aDestination); in PrepareMessageInfoForDest()
420 void Server::SendAnswer(const Ip6::Address &aDestination, const Message &aRequest) in SendAnswer() argument
443 PrepareMessageInfoForDest(aDestination, messageInfo); in SendAnswer()
517 void Server::PrepareAndSendAnswers(const Ip6::Address &aDestination, const Message &aRequest) in PrepareAndSendAnswers() argument
565 SendNextAnswer(*info.mFirstAnswer, aDestination); in PrepareAndSendAnswers()
596 void Server::SendNextAnswer(Coap::Message &aAnswer, const Ip6::Address &aDestination) in SendNextAnswer() argument
607 PrepareMessageInfoForDest(aDestination, messageInfo); in SendNextAnswer()
[all …]
Dmle.cpp1819 Error Mle::SendDataRequest(const Ip6::Address &aDestination) in SendDataRequest() argument
1830 error = SendDataRequest(aDestination, kTlvs, mRequestRouteTlv ? 2 : 1); in SendDataRequest()
1847 …ror Mle::SendDataRequestForLinkMetricsReport(const Ip6::Address &aDestination, in SendDataRequestForLinkMetricsReport() argument
1852 return SendDataRequest(aDestination, kTlvs, sizeof(kTlvs), &aQueryInfo); in SendDataRequestForLinkMetricsReport()
1855 Error Mle::SendDataRequest(const Ip6::Address &aDestination, in SendDataRequest() argument
1860 Error Mle::SendDataRequest(const Ip6::Address &aDestination, const uint8_t *aTlvs, uint8_t aTlvsLen… in SendDataRequest()
1878 SuccessOrExit(error = message->SendTo(aDestination)); in SendDataRequest()
1879 Log(kMessageSend, kTypeDataRequest, aDestination); in SendDataRequest()
2062 const Ip6::Address &aDestination) in SendChildUpdateResponse() argument
2125 SuccessOrExit(error = message->SendTo(aDestination)); in SendChildUpdateResponse()
[all …]
Dnetwork_data_leader.cpp274 Error Leader::RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &… in RouteLookup() argument
286 if (ExternalRouteLookup(prefixTlv->GetDomainId(), aDestination, aRloc16) == kErrorNone) in RouteLookup()
308 error = ExternalRouteLookup(domainId, aDestination, aRloc16); in RouteLookup()
373 Error Leader::ExternalRouteLookup(uint8_t aDomainId, const Ip6::Address &aDestination, uint16_t &aR… in ExternalRouteLookup() argument
380 while ((prefixTlv = FindNextMatchingPrefixTlv(aDestination, prefixTlv)) != nullptr) in ExternalRouteLookup()
Dmle_router.hpp629 void SendAdvertisement(const Ip6::Address &aDestination);
640 void SendDataResponse(const Ip6::Address &aDestination,
643 …Error SendDiscoveryResponse(const Ip6::Address &aDestination, const DiscoveryResponseInfo &aInf…
Daddress_resolver.cpp721 const Ip6::Address *aDestination) in SendAddressError() argument
729 …message->Init(aDestination == nullptr ? Coap::kTypeNonConfirmable : Coap::kTypeConfirmable, Coap::… in SendAddressError()
736 if (aDestination == nullptr) in SendAddressError()
742 messageInfo.SetSockAddrToRlocPeerAddrTo(*aDestination); in SendAddressError()
895 const Ip6::Address &aDestination) in SendAddressQueryResponse() argument
913 messageInfo.SetSockAddrToRlocPeerAddrTo(aDestination); in SendAddressQueryResponse()
Daddress_resolver.hpp218 const Ip6::Address &aDestination);
229 const Ip6::Address *aDestination);
Dnetwork_data_leader.hpp151 …Error RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &aRloc16…
446 …Error ExternalRouteLookup(uint8_t aDomainId, const Ip6::Address &aDestination, uint16_t &aRloc16) …
/openthread-latest/include/openthread/
Dlink_metrics.h157 const otIp6Address *aDestination,
183 const otIp6Address *aDestination,
211 const otIp6Address *aDestination,
234 const otIp6Address *aDestination,
Dnetdiag.h285 const otIp6Address *aDestination,
305 const otIp6Address *aDestination,
/openthread-latest/src/core/border_router/
Dinfra_if.cpp84 Error InfraIf::Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const in Send()
88 … return otPlatInfraIfSendIcmp6Nd(mIfIndex, &aDestination, aPacket.GetBytes(), aPacket.GetLength()); in Send()
Dinfra_if.hpp150 Error Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const;

12