Home
last modified time | relevance | path

Searched refs:GetMessageId (Results 1 – 14 of 14) sorted by relevance

/openthread-3.5.0/src/core/net/
Ddns_dso.cpp688 …rExit(IsServer() && (header.GetType() == Dns::Header::kTypeQuery) && (header.GetMessageId() != 0)); in HandleReceive()
697 VerifyOrExit(header.GetMessageId() != 0); in HandleReceive()
821 if (aHeader.GetMessageId() == 0) in ProcessRequestOrUnidirectionalMessage()
829 MessageId messageId = aHeader.GetMessageId(); in ProcessRequestOrUnidirectionalMessage()
862 VerifyOrExit(aHeader.GetMessageId() != 0); in ProcessResponseMessage()
863 VerifyOrExit(mPendingRequests.Contains(aHeader.GetMessageId(), requestPrimaryTlvType)); in ProcessResponseMessage()
873 mPendingRequests.Remove(aHeader.GetMessageId()); in ProcessResponseMessage()
959 VerifyOrExit(aHeader.GetMessageId() != 0); in ProcessKeepAliveMessage()
963 IgnoreError(SendKeepAliveMessage(kResponseMessage, aHeader.GetMessageId())); in ProcessKeepAliveMessage()
972 VerifyOrExit(aHeader.GetMessageId() == 0); in ProcessKeepAliveMessage()
[all …]
Ddns_client.cpp1108 } while ((header.GetMessageId() == 0) || (FindQueryById(header.GetMessageId()) != nullptr)); in SendQuery()
1110 aInfo.mMessageId = header.GetMessageId(); in SendQuery()
1378 aQuery = FindQueryById(header.GetMessageId()); in ParseResponse()
Dsrp_server.cpp737 if (aMessageMetadata.mDnsHeader.GetMessageId() == update.GetDnsHeader().GetMessageId() && in FindOutstandingUpdate()
762 … LogInfo("Drop duplicated SRP update request: MessageId=%u", aMetadata.mDnsHeader.GetMessageId()); in ProcessDnsUpdate()
1433 header.SetMessageId(aHeader.GetMessageId()); in SendResponse()
1476 header.SetMessageId(aHeader.GetMessageId()); in SendResponse()
Dsrp_client.cpp849 } while (header.GetMessageId() == mUpdateMessageId); in PrepareUpdateMessage()
851 mUpdateMessageId = header.GetMessageId(); in PrepareUpdateMessage()
1524 VerifyOrExit(header.GetMessageId() == mUpdateMessageId, error = kErrorDrop); in ProcessResponse()
Ddns_types.hpp95 uint16_t GetMessageId(void) const { return HostSwap16(mMessageId); } in GetMessageId() function in ot::Dns::Header
Ddnssd_server.cpp241 mHeader.SetMessageId(aRequest.mHeader.GetMessageId()); in AllocateAndInitFrom()
/openthread-3.5.0/src/core/utils/
Dotns.cpp167 …EmitStatus("coap=send,%d,%d,%d,%s,%s,%d", aMessage.GetMessageId(), aMessage.GetType(), aMessage.Ge… in EmitCoapSend()
183 …EmitStatus("coap=recv,%d,%d,%d,%s,%s,%d", aMessage.GetMessageId(), aMessage.GetType(), aMessage.Ge… in EmitCoapReceive()
199 …EmitStatus("coap=send_error,%d,%d,%d,%s,%s,%d,%s", aMessage.GetMessageId(), aMessage.GetType(), aM… in EmitCoapSendFailure()
/openthread-3.5.0/src/core/api/
Dcoap_api.cpp62 response.SetMessageId(request.GetMessageId()); in otCoapMessageInitResponse()
148 …apMessageGetMessageId(const otMessage *aMessage) { return AsCoapMessage(aMessage).GetMessageId(); } in otCoapMessageGetMessageId()
/openthread-3.5.0/src/core/coap/
Dcoap.cpp418 message->SetMessageId(aRequest.GetMessageId()); in SendEmptyMessage()
440 message->SetMessageId(aRequest.GetMessageId()); in SendHeaderResponse()
820 response->SetMessageId(aMessage.GetMessageId()); in ProcessBlock1Request()
882 response->SetMessageId(aMessage.GetMessageId()); in ProcessBlock2Request()
1023 if (aResponse.GetMessageId() == message.GetMessageId()) in FindRelatedRequest()
1507 if (message.GetMessageId() == aRequest.GetMessageId()) in FindMatchedResponse()
Dcoap_message.hpp318 uint16_t GetMessageId(void) const { return HostSwap16(GetHelpData().mHeader.mMessageId); } in GetMessageId() function in ot::Coap::Message
Dcoap_message.cpp396 SetMessageId(aRequest.GetMessageId()); in SetDefaultResponseHeader()
/openthread-3.5.0/src/core/meshcop/
Dborder_agent.hpp164 uint16_t GetMessageId(void) const { return mMessageId; } in GetMessageId() function in ot::MeshCoP::BorderAgent::ForwardContext
Dborder_agent.cpp66 mMessageId = aMessage.GetMessageId(); in Init()
147 message->SetMessageId(aRequest.GetMessageId()); in SendErrorMessage()
215 …LogWarn("Commissioner request[%u] failed: %s", aForwardContext.GetMessageId(), ErrorToString(error… in HandleCoapResponse()
/openthread-3.5.0/tests/unit/
Dtest_dns.cpp938 messageId = header.GetMessageId(); in TestHeaderAndResourceRecords()
1027 VerifyOrQuit(header.GetMessageId() == messageId); in TestHeaderAndResourceRecords()