Lines Matching refs:response
1465 Message *response = nullptr; in SendResponse() local
1470 response = GetSocket().NewMessage(); in SendResponse()
1471 VerifyOrExit(response != nullptr, error = kErrorNoBufs); in SendResponse()
1477 SuccessOrExit(error = response->Append(header)); in SendResponse()
1479 SuccessOrExit(error = GetSocket().SendTo(*response, aMessageInfo)); in SendResponse()
1494 FreeMessageOnError(response, error); in SendResponse()
1504 Message *response = nullptr; in SendResponse() local
1510 response = GetSocket().NewMessage(); in SendResponse()
1511 VerifyOrExit(response != nullptr, error = kErrorNoBufs); in SendResponse()
1518 SuccessOrExit(error = response->Append(header)); in SendResponse()
1521 SuccessOrExit(error = Dns::Name::AppendTerminator(*response)); in SendResponse()
1539 SuccessOrExit(error = response->Append(optRecord)); in SendResponse()
1540 SuccessOrExit(error = response->AppendBytes(&leaseOption, optionSize)); in SendResponse()
1542 SuccessOrExit(error = GetSocket().SendTo(*response, aMessageInfo)); in SendResponse()
1550 FreeMessageOnError(response, error); in SendResponse()