Searched refs:ARES_SOCKET_BAD (Results 1 – 7 of 7) sorted by relevance
53 if (server->tcp_socket != ARES_SOCKET_BAD) in ares__close_sockets()57 server->tcp_socket = ARES_SOCKET_BAD; in ares__close_sockets()60 if (server->udp_socket != ARES_SOCKET_BAD) in ares__close_sockets()64 server->udp_socket = ARES_SOCKET_BAD; in ares__close_sockets()
43 if (active_queries && server->udp_socket != ARES_SOCKET_BAD) in ares_fds()53 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_fds()
45 if (active_queries && server->udp_socket != ARES_SOCKET_BAD) in ares_getsock()57 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_getsock()
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()[all …]
218 #define ARES_SOCKET_BAD INVALID_SOCKET macro221 #define ARES_SOCKET_BAD -1
1793 server->udp_socket = ARES_SOCKET_BAD; in ares__init_servers_state()1794 server->tcp_socket = ARES_SOCKET_BAD; in ares__init_servers_state()
288 ares_process_fd((ares_channel)data->state.resolver, ARES_SOCKET_BAD, in waitperform()289 ARES_SOCKET_BAD); in waitperform()295 pfd[i].fd:ARES_SOCKET_BAD, in waitperform()297 pfd[i].fd:ARES_SOCKET_BAD); in waitperform()