Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/coap/
Dcoap.hpp327 …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 …]
Dcoap.cpp142 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 …]
Dcoap_message.cpp392 Error Message::SetDefaultResponseHeader(const Message &aRequest) in SetDefaultResponseHeader() argument
396 SetMessageId(aRequest.GetMessageId()); in SetDefaultResponseHeader()
398 return SetTokenFromMessage(aRequest); in SetDefaultResponseHeader()
Dcoap_message.hpp622 Error SetDefaultResponseHeader(const Message &aRequest);
/openthread-3.6.0/src/core/net/
Ddnssd_server.cpp158 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 …]
Ddnssd_server.hpp343 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/
Dmeshcop_leader.hpp127 void SendPetitionResponse(const Coap::Message &aRequest,
131 void SendKeepAliveResponse(const Coap::Message &aRequest,
Dmeshcop_leader.cpp100 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()
Ddataset_manager.hpp354 void SendGetResponse(const Coap::Message &aRequest,
360 …void SendSetResponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aMessageInfo, StateTlv…
Dborder_agent.cpp134 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()
Djoiner.hpp230 …void SendJoinerEntrustResponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aRequestInf…
Dborder_agent.hpp179 … void SendErrorMessage(const Coap::Message &aRequest, bool aSeparate, Error aError);
Ddataset_manager_ftd.cpp260 void DatasetManager::SendSetResponse(const Coap::Message &aRequest, in SendSetResponse() argument
267 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendSetResponse()
Djoiner.cpp549 void Joiner::SendJoinerEntrustResponse(const Coap::Message &aRequest, const Ip6::MessageInfo &aRequ… in SendJoinerEntrustResponse() argument
555 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendJoinerEntrustResponse()
Dcommissioner.hpp452 void SendJoinFinalizeResponse(const Coap::Message &aRequest, StateTlv::State aState);
Ddataset_manager.cpp386 void DatasetManager::SendGetResponse(const Coap::Message &aRequest, in SendGetResponse() argument
397 message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendGetResponse()
Dcommissioner.cpp1036 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/
Dnetwork_diagnostic.hpp180 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);
Dnetwork_diagnostic.cpp232 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 …]
Dmle_router.hpp642 Error HandleLinkAccept(RxInfo &aRxInfo, bool aRequest);
663 void SendAddressSolicitResponse(const Coap::Message &aRequest,
Dnetwork_data_leader.hpp615 void SendCommissioningSetResponse(const Coap::Message &aRequest,
Dnetwork_data_leader_ftd.cpp258 void Leader::SendCommissioningSetResponse(const Coap::Message &aRequest, in SendCommissioningSetResponse() argument
262 Coap::Message *message = Get<Tmf::Agent>().NewPriorityResponseMessage(aRequest); in SendCommissioningSetResponse()
Dmle_router.cpp861 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/
Dcoap_api.cpp56 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/
Dcoap.h509 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType…