Home
last modified time | relevance | path

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

/bionic/libc/dns/include/
Dresolv_private.h193 typedef struct __res_state *res_state; typedef
467 int res_ninit(res_state);
468 int res_nisourserver(const res_state, const struct sockaddr_in *);
469 void fp_resstat(const res_state, FILE *);
470 __LIBC_HIDDEN__ void res_pquery(const res_state, const u_char *, int, FILE *);
471 const char * res_hostalias(const res_state, const char *, char *, size_t);
472 int res_nquery(res_state, const char *, int, int, u_char *, int);
473 int res_nsearch(res_state, const char *, int, int, u_char *, int);
474 int res_nquerydomain(res_state, const char *, const char *,
476 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_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()
706 res_state statp; in get_nsaddr()
727 static struct timespec get_timeout(const res_state statp, const struct __res_params* params, const … in get_timeout()
[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_data.c83 int res_ourserver_p(const res_state, const struct sockaddr *);
90 extern int __res_vinit(res_state, int); in res_init()
100 res_state ores = __res_get_old_state(); in res_init()
Dres_state.c166 res_state
175 __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_mkquery.c116 res_nmkquery(res_state statp, in res_nmkquery()
231 res_nopt(res_state statp, in res_nopt()
Dres_debug.c137 fp_resstat(const res_state statp, FILE *file) { in fp_resstat()
149 do_section(const res_state statp, in do_section()
279 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery()
Dres_cache.c1519 res_state statep; in _dump_answer()
2166 _resolv_populate_res_for_net(res_state statp) in _resolv_populate_res_for_net()
/bionic/libc/dns/net/
Dgethnamaddr.c143 static void debugprintf(const char *, res_state, ...)
147 res_state, struct hostent *, char *, size_t, int *);
150 static void addrsort(char **, int, res_state);
162 static struct hostent *gethostbyname_internal(const char *, int, res_state,
185 debugprintf(const char *msg, res_state res, ...) in debugprintf()
218 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer()
530 res_state res = __res_get_state(); in gethostbyname_r()
557 res_state res = __res_get_state(); in gethostbyname2_r()
675 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, in gethostbyname_internal_real()
792 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.c117 res_state res = __res_get_state(); in _hf_gethtbyname()