Home
last modified time | relevance | path

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

/bionic/libc/private/
Dresolv_private.h191 typedef struct __res_state *res_state; typedef
454 int res_ninit(res_state);
455 int res_nisourserver(const res_state, const struct sockaddr_in *);
456 void fp_resstat(const res_state, FILE *);
457 void res_pquery(const res_state, const u_char *, int, FILE *);
458 const char * res_hostalias(const res_state, const char *, char *, size_t);
459 int res_nquery(res_state, const char *, int, int, u_char *, int);
460 int res_nsearch(res_state, const char *, int, int, u_char *, int);
461 int res_nquerydomain(res_state, const char *, const char *,
463 int res_nmkquery(res_state, int, const char *, int, int,
[all …]
/bionic/libc/include/
Dresolv.h41 struct res_state;
/bionic/libc/netbsd/resolv/
Dres_private.h20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
Dres_init.c132 static void res_setoptions __P((res_state, const char *, const char *));
168 res_ninit(res_state statp) { in res_ninit()
169 extern int __res_vinit(res_state, int); in res_ninit()
175 static int load_domain_search_list(res_state statp) { in load_domain_search_list()
211 __res_vinit(res_state statp, int preinit) { in __res_vinit()
595 res_setoptions(res_state statp, const char *options, const char *source) in res_setoptions()
771 res_nclose(res_state statp) { in res_nclose()
788 res_ndestroy(res_state statp) { in res_ndestroy()
797 res_get_nibblesuffix(res_state statp) { in res_get_nibblesuffix()
804 res_get_nibblesuffix2(res_state statp) { in res_get_nibblesuffix2()
[all …]
Dres_query.c127 res_nquery(res_state statp, in res_nquery()
221 res_nsearch(res_state statp, in res_nsearch()
368 res_nquerydomain(res_state statp, in res_nquerydomain()
413 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 *);
96 extern int __res_vinit(res_state, int); in res_init()
106 res_state ores = __res_get_old_state(); in res_init()
Dres_state.c204 res_state
213 __res_put_state(res_state res) in __res_put_state()
Dres_send.c144 static struct sockaddr * get_nsaddr __P((res_state, size_t));
145 static int send_vc(res_state, const u_char *, int,
147 static int send_dg(res_state, const u_char *, int,
150 static void Aerror(const res_state, FILE *, const char *, int,
152 static void Perror(const res_state, FILE *, const char *, int);
159 void res_pquery(const res_state, const u_char *, int, FILE *);
234 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p()
363 res_nsend(res_state statp, in res_nsend()
679 res_state statp; in get_nsaddr()
700 static int get_timeout(const res_state statp, const int ns) in get_timeout()
[all …]
Dres_mkquery.c117 res_nmkquery(res_state statp, in res_nmkquery()
231 res_nopt(res_state statp, in res_nopt()
Dres_debug.c147 fp_resstat(const res_state statp, FILE *file) { in fp_resstat()
159 do_section(const res_state statp, in do_section()
242 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery()
Dres_cache.c1305 res_state statep; in _dump_answer()
/bionic/libc/netbsd/
Dgethnamaddr.c99 static void dprintf(const char *, res_state, ...)
103 res_state);
106 static void addrsort(char **, int, res_state);
124 static struct hostent *gethostbyname_internal(const char *, int, res_state);
135 dprintf(const char *msg, res_state res, ...) in dprintf()
173 res_state res) in getanswer()
486 res_state res = __res_get_state(); in gethostbyname()
509 res_state res = __res_get_state(); in gethostbyname2()
519 gethostbyname_internal(const char *name, int af, res_state res) in gethostbyname_internal()
749 res_state res = __res_get_state(); in _gethtent()
[all …]
/bionic/libc/netbsd/net/
Dgetaddrinfo.c244 static int res_queryN(const char *, struct res_target *, res_state);
245 static int res_searchN(const char *, struct res_target *, res_state);
247 struct res_target *, res_state);
1899 res_state res; in _dns_getaddrinfo()
2154 res_state res) in res_queryN()
2258 res_searchN(const char *name, struct res_target *target, res_state res) in res_searchN()
2401 struct res_target *target, res_state res) in res_querydomainN()
/bionic/libc/
DAndroid.mk307 netbsd/resolv/res_state.c \