/openthread-3.7.0/src/core/thread/ |
D | tmf.cpp | 81 Agent::Agent(Instance &aInstance) in Agent() function in ot::Tmf::Agent 88 Error Agent::Start(void) { return Coap::Start(kUdpPort, Ip6::kNetifThread); } in Start() 90 template <> void Agent::HandleTmf<kUriRelayRx>(Message &aMessage, const Ip6::MessageInfo &aMessageI… in HandleTmf() 103 bool Agent::HandleResource(CoapBase &aCoapBase, in HandleResource() 108 return static_cast<Agent &>(aCoapBase).HandleResource(aUriPath, aMessage, aMessageInfo); in HandleResource() 111 bool Agent::HandleResource(const char *aUriPath, Message &aMessage, const Ip6::MessageInfo &aMessag… in HandleResource() 158 Case(kUriRelayRx, Agent); in HandleResource() 196 Error Agent::Filter(const Message &aMessage, const Ip6::MessageInfo &aMessageInfo, void *aContext) in Filter() 200 …return static_cast<Agent *>(aContext)->IsTmfMessage(aMessageInfo.GetPeerAddr(), aMessageInfo.GetSo… in Filter() 206 bool Agent::IsTmfMessage(const Ip6::Address &aSourceAddress, const Ip6::Address &aDestAddress, uint… in IsTmfMessage() [all …]
|
D | anycast_locator.cpp | 62 message = Get<Tmf::Agent>().NewConfirmablePostMessage(kUriAnycastLocate); in Locate() 67 IgnoreError(Get<Tmf::Agent>().AbortTransaction(HandleResponse, this)); in Locate() 72 … SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, HandleResponse, this)); in Locate() 124 message = Get<Tmf::Agent>().NewResponseMessage(aMessage); in HandleTmf() 130 SuccessOrExit(Get<Tmf::Agent>().SendMessage(*message, aMessageInfo)); in HandleTmf()
|
D | panid_query_server.cpp | 78 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf() 112 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriPanIdConflict); in SendConflict() 121 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendConflict()
|
D | energy_scan_server.cpp | 81 mReportMessage = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriEnergyReport); in HandleTmf() 101 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf() 195 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*mReportMessage, messageInfo)); in SendReport()
|
D | thread_netif.cpp | 71 IgnoreError(Get<Tmf::Agent>().Start()); in Up() 103 IgnoreError(Get<Tmf::Agent>().Stop()); in Down()
|
D | tmf.hpp | 146 class Agent : public Coap::Coap class 155 explicit Agent(Instance &aInstance);
|
D | dua_manager.cpp | 87 IgnoreError(Get<Tmf::Agent>().AbortTransaction(&DuaManager::HandleDuaResponse, this)); in HandleDomainPrefixUpdate() 241 IgnoreError(Get<Tmf::Agent>().AbortTransaction(&DuaManager::HandleDuaResponse, this)); in RemoveDomainUnicastAddress() 467 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriDuaRegistrationRequest); in PerformNextRegistration() 525 …SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, &DuaManager::HandleDuaR… in PerformNextRegistration() 602 …if (aMessage.IsConfirmable() && Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo) == kErrorNo… in HandleTmf() 731 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriDuaRegistrationNotify); in SendAddressNotification() 739 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendAddressNotification() 765 IgnoreError(Get<Tmf::Agent>().AbortTransaction(&DuaManager::HandleDuaResponse, this)); in HandleChildDuaAddressEvent()
|
D | network_diagnostic.cpp | 422 IgnoreError(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf() 445 answer = Get<Tmf::Agent>().NewConfirmablePostMessage(kUriDiagnosticGetAnswer); in SendAnswer() 462 error = Get<Tmf::Agent>().SendMessage(*answer, messageInfo); in SendAnswer() 480 aAnswer = Get<Tmf::Agent>().NewConfirmablePostMessage(kUriDiagnosticGetAnswer); in AllocateAnswer() 631 error = Get<Tmf::Agent>().SendMessage(aAnswer, messageInfo, HandleAnswerResponse, nextAnswer); in SendNextAnswer() 807 response = Get<Tmf::Agent>().NewResponseMessage(aMessage); in HandleTmf() 812 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*response, aMessageInfo)); in HandleTmf() 854 IgnoreError(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf() 912 message = Get<Tmf::Agent>().NewNonConfirmablePostMessage(aUri); in SendCommand() 917 message = Get<Tmf::Agent>().NewConfirmablePostMessage(aUri); in SendCommand() [all …]
|
D | address_resolver.cpp | 622 message = Get<Tmf::Agent>().NewPriorityNonConfirmablePostMessage(kUriAddressQuery); in SendAddressQuery() 629 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendAddressQuery() 710 if (Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo) == kErrorNone) in HandleTmf() 729 VerifyOrExit((message = Get<Tmf::Agent>().NewMessage()) != nullptr, error = kErrorNoBufs); in SendAddressError() 747 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendAddressError() 779 if (Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo) == kErrorNone) in HandleTmf() 903 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriAddressNotify); in SendAddressQueryResponse() 917 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendAddressQueryResponse()
|
D | announce_begin_server.hpp | 53 friend class Tmf::Agent;
|
D | anycast_locator.hpp | 58 friend class Tmf::Agent;
|
D | panid_query_server.hpp | 55 friend class Tmf::Agent;
|
D | energy_scan_server.hpp | 57 friend class Tmf::Agent;
|
D | network_diagnostic.hpp | 74 friend class Tmf::Agent; 255 friend class Tmf::Agent;
|
/openthread-3.7.0/src/core/meshcop/ |
D | meshcop_leader.cpp | 107 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendPetitionResponse() 122 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, aMessageInfo)); in SendPetitionResponse() 184 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendKeepAliveResponse() 189 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, aMessageInfo)); in SendKeepAliveResponse() 204 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriDatasetChanged); in SendDatasetChanged() 208 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendDatasetChanged()
|
D | panid_query_client.cpp | 70 … VerifyOrExit((message = Get<Tmf::Agent>().NewPriorityMessage()) != nullptr, error = kErrorNoBufs); in SendQuery() 83 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendQuery() 110 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf()
|
D | energy_scan_client.cpp | 74 … VerifyOrExit((message = Get<Tmf::Agent>().NewPriorityMessage()) != nullptr, error = kErrorNoBufs); in SendQuery() 89 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendQuery() 116 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf()
|
D | announce_begin_client.cpp | 68 … VerifyOrExit((message = Get<Tmf::Agent>().NewPriorityMessage()) != nullptr, error = kErrorNoBufs); in SendRequest() 83 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendRequest()
|
D | joiner_router.cpp | 146 message = Get<Tmf::Agent>().NewPriorityNonConfirmablePostMessage(kUriRelayRx); in HandleUdpReceive() 160 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in HandleUdpReceive() 278 … IgnoreError(Get<Tmf::Agent>().AbortTransaction(&JoinerRouter::HandleJoinerEntrustResponse, this)); in SendJoinerEntrust() 280 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, aMessageInfo, in SendJoinerEntrust() 302 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriJoinerEntrust); in PrepareJoinerEntrustMessage()
|
D | commissioner.cpp | 631 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriCommissionerGet); in SendMgmtCommissionerGetRequest() 643 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, in SendMgmtCommissionerGetRequest() 683 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriCommissionerSet); in SendMgmtCommissionerSetRequest() 714 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, in SendMgmtCommissionerSetRequest() 761 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriLeaderPetition); in SendPetition() 768 …error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, Commissioner::HandleLeaderPetitionRes… in SendPetition() 845 message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(kUriLeaderKeepAlive); in SendKeepAlive() 854 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, in SendKeepAlive() 985 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, aMessageInfo)); in HandleTmf() 1096 message = Get<Tmf::Agent>().NewPriorityNonConfirmablePostMessage(kUriRelayTx); in SendRelayTransmit() [all …]
|
D | panid_query_client.hpp | 57 friend class Tmf::Agent;
|
D | energy_scan_client.hpp | 58 friend class Tmf::Agent;
|
D | dataset_manager.cpp | 498 …message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(IsActiveDataset() ? kUriActiveSet : … in SendSetRequest() 504 …SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo, HandleMgmtSetResponse, … in SendSetRequest() 586 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendGetResponse() 609 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, aMessageInfo)); in SendGetResponse() 719 …message = Get<Tmf::Agent>().NewPriorityConfirmablePostMessage(IsActiveDataset() ? kUriActiveGet : … in SendGetRequest() 735 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendGetRequest()
|
D | dataset_manager.hpp | 335 friend class Tmf::Agent; 425 friend class Tmf::Agent;
|
/openthread-3.7.0/src/core/net/ |
D | nd_agent.hpp | 48 class Agent : public InstanceLocator, private NonCopyable class 57 explicit Agent(Instance &aInstance) in Agent() function in ot::NeighborDiscovery::Agent
|