Lines Matching refs:ARES_SOCKET_BAD
162 processfds(channel, read_fds, ARES_SOCKET_BAD, write_fds, ARES_SOCKET_BAD); in ares_process()
219 if(!write_fds && (write_fd == ARES_SOCKET_BAD)) in write_tcp_data()
228 if (!server->qhead || server->tcp_socket == ARES_SOCKET_BAD || in write_tcp_data()
338 if(!read_fds && (read_fd == ARES_SOCKET_BAD)) in read_tcp_data()
346 if (server->tcp_socket == ARES_SOCKET_BAD || server->is_broken) in read_tcp_data()
443 if(!read_fds && (read_fd == ARES_SOCKET_BAD)) in read_udp_packets()
452 if (server->udp_socket == ARES_SOCKET_BAD || server->is_broken) in read_udp_packets()
737 if (server->tcp_socket == ARES_SOCKET_BAD) in ares__send_query()
776 if (server->udp_socket == ARES_SOCKET_BAD) in ares__send_query()
969 if (s == ARES_SOCKET_BAD) in open_tcp_socket()
1061 if (s == ARES_SOCKET_BAD) in open_udp_socket()