/openthread-3.6.0/src/core/coap/ |
D | coap.hpp | 327 …Error GetMatchedResponseCopy(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo, Messag… 349 …const Message *FindMatchedResponse(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo) … 543 Message *NewPriorityResponseMessage(const Message &aRequest); 557 Message *NewResponseMessage(const Message &aRequest); 670 Error SendReset(Message &aRequest, const Ip6::MessageInfo &aMessageInfo); 684 …Error SendHeaderResponse(Message::Code aCode, const Message &aRequest, const Ip6::MessageInfo &aMe… 697 Error SendAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo); 711 Error SendEmptyAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo, Code aCode); 724 Error SendEmptyAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo); 736 Error SendNotFound(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo); [all …]
|
D | coap.cpp | 142 Message *CoapBase::NewPriorityResponseMessage(const Message &aRequest) in NewPriorityResponseMessage() argument 144 return InitResponse(NewPriorityMessage(), aRequest); in NewPriorityResponseMessage() 147 …age *CoapBase::NewResponseMessage(const Message &aRequest) { return InitResponse(NewMessage(), aRe… in NewResponseMessage() argument 383 Error CoapBase::SendReset(Message &aRequest, const Ip6::MessageInfo &aMessageInfo) in SendReset() argument 385 return SendEmptyMessage(kTypeReset, aRequest, aMessageInfo); in SendReset() 388 Error CoapBase::SendAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo) in SendAck() argument 390 return SendEmptyMessage(kTypeAck, aRequest, aMessageInfo); in SendAck() 393 Error CoapBase::SendEmptyAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo, Code aC… in SendEmptyAck() argument 395 …return (aRequest.IsConfirmable() ? SendHeaderResponse(aCode, aRequest, aMessageInfo) : kErrorInval… in SendEmptyAck() 398 Error CoapBase::SendEmptyAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo) in SendEmptyAck() argument [all …]
|
D | coap_message.cpp | 392 Error Message::SetDefaultResponseHeader(const Message &aRequest) in SetDefaultResponseHeader() argument 396 SetMessageId(aRequest.GetMessageId()); in SetDefaultResponseHeader() 398 return SetTokenFromMessage(aRequest); in SetDefaultResponseHeader()
|
D | coap_message.hpp | 622 Error SetDefaultResponseHeader(const Message &aRequest);
|
/openthread-3.6.0/src/core/net/ |
D | dnssd_server.cpp | 158 void Server::ProcessQuery(Request &aRequest) in ProcessQuery() argument 164 if (mEnableUpstreamQuery && ShouldForwardToUpstream(aRequest)) in ProcessQuery() 166 Error error = ResolveByUpstream(aRequest); in ProcessQuery() 182 SuccessOrExit(response.AllocateAndInitFrom(aRequest)); in ProcessQuery() 190 SuccessOrExit(rcode = aRequest.ParseQuestions(mTestMode)); in ProcessQuery() 191 SuccessOrExit(rcode = response.AddQuestionsFrom(aRequest)); in ProcessQuery() 214 ResolveByProxy(response, *aRequest.mMessageInfo); in ProcessQuery() 222 response.Send(*aRequest.mMessageInfo); in ProcessQuery() 233 Error Server::Response::AllocateAndInitFrom(const Request &aRequest) in AllocateAndInitFrom() argument 241 mHeader.SetMessageId(aRequest.mHeader.GetMessageId()); in AllocateAndInitFrom() [all …]
|
D | dnssd_server.hpp | 343 Error AllocateAndInitFrom(const Request &aRequest); 346 ResponseCode AddQuestionsFrom(const Request &aRequest); 403 void ProcessQuery(Request &aRequest); 413 static bool ShouldForwardToUpstream(const Request &aRequest); 416 Error ResolveByUpstream(const Request &aRequest);
|
/openthread-3.6.0/src/core/meshcop/ |
D | meshcop_leader.hpp | 127 void SendPetitionResponse(const Coap::Message &aRequest, 131 void SendKeepAliveResponse(const Coap::Message &aRequest,
|
D | meshcop_leader.cpp | 100 void Leader::SendPetitionResponse(const Coap::Message &aRequest, in SendPetitionResponse() argument 107 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendPetitionResponse() 177 void Leader::SendKeepAliveResponse(const Coap::Message &aRequest, in SendKeepAliveResponse() argument 184 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendKeepAliveResponse()
|
D | dataset_manager.hpp | 354 void SendGetResponse(const Coap::Message &aRequest, 360 …void SendSetResponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aMessageInfo, StateTlv…
|
D | border_agent.cpp | 134 void BorderAgent::SendErrorMessage(const Coap::Message &aRequest, bool aSeparate, Error aError) in SendErrorMessage() argument 141 if (aRequest.IsNonConfirmable() || aSeparate) in SendErrorMessage() 152 message->SetMessageId(aRequest.GetMessageId()); in SendErrorMessage() 155 SuccessOrExit(error = message->SetTokenFromMessage(aRequest)); in SendErrorMessage()
|
D | joiner.hpp | 230 …void SendJoinerEntrustResponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aRequestInf…
|
D | border_agent.hpp | 179 … void SendErrorMessage(const Coap::Message &aRequest, bool aSeparate, Error aError);
|
D | dataset_manager_ftd.cpp | 260 void DatasetManager::SendSetResponse(const Coap::Message &aRequest, in SendSetResponse() argument 267 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendSetResponse()
|
D | joiner.cpp | 549 void Joiner::SendJoinerEntrustResponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aRequ… in SendJoinerEntrustResponse() argument 555 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendJoinerEntrustResponse()
|
D | commissioner.hpp | 452 void SendJoinFinalizeResponse(const Coap::Message &aRequest, StateTlv::State aState);
|
D | dataset_manager.cpp | 386 void DatasetManager::SendGetResponse(const Coap::Message &aRequest, in SendGetResponse() argument 397 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendGetResponse()
|
D | commissioner.cpp | 1036 void Commissioner::SendJoinFinalizeResponse(const Coap::Message &aRequest, StateTlv::State aState) in SendJoinFinalizeResponse() argument 1042 message = Get<Tmf::SecureAgent>().NewPriorityResponseMessage(aRequest); in SendJoinFinalizeResponse()
|
/openthread-3.6.0/src/core/thread/ |
D | network_diagnostic.hpp | 180 Error AppendRequestedTlvs(const Message &aRequest, Message &aResponse); 184 void SendAnswer(const Ip6::Address &aDestination, const Message &aRequest); 190 void PrepareAndSendAnswers(const Ip6::Address &aDestination, const Message &aRequest);
|
D | network_diagnostic.cpp | 232 Error Server::AppendRequestedTlvs(const Message &aRequest, Message &aResponse) in AppendRequestedTlvs() argument 238 …SuccessOrExit(error = Tlv::FindTlvValueStartEndOffsets(aRequest, Tlv::kTypeList, offset, endOffset… in AppendRequestedTlvs() 244 SuccessOrExit(error = aRequest.Read(offset, tlvType)); in AppendRequestedTlvs() 416 void Server::SendAnswer(const Ip6::Address &aDestination, const Message &aRequest) in SendAnswer() argument 427 IgnoreError(answer->SetPriority(aRequest.GetPriority())); in SendAnswer() 429 if (Tlv::Find<QueryIdTlv>(aRequest, queryId) == kErrorNone) in SendAnswer() 434 SuccessOrExit(error = AppendRequestedTlvs(aRequest, *answer)); in SendAnswer() 513 void Server::PrepareAndSendAnswers(const Ip6::Address &aDestination, const Message &aRequest) in PrepareAndSendAnswers() argument 523 if (Tlv::Find<QueryIdTlv>(aRequest, info.mQueryId) == kErrorNone) in PrepareAndSendAnswers() 528 info.mPriority = aRequest.GetPriority(); in PrepareAndSendAnswers() [all …]
|
D | mle_router.hpp | 642 Error HandleLinkAccept(RxInfo &aRxInfo, bool aRequest); 663 void SendAddressSolicitResponse(const Coap::Message &aRequest,
|
D | network_data_leader.hpp | 615 void SendCommissioningSetResponse(const Coap::Message &aRequest,
|
D | network_data_leader_ftd.cpp | 258 void Leader::SendCommissioningSetResponse(const Coap::Message &aRequest, in SendCommissioningSetResponse() argument 262 Coap::Message *message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendCommissioningSetResponse()
|
D | mle_router.cpp | 861 Error MleRouter::HandleLinkAccept(RxInfo &aRxInfo, bool aRequest) in HandleLinkAccept() argument 880 …Log(kMessageReceive, aRequest ? kTypeLinkAcceptAndRequest : kTypeLinkAccept, aRxInfo.mMessageInfo.… in HandleLinkAccept() 1047 if (aRequest) in HandleLinkAccept() 3630 void MleRouter::SendAddressSolicitResponse(const Coap::Message &aRequest, in SendAddressSolicitResponse() argument 3635 Coap::Message *message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendAddressSolicitResponse()
|
/openthread-3.6.0/src/core/api/ |
D | coap_api.cpp | 56 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType… in otCoapMessageInitResponse() argument 59 const Coap::Message &request = AsCoapMessage(aRequest); in otCoapMessageInitResponse()
|
/openthread-3.6.0/include/openthread/ |
D | coap.h | 509 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType…
|