Home
last modified time | relevance | path

Searched refs:Agent (Results 1 – 25 of 54) sorted by relevance

123

/openthread-3.7.0/src/core/thread/
Dtmf.cpp81 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 …]
Danycast_locator.cpp62 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()
Dpanid_query_server.cpp78 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()
Denergy_scan_server.cpp81 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()
Dthread_netif.cpp71 IgnoreError(Get<Tmf::Agent>().Start()); in Up()
103 IgnoreError(Get<Tmf::Agent>().Stop()); in Down()
Dtmf.hpp146 class Agent : public Coap::Coap class
155 explicit Agent(Instance &aInstance);
Ddua_manager.cpp87 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()
Dnetwork_diagnostic.cpp422 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 …]
Daddress_resolver.cpp622 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()
Dannounce_begin_server.hpp53 friend class Tmf::Agent;
Danycast_locator.hpp58 friend class Tmf::Agent;
Dpanid_query_server.hpp55 friend class Tmf::Agent;
Denergy_scan_server.hpp57 friend class Tmf::Agent;
Dnetwork_diagnostic.hpp74 friend class Tmf::Agent;
255 friend class Tmf::Agent;
/openthread-3.7.0/src/core/meshcop/
Dmeshcop_leader.cpp107 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()
Dpanid_query_client.cpp70 … 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()
Denergy_scan_client.cpp74 … 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()
Dannounce_begin_client.cpp68 … VerifyOrExit((message = Get<Tmf::Agent>().NewPriorityMessage()) != nullptr, error = kErrorNoBufs); in SendRequest()
83 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, messageInfo)); in SendRequest()
Djoiner_router.cpp146 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()
Dcommissioner.cpp631 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 …]
Dpanid_query_client.hpp57 friend class Tmf::Agent;
Denergy_scan_client.hpp58 friend class Tmf::Agent;
Ddataset_manager.cpp498 …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()
Ddataset_manager.hpp335 friend class Tmf::Agent;
425 friend class Tmf::Agent;
/openthread-3.7.0/src/core/net/
Dnd_agent.hpp48 class Agent : public InstanceLocator, private NonCopyable class
57 explicit Agent(Instance &aInstance) in Agent() function in ot::NeighborDiscovery::Agent

123