/openthread-3.5.0/src/core/thread/ |
D | tmf.cpp | 50 return Get<Mle::MleRouter>().GetLeaderAloc(GetPeerAddr()); in SetSockAddrToRlocPeerAddrToLeaderAloc() 56 return Get<Mle::MleRouter>().GetLeaderAddress(GetPeerAddr()); in SetSockAddrToRlocPeerAddrToLeaderRloc() 62 GetPeerAddr().SetToRealmLocalAllRoutersMulticast(); in SetSockAddrToRlocPeerAddrToRealmLocalAllRoutersMulticast() 69 GetPeerAddr().GetIid().SetLocator(aRloc16); in SetSockAddrToRlocPeerAddrTo() 199 …return static_cast<Agent *>(aContext)->IsTmfMessage(aMessageInfo.GetPeerAddr(), aMessageInfo.GetSo… in Filter()
|
D | mle_router.cpp | 669 Log(kMessageReceive, kTypeLinkRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleLinkRequest() 713 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleLinkRequest() 835 SuccessOrExit(error = message->SendAfterDelay(aMessageInfo.GetPeerAddr(), in SendLinkAccept() 839 aMessageInfo.GetPeerAddr()); in SendLinkAccept() 843 SuccessOrExit(error = message->SendTo(aMessageInfo.GetPeerAddr())); in SendLinkAccept() 846 aMessageInfo.GetPeerAddr()); in SendLinkAccept() 887 …eceive, aRequest ? kTypeLinkAcceptAndRequest : kTypeLinkAccept, aRxInfo.mMessageInfo.GetPeerAddr(), in HandleLinkAccept() 976 IgnoreError(SendDataRequest(aRxInfo.mMessageInfo.GetPeerAddr())); in HandleLinkAccept() 999 IgnoreError(SendDataRequest(aRxInfo.mMessageInfo.GetPeerAddr())); in HandleLinkAccept() 1419 Log(kMessageReceive, kTypeParentRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleParentRequest() [all …]
|
D | panid_query_server.cpp | 72 mCommissioner = aMessageInfo.GetPeerAddr(); in HandleTmf()
|
D | mle.cpp | 1141 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(aNeighbor.GetExtAddress()); in InitNeighbor() 2381 const Ip6::Address *receiverAddress = &aMessageInfo.GetPeerAddr(); in ProcessMessageSecurity() 2391 senderAddress = &aMessageInfo.GetPeerAddr(); in ProcessMessageSecurity() 2507 aMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleUdpReceive() 2787 Log(kMessageReceive, kTypeAdvertisement, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleAdvertisement() 2831 IgnoreError(SendDataRequestAfterDelay(aRxInfo.mMessageInfo.GetPeerAddr(), delay)); in HandleAdvertisement() 2844 Log(kMessageReceive, kTypeDataResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDataResponse() 2856 aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDataResponse() 3042 IgnoreError(SendDataRequestAfterDelay(aRxInfo.mMessageInfo.GetPeerAddr(), delay)); in HandleLeaderData() 3146 Log(kMessageReceive, kTypeParentResponse, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleParentResponse() [all …]
|
D | discover_scanner.cpp | 308 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse() 322 … aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(AsCoreType(&result.mExtAddress)); in HandleDiscoveryResponse()
|
D | network_diagnostic.cpp | 408 aMessageInfo.GetPeerAddr().ToString().AsCString()); in HandleTmf() 417 SendAnswer(aMessageInfo.GetPeerAddr(), aMessage); in HandleTmf() 419 PrepareAndSendAnswers(aMessageInfo.GetPeerAddr(), aMessage); in HandleTmf() 662 SendNextAnswer(aNextAnswer, aMessageInfo->GetPeerAddr()); in HandleAnswerResponse() 796 aMessageInfo.GetPeerAddr().ToString().AsCString()); in HandleTmf() 818 aMessageInfo.GetPeerAddr().ToString().AsCString()); in HandleTmf() 960 aMessageInfo.GetPeerAddr().ToString().AsCString()); in HandleTmf()
|
D | address_resolver.cpp | 670 … aMessageInfo.GetPeerAddr().GetIid().GetLocator(), target.ToString().AsCString(), rloc16); in HandleTmf() 844 aMessageInfo.GetPeerAddr().GetIid().GetLocator(), target.ToString().AsCString()); in HandleTmf() 849 aMessageInfo.GetPeerAddr()); in HandleTmf() 863 …ssQueryResponse(target, child.GetMeshLocalIid(), &lastTransactionTime, aMessageInfo.GetPeerAddr()); in HandleTmf() 871 uint16_t srcRloc16 = aMessageInfo.GetPeerAddr().GetIid().GetLocator(); in HandleTmf()
|
D | energy_scan_server.cpp | 100 mCommissioner = aMessageInfo.GetPeerAddr(); in HandleTmf()
|
/openthread-3.5.0/tests/unit/ |
D | test_checksum.cpp | 207 SuccessOrQuit(messageInfo.GetPeerAddr().FromString(kDestAddress)); in TestUdpMessageChecksum() 212 …UpdateMessageChecksum(*message, messageInfo.GetSockAddr(), messageInfo.GetPeerAddr(), Ip6::kProtoU… in TestUdpMessageChecksum() 219 …VerifyOrQuit(CalculateChecksum(messageInfo.GetSockAddr(), messageInfo.GetPeerAddr(), Ip6::kProtoUd… in TestUdpMessageChecksum() 275 SuccessOrQuit(messageInfo.GetPeerAddr().FromString(kDestAddress)); in TestIcmp6MessageChecksum() 280 … Checksum::UpdateMessageChecksum(*message, messageInfo.GetSockAddr(), messageInfo.GetPeerAddr(), in TestIcmp6MessageChecksum() 288 …VerifyOrQuit(CalculateChecksum(messageInfo.GetSockAddr(), messageInfo.GetPeerAddr(), Ip6::kProtoIc… in TestIcmp6MessageChecksum()
|
/openthread-3.5.0/src/core/net/ |
D | socket.hpp | 116 Address &GetPeerAddr(void) { return AsCoreType(&mPeerAddr); } in GetPeerAddr() function in ot::Ip6::MessageInfo 124 const Address &GetPeerAddr(void) const { return AsCoreType(&mPeerAddr); } in GetPeerAddr() function in ot::Ip6::MessageInfo
|
D | udp6.cpp | 65 GetPeerName().GetAddress() == aMessageInfo.GetPeerAddr()); in Matches() 325 if (messageInfoLocal.GetPeerAddr().IsUnspecified()) in SendTo() 438 …mUdpForwarder.Invoke(&aMessage, aMessageInfo.mPeerPort, &aMessageInfo.GetPeerAddr(), aMessageInfo.… in SendDatagram()
|
D | ip6.cpp | 422 Get<Tmf::Agent>().IsTmfMessage(aMessageInfo.GetSockAddr(), aMessageInfo.GetPeerAddr(), in SendDatagram() 449 const Address *source = SelectSourceAddress(aMessageInfo.GetPeerAddr()); in SendDatagram() 459 header.SetDestination(aMessageInfo.GetPeerAddr()); in SendDatagram() 461 if (aMessageInfo.GetPeerAddr().IsRealmLocalMulticast()) in SendDatagram() 470 if (aMessageInfo.GetPeerAddr().IsMulticastLargerThanRealmLocal()) in SendDatagram() 1313 source = SelectSourceAddress(aMessageInfo.GetPeerAddr()); in SelectSourceAddress()
|
D | checksum.cpp | 152 checksum.Calculate(aMessageInfo.GetPeerAddr(), aMessageInfo.GetSockAddr(), aIpProto, aMessage); in VerifyMessageChecksum()
|
D | icmp6.cpp | 207 replyMessageInfo.SetPeerAddr(aMessageInfo.GetPeerAddr()); in HandleEchoRequest()
|
D | dhcp6_client.cpp | 277 messageInfo.GetPeerAddr().SetToRealmLocalAllRoutersMulticast(); in Solicit() 279 …messageInfo.GetPeerAddr().SetToRoutingLocator(Get<Mle::MleRouter>().GetMeshLocalPrefix(), aRloc16); in Solicit()
|
D | sntp_client.cpp | 109 queryMetadata.mDestinationAddress = messageInfo->GetPeerAddr(); in Query()
|
/openthread-3.5.0/src/core/utils/ |
D | otns.cpp | 168 aMessageInfo.GetPeerAddr().ToString().AsCString(), aMessageInfo.GetPeerPort()); in EmitCoapSend() 184 aMessageInfo.GetPeerAddr().ToString().AsCString(), aMessageInfo.GetPeerPort()); in EmitCoapReceive() 200 … uriPath, aMessageInfo.GetPeerAddr().ToString().AsCString(), aMessageInfo.GetPeerPort(), in EmitCoapSendFailure()
|
D | ping_sender.cpp | 207 reply.mSenderAddress = aMessageInfo.GetPeerAddr(); in HandleIcmpReceive() 219 …Get<Utils::Otns>().EmitPingReply(aMessageInfo.GetPeerAddr(), reply.mSize, timestamp, reply.mHopLim… in HandleIcmpReceive()
|
D | mesh_diag.cpp | 277 VerifyOrExit(Get<Mle::Mle>().IsRoutingLocator(aMessageInfo.GetPeerAddr())); in ProcessMessage() 278 VerifyOrExit(aMessageInfo.GetPeerAddr().GetIid().GetLocator() == aSenderRloc16); in ProcessMessage()
|
/openthread-3.5.0/src/core/meshcop/ |
D | meshcop_leader.cpp | 76 VerifyOrExit(Get<Mle::MleRouter>().IsRoutingLocator(aMessageInfo.GetPeerAddr())); in HandleTmf() 89 … data.mBorderAgentLocator.SetBorderAgentLocator(aMessageInfo.GetPeerAddr().GetIid().GetLocator()); in HandleTmf() 173 uint16_t rloc = aMessageInfo.GetPeerAddr().GetIid().GetLocator(); in HandleTmf()
|
D | dtls.cpp | 181 mMessageInfo.SetPeerAddr(aMessageInfo.GetPeerAddr()); in HandleUdpReceive() 193 VerifyOrExit((mMessageInfo.GetPeerAddr() == aMessageInfo.GetPeerAddr()) && in HandleUdpReceive() 201 …IgnoreError(SetClientId(mMessageInfo.GetPeerAddr().mFields.m8, sizeof(mMessageInfo.GetPeerAddr().m… in HandleUdpReceive()
|
D | joiner_router.cpp | 146 SuccessOrExit(error = Tlv::Append<JoinerIidTlv>(*message, aMessageInfo.GetPeerAddr().GetIid())); in HandleUdpReceive() 191 messageInfo.GetPeerAddr().SetToLinkLocalAddress(joinerIid); in HandleTmf()
|
D | border_agent.cpp | 325 SuccessOrExit(error = Tlv::Find<Ip6AddressTlv>(aMessage, messageInfo.GetPeerAddr())); in HandleTmf() 330 LogInfo("Proxy transmit sent to %s", messageInfo.GetPeerAddr().ToString().AsCString()); in HandleTmf() 370 SuccessOrExit(error = Tlv::Append<Ip6AddressTlv>(*message, aMessageInfo.GetPeerAddr())); in HandleUdpReceive()
|
/openthread-3.5.0/src/core/backbone_router/ |
D | backbone_tmf.cpp | 115 const Ip6::Address &src = aMessageInfo.GetPeerAddr(); in IsBackboneTmfMessage()
|
D | bbr_manager.cpp | 380 VerifyOrExit(aMessageInfo.GetPeerAddr().GetIid().IsRoutingLocator(), error = kErrorDrop); in HandleDuaRegistration() 408 …switch (mNdProxyTable.Register(target.GetIid(), meshLocalIid, aMessageInfo.GetPeerAddr().GetIid().… in HandleDuaRegistration() 566 …LogInfo("Received BB.qry from %s for %s (rloc16=%04x)", aMessageInfo.GetPeerAddr().ToString().AsCS… in HandleTmf() 637 return SendBackboneAnswer(aQueryMessageInfo.GetPeerAddr(), aDua, aNdProxy.GetMeshLocalIid(), in SendBackboneAnswer()
|