Go to the documentation of this file.
19 #ifdef HAVE_NETINET_IN_H
20 # include <netinet/in.h>
37 if (qlen < HFIXEDSZ || qlen >= (1 << 16))
81 query->
tcpbuf[0] = (
unsigned char)((qlen >> 8) & 0xff);
struct list_node queries_by_qid
void ares__send_query(ares_channel channel, struct query *query, struct timeval *now)
void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, ares_callback callback, void *arg)
struct list_node queries_to_server
void(* ares_callback)(void *arg, int status, int timeouts, unsigned char *abuf, int alen)
struct list_node queries_by_timeout
int tcp_connection_generation
#define DNS_HEADER_QID(h)
for(map_begin_internal(intern, &it);!map_done(&it);map_next(&it))
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
wrapped_grpc_channel * channel
void *(* ares_malloc)(size_t size)=default_malloc
void ares__insert_in_list(struct list_node *new_node, struct list_node *old_node)
const unsigned char * qbuf
#define ARES_QID_TABLE_SIZE
static void callback(void *arg, int status, int timeouts, struct hostent *host)
#define ARES_ECONNREFUSED
struct list_node all_queries
struct timeval ares__tvnow(void)
void(* ares_free)(void *ptr)=default_free
void ares__init_list_node(struct list_node *node, void *d)
struct query_server_info * server_info
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:43