Lines Matching defs:response
284 struct sockaddr_storage addr; /* Where to send the response */
295 /* Constructed response. Only set once we're ready to send a reply. */
297 char *response;
902 evutil_snprintf(msg, sizeof(msg), "Bad response %d (%s)",
1441 int r = sendto(port->socket, req->response, (int)req->response_len, 0,
1447 log(EVDNS_LOG_WARN, "Error %s (%d) while writing response to port; dropping", evutil_socket_error_to_string(err), err);
1769 if (req->response) /* have we already answered? */
1906 /* Set response bit and error code; copy OPCODE and RD fields from
1978 if (!(req->response = mm_malloc(req->response_len))) {
1983 memcpy(req->response, buf, req->response_len);
1998 if (!req->response) {
2003 r = sendto(port->socket, req->response, (int)req->response_len, 0,
2097 if (req->response) {
2098 mm_free(req->response);