Home
last modified time | relevance | path

Searched refs:res_state (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/dns/include/
Dresolv_private.h194 typedef struct __res_state *res_state; typedef
459 int res_ninit(res_state);
460 int res_nisourserver(const res_state, const struct sockaddr_in *);
461 void fp_resstat(const res_state, FILE *);
462 __LIBC_HIDDEN__ void res_pquery(const res_state, const u_char *, int, FILE *);
463 const char * res_hostalias(const res_state, const char *, char *, size_t);
464 int res_nquery(res_state, const char *, int, int, u_char *, int);
465 int res_nsearch(res_state, const char *, int, int, u_char *, int);
466 int res_nquerydomain(res_state, const char *, const char *,
468 int res_nmkquery(res_state, int, const char *, int, int,
[all …]
/bionic/libc/dns/resolv/
Dres_init.c121 static void res_setoptions __P((res_state, const char *, const char *));
159 res_ninit(res_state statp) { in res_ninit()
160 extern int __res_vinit(res_state, int); in res_ninit()
167 __res_vinit(res_state statp, int preinit) { in __res_vinit()
493 res_setoptions(res_state statp, const char *options, const char *source) in res_setoptions()
628 res_nclose(res_state statp) in res_nclose()
646 res_ndestroy(res_state statp) in res_ndestroy()
656 res_get_nibblesuffix(res_state statp) in res_get_nibblesuffix()
664 res_get_nibblesuffix2(res_state statp) in res_get_nibblesuffix2()
672 res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) in res_setservers()
[all …]
Dres_query.c128 res_nquery(res_state statp, in res_nquery()
222 res_nsearch(res_state statp, in res_nsearch()
378 res_nquerydomain(res_state statp, in res_nquerydomain()
423 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { in res_hostalias()
Dres_send.c140 static struct sockaddr * get_nsaddr __P((res_state, size_t));
141 static int send_vc(res_state, struct __res_params *params, const u_char *, int,
143 static int send_dg(res_state, struct __res_params *params, const u_char *, int,
145 static void Aerror(const res_state, FILE *, const char *, int,
147 static void Perror(const res_state, FILE *, const char *, int);
149 void res_pquery(const res_state, const u_char *, int, FILE *);
223 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p()
351 res_nsend(res_state statp, in res_nsend()
704 get_nsaddr(res_state statp, size_t n) in get_nsaddr()
724 static struct timespec get_timeout(const res_state statp, const struct __res_params* params, const … in get_timeout()
[all …]
Dres_state.c147 res_state
156 __res_put_state(res_state res __unused) in __res_put_state()
Dres_private.h20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
Dres_data.cpp24 extern "C" int res_ourserver_p(const res_state, const struct sockaddr*);
25 extern "C" int __res_vinit(res_state, int);
Dres_mkquery.c116 res_nmkquery(res_state statp, in res_nmkquery()
231 res_nopt(res_state statp, in res_nopt()
Dres_debug.c155 fp_resstat(const res_state statp, FILE *file) { in fp_resstat()
167 do_section(const res_state statp, in do_section()
297 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery()
Dres_cache.c1515 res_state statep; in _dump_answer()
2162 _resolv_populate_res_for_net(res_state statp) in _resolv_populate_res_for_net()
/bionic/libc/dns/net/
Dgethnamaddr.c142 static void debugprintf(const char *, res_state, ...)
146 res_state, struct hostent *, char *, size_t, int *);
149 static void addrsort(char **, int, res_state);
161 static struct hostent *gethostbyname_internal(const char *, int, res_state,
184 debugprintf(const char *msg, res_state res, ...) in debugprintf()
217 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer()
529 res_state res = __res_get_state(); in gethostbyname_r()
556 res_state res = __res_get_state(); in gethostbyname2_r()
674 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, in gethostbyname_internal_real()
791 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, in gethostbyname_internal()
[all …]
Dgetaddrinfo.c248 static int res_queryN(const char *, struct res_target *, res_state);
249 static int res_searchN(const char *, struct res_target *, res_state);
251 struct res_target *, res_state);
1902 res_state res; in _dns_getaddrinfo()
2160 res_state res) in res_queryN()
2281 res_searchN(const char *name, struct res_target *target, res_state res) in res_searchN()
2430 struct res_target *target, res_state res) in res_querydomainN()
Dsethostent.c114 res_state res = __res_get_state(); in _hf_gethtbyname()