Home
last modified time | relevance | path

Searched refs:ARES_SOCKET_BAD (Results 1 – 7 of 7) sorted by relevance

/external/c-ares/
Dares__close_sockets.c53 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()
Dares_fds.c43 if (active_queries && server->udp_socket != ARES_SOCKET_BAD) in ares_fds()
53 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_fds()
Dares_getsock.c45 if (active_queries && server->udp_socket != ARES_SOCKET_BAD) in ares_getsock()
57 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_getsock()
Dares_process.c162 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 …]
Dares.h218 #define ARES_SOCKET_BAD INVALID_SOCKET macro
221 #define ARES_SOCKET_BAD -1
Dares_init.c1793 server->udp_socket = ARES_SOCKET_BAD; in ares__init_servers_state()
1794 server->tcp_socket = ARES_SOCKET_BAD; in ares__init_servers_state()
/external/curl/lib/
Dasyn-ares.c288 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()