|
static void | advance_tcp_send_queue (ares_channel channel, int whichserver, ares_ssize_t num_bytes) |
|
void | ares__close_socket (ares_channel channel, ares_socket_t s) |
|
int | ares__connect_socket (ares_channel channel, ares_socket_t sockfd, const struct sockaddr *addr, ares_socklen_t addrlen) |
|
void | ares__free_query (struct query *query) |
|
ares_socket_t | ares__open_socket (ares_channel channel, int af, int type, int protocol) |
|
void | ares__send_query (ares_channel channel, struct query *query, struct timeval *now) |
|
int | ares__timedout (struct timeval *now, struct timeval *check) |
|
void | ares_process (ares_channel channel, fd_set *read_fds, fd_set *write_fds) |
|
void | ares_process_fd (ares_channel channel, ares_socket_t read_fd, ares_socket_t write_fd) |
|
static int | configure_socket (ares_socket_t s, int family, ares_channel channel) |
|
static void | end_query (ares_channel channel, struct query *query, int status, unsigned char *abuf, int alen) |
|
static void | handle_error (ares_channel channel, int whichserver, struct timeval *now) |
|
static int | has_opt_rr (const unsigned char *abuf, int alen) |
|
static void | next_server (ares_channel channel, struct query *query, struct timeval *now) |
|
static int | open_tcp_socket (ares_channel channel, struct server_state *server) |
|
static int | open_udp_socket (ares_channel channel, struct server_state *server) |
|
static void | process_answer (ares_channel channel, unsigned char *abuf, int alen, int whichserver, int tcp, struct timeval *now) |
|
static void | process_broken_connections (ares_channel channel, struct timeval *now) |
|
static void | process_timeouts (ares_channel channel, struct timeval *now) |
|
static void | processfds (ares_channel channel, fd_set *read_fds, ares_socket_t read_fd, fd_set *write_fds, ares_socket_t write_fd) |
|
static void | read_tcp_data (ares_channel channel, fd_set *read_fds, ares_socket_t read_fd, struct timeval *now) |
|
static void | read_udp_packets (ares_channel channel, fd_set *read_fds, ares_socket_t read_fd, struct timeval *now) |
|
static int | same_address (struct sockaddr *sa, struct ares_addr *aa) |
|
static int | same_questions (const unsigned char *qbuf, int qlen, const unsigned char *abuf, int alen) |
|
static int | setsocknonblock (ares_socket_t sockfd, int nonblock) |
|
static void | skip_server (ares_channel channel, struct query *query, int whichserver) |
|
static ares_ssize_t | socket_recv (ares_channel channel, ares_socket_t s, void *data, size_t data_len) |
|
static ares_ssize_t | socket_recvfrom (ares_channel channel, ares_socket_t s, void *data, size_t data_len, int flags, struct sockaddr *from, ares_socklen_t *from_len) |
|
static ares_ssize_t | socket_write (ares_channel channel, ares_socket_t s, const void *data, size_t len) |
|
static ares_ssize_t | socket_writev (ares_channel channel, ares_socket_t s, const struct iovec *vec, int len) |
|
static void | swap_lists (struct list_node *head_a, struct list_node *head_b) |
|
static void | timeadd (struct timeval *now, int millisecs) |
|
static int | try_again (int errnum) |
|
static void | write_tcp_data (ares_channel channel, fd_set *write_fds, ares_socket_t write_fd, struct timeval *now) |
|