Lines Matching refs:response
123 InterceptResponse response = {}; in intercept_request_cb() local
124 response.status = InterceptStatus::kFailed; in intercept_request_cb()
125 snprintf(response.error_message, sizeof(response.error_message), "invalid intercept request"); in intercept_request_cb()
126 TEMP_FAILURE_RETRY(write(sockfd, &response, sizeof(response))); in intercept_request_cb()
135 InterceptResponse response = {}; in intercept_request_cb() local
136 response.status = InterceptStatus::kFailedAlreadyRegistered; in intercept_request_cb()
137 snprintf(response.error_message, sizeof(response.error_message), in intercept_request_cb()
140 TEMP_FAILURE_RETRY(write(sockfd, &response, sizeof(response))); in intercept_request_cb()
141 LOG(WARNING) << response.error_message; in intercept_request_cb()
147 InterceptResponse response = {}; in intercept_request_cb() local
148 response.status = InterceptStatus::kRegistered; in intercept_request_cb()
149 if (TEMP_FAILURE_RETRY(write(sockfd, &response, sizeof(response))) == -1) { in intercept_request_cb()
228 InterceptResponse response = {}; in GetIntercept() local
229 response.status = InterceptStatus::kStarted; in GetIntercept()
230 TEMP_FAILURE_RETRY(write(intercept->sockfd, &response, sizeof(response))); in GetIntercept()