Home
last modified time | relevance | path

Searched refs:GetPeerAddr (Results 1 – 25 of 37) sorted by relevance

12

/openthread-3.5.0/src/core/thread/
Dtmf.cpp50 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()
Dmle_router.cpp669 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 …]
Dpanid_query_server.cpp72 mCommissioner = aMessageInfo.GetPeerAddr(); in HandleTmf()
Dmle.cpp1141 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 …]
Ddiscover_scanner.cpp308 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse()
322 … aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(AsCoreType(&result.mExtAddress)); in HandleDiscoveryResponse()
Dnetwork_diagnostic.cpp408 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()
Daddress_resolver.cpp670 … 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()
Denergy_scan_server.cpp100 mCommissioner = aMessageInfo.GetPeerAddr(); in HandleTmf()
/openthread-3.5.0/tests/unit/
Dtest_checksum.cpp207 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/
Dsocket.hpp116 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
Dudp6.cpp65 GetPeerName().GetAddress() == aMessageInfo.GetPeerAddr()); in Matches()
325 if (messageInfoLocal.GetPeerAddr().IsUnspecified()) in SendTo()
438 …mUdpForwarder.Invoke(&aMessage, aMessageInfo.mPeerPort, &aMessageInfo.GetPeerAddr(), aMessageInfo.… in SendDatagram()
Dip6.cpp422 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()
Dchecksum.cpp152 checksum.Calculate(aMessageInfo.GetPeerAddr(), aMessageInfo.GetSockAddr(), aIpProto, aMessage); in VerifyMessageChecksum()
Dicmp6.cpp207 replyMessageInfo.SetPeerAddr(aMessageInfo.GetPeerAddr()); in HandleEchoRequest()
Ddhcp6_client.cpp277 messageInfo.GetPeerAddr().SetToRealmLocalAllRoutersMulticast(); in Solicit()
279 …messageInfo.GetPeerAddr().SetToRoutingLocator(Get<Mle::MleRouter>().GetMeshLocalPrefix(), aRloc16); in Solicit()
Dsntp_client.cpp109 queryMetadata.mDestinationAddress = messageInfo->GetPeerAddr(); in Query()
/openthread-3.5.0/src/core/utils/
Dotns.cpp168 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()
Dping_sender.cpp207 reply.mSenderAddress = aMessageInfo.GetPeerAddr(); in HandleIcmpReceive()
219 …Get<Utils::Otns>().EmitPingReply(aMessageInfo.GetPeerAddr(), reply.mSize, timestamp, reply.mHopLim… in HandleIcmpReceive()
Dmesh_diag.cpp277 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/
Dmeshcop_leader.cpp76 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()
Ddtls.cpp181 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()
Djoiner_router.cpp146 SuccessOrExit(error = Tlv::Append<JoinerIidTlv>(*message, aMessageInfo.GetPeerAddr().GetIid())); in HandleUdpReceive()
191 messageInfo.GetPeerAddr().SetToLinkLocalAddress(joinerIid); in HandleTmf()
Dborder_agent.cpp325 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/
Dbackbone_tmf.cpp115 const Ip6::Address &src = aMessageInfo.GetPeerAddr(); in IsBackboneTmfMessage()
Dbbr_manager.cpp380 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()

12