Lines Matching refs:aResponseMessage

1310 void Client::ProcessResponse(const Message &aResponseMessage)  in ProcessResponse()  argument
1315 SuccessOrExit(ParseResponse(aResponseMessage, query, responseError)); in ProcessResponse()
1318 if (ReplaceWithIp4Query(*query, aResponseMessage) == kErrorNone) in ProcessResponse()
1343 ResolveHostAddressIfNeeded(*query, aResponseMessage); in ProcessResponse()
1348 SaveQueryResponse(*query, aResponseMessage); in ProcessResponse()
1352 PrepareResponseAndFinalize(FindMainQuery(*query), aResponseMessage, nullptr); in ProcessResponse()
1358 Error Client::ParseResponse(const Message &aResponseMessage, Query *&aQuery, Error &aResponseError) in ParseResponse() argument
1361 uint16_t offset = aResponseMessage.GetOffset(); in ParseResponse()
1366 SuccessOrExit(error = aResponseMessage.Read(offset, header)); in ParseResponse()
1386 SuccessOrExit(error = Name::CompareName(aResponseMessage, offset, queryName)); in ParseResponse()
1398 …SuccessOrExit(error = ResourceRecord::ParseRecords(aResponseMessage, offset, header.GetAnswerCount… in ParseResponse()
1399 …SuccessOrExit(error = ResourceRecord::ParseRecords(aResponseMessage, offset, header.GetAuthorityRe… in ParseResponse()
1400 …SuccessOrExit(error = ResourceRecord::ParseRecords(aResponseMessage, offset, header.GetAdditionalR… in ParseResponse()
1446 void Client::SaveQueryResponse(Query &aQuery, const Message &aResponseMessage) in SaveQueryResponse() argument
1454 info.mSavedResponse = aResponseMessage.Clone(); in SaveQueryResponse()
1462 …uery *Client::PopulateResponse(Response &aResponse, Query &aQuery, const Message &aResponseMessage) in PopulateResponse() argument
1474 …aResponse.PopulateFrom((info.mSavedResponse == nullptr) ? aResponseMessage : *info.mSavedResponse); in PopulateResponse()
1479 void Client::PrepareResponseAndFinalize(Query &aQuery, const Message &aResponseMessage, Response *a… in PrepareResponseAndFinalize() argument
1489 nextQuery = PopulateResponse(response, aQuery, aResponseMessage); in PrepareResponseAndFinalize()
1494 PrepareResponseAndFinalize(*nextQuery, aResponseMessage, &response); in PrepareResponseAndFinalize()
1565 Error Client::ReplaceWithIp4Query(Query &aQuery, const Message &aResponseMessage) in ReplaceWithIp4Query() argument
1585 SuccessOrExit(aResponseMessage.Read(aResponseMessage.GetOffset(), header)); in ReplaceWithIp4Query()
1712 void Client::ResolveHostAddressIfNeeded(Query &aQuery, const Message &aResponseMessage) in ResolveHostAddressIfNeeded() argument
1724 PopulateResponse(response, aQuery, aResponseMessage); in ResolveHostAddressIfNeeded()