Lines Matching refs:res_state
121 static struct sockaddr* get_nsaddr(res_state, size_t);
122 static int send_vc(res_state, res_params* params, const u_char*, int, u_char*, int, int*, int,
124 static int send_dg(res_state, res_params* params, const u_char*, int, u_char*, int, int*, int, int*,
126 static void Aerror(const res_state, const char*, int, const struct sockaddr*, int);
127 static void Perror(const res_state, const char*, int);
133 static int res_tls_send(res_state, const Slice query, const Slice answer, int* rcode,
267 static int res_ourserver_p(const res_state statp, const sockaddr* sa) { in res_ourserver_p()
376 int res_nsend(res_state statp, const u_char* buf, int buflen, u_char* ans, int anssiz, int* rcode, in res_nsend()
668 static struct sockaddr* get_nsaddr(res_state statp, size_t n) { in get_nsaddr()
686 static struct timespec get_timeout(const res_state statp, const res_params* params, const int ns) { in get_timeout()
707 static int send_vc(res_state statp, res_params* params, const u_char* buf, int buflen, u_char* ans, in send_vc()
973 static int send_dg(res_state statp, res_params* params, const u_char* buf, int buflen, u_char* ans, in send_dg()
1164 static void Aerror(const res_state statp, const char* string, int error, in Aerror()
1185 static void Perror(const res_state statp, const char* string, int error) { in Perror()
1214 static int res_tls_send(res_state statp, const Slice query, const Slice answer, int* rcode, in res_tls_send()
1302 res_state res = res_get_state(); in resolv_res_nsend()