Home
last modified time | relevance | path

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

/freebsd/include/
H A Dresolv.h194 typedef struct __res_state *res_state; typedef
448 void res_rndinit(res_state);
450 u_int res_nrandomid(res_state);
457 int res_ninit(res_state);
458 int res_nisourserver(const res_state, const struct sockaddr_in *);
459 void fp_resstat(const res_state, FILE *);
460 void res_pquery(const res_state, const u_char *, int, FILE *);
461 const char * res_hostalias(const res_state, const char *, char *, size_t);
462 int res_nquery(res_state, const char *, int, int, u_char *, int);
463 int res_nsearch(res_state, const char *, int, int, u_char *, int);
[all …]
H A Dres_update.h71 int res_nmkupdate(res_state, ns_updrec *, u_char *, int);
72 int res_nupdate(res_state, ns_updrec *, ns_tsig_key *);
/freebsd/lib/libc/resolv/
H A Dres_data.c73 int res_ourserver_p(const res_state, const struct sockaddr_in *);
77 extern int __res_vinit(res_state, int); in res_init()
78 res_state statp = &_res; in res_init()
121 res_state statp = &_res; in fp_nquery()
138 res_state statp = &_res; in res_mkquery()
150 res_state statp = &_res; in res_mkupdate()
165 res_state statp = &_res; in res_query()
192 res_state statp = &_res; in res_send()
206 res_state statp = &_res; in res_sendsigned()
223 res_state statp = &_res; in res_update()
[all …]
H A Dres_findzonecut.c68 static int satisfy(res_state, const char *, rrset_ns *,
70 static int add_addrs(res_state, rr_ns *,
72 static int get_soa(res_state, const char *, ns_class, int,
75 static int get_ns(res_state, const char *, ns_class, int, rrset_ns *);
76 static int get_glue(res_state, ns_class, int, rrset_ns *);
77 static int save_ns(res_state, ns_msg *, ns_sect,
79 static int save_a(res_state, ns_msg *, ns_sect,
84 static int do_query(res_state, const char *, ns_class, ns_type,
154 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut()
180 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut2()
[all …]
H A Dres_state.c53 res_state statp = ptr; in free_res()
66 static res_state
67 res_check_reload(res_state statp) in res_check_reload()
97 res_state
100 res_state statp; in __res_state()
H A Dres_init.c121 static void res_setoptions(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()
583 res_setoptions(res_state statp, const char *options, const char *source) in res_setoptions()
745 res_rndinit(res_state statp) in res_rndinit()
764 res_nrandomid(res_state statp) { in res_nrandomid()
794 res_nclose(res_state statp) { in res_nclose()
811 res_ndestroy(res_state statp) { in res_ndestroy()
826 res_get_nibblesuffix(res_state statp) { in res_get_nibblesuffix()
[all …]
H A Dres_send.c131 static struct sockaddr * get_nsaddr(res_state, size_t);
132 static int send_vc(res_state, const u_char *, int,
134 static int send_dg(res_state,
141 static void Aerror(const res_state, FILE *, const char *, int,
143 static void Perror(const res_state, FILE *, const char *, int);
150 void res_pquery(const res_state, const u_char *, int, FILE *);
167 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p()
298 res_nsend(res_state statp, in res_nsend()
594 get_nsaddr(res_state statp, size_t n) in get_nsaddr()
615 send_vc(res_state statp, in send_vc()
[all …]
H A Dh_errno.c37 void __h_errno_set(res_state res, int err);
46 __h_errno_set(res_state res, int err) in __h_errno_set()
H A Dres_query.c106 res_nquery(res_state statp, in res_nquery()
207 res_nsearch(res_state statp, in res_nsearch()
401 res_nquerydomain(res_state statp, in res_nquerydomain()
446 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { in res_hostalias()
H A Dres_mkquery.c91 res_nmkquery(res_state statp, in res_nmkquery()
203 res_nopt(res_state statp, in res_nopt()
259 res_nopt_rdata(res_state statp, in res_nopt_rdata()
H A Dres_private.h22 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
H A DMakefile.inc6 res_query.c res_send.c res_state.c res_update.c
H A Dres_update.c93 res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) { in res_nupdate()
H A Dres_debug.c129 fp_resstat(const res_state statp, FILE *file) { in fp_resstat()
140 do_section(const res_state statp, in do_section()
269 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery()
H A Dres_mkupdate.c90 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_nmkupdate()
/freebsd/lib/libc/net/
H A Dgethostbydns.c81 static void addrsort(char **, int, res_state);
85 static void dbg_printf(char *, int, res_state) __printflike(1, 0);
104 dbg_printf(char *msg, int num, res_state res) in dbg_printf()
136 struct hostent *he, struct hostent_data *hed, res_state statp) in gethostanswer()
436 res_state statp; in __dns_getanswer()
473 res_state statp; in _dns_gethostbyname()
566 res_state statp; in _dns_gethostbyaddr()
712 addrsort(char **ap, int num, res_state res) in addrsort()
756 res_state statp; in _sethostdnsent()
768 res_state statp; in _endhostdnsent()
H A Dgetnetbydns.c153 struct netent_data *ned, res_state statp) in getnetanswer()
273 res_state statp; in _dns_getnetbyaddr()
378 res_state statp; in _dns_getnetbyname()
444 res_state statp; in _setnetdnsent()
456 res_state statp; in _endnetdnsent()
H A Dgethostbyht.c88 res_state statp) in gethostent_p()
177 res_state statp; in gethostent_r()
227 res_state statp; in _ht_gethostbyname()
291 res_state statp; in _ht_gethostbyaddr()
H A Dgethostnamadr.c51 size_t, struct hostent **, int *, res_state);
159 res_state statp; in host_id_func()
432 size_t buflen, res_state statp) in fakeaddr()
487 res_state statp; in gethostbyname_r()
511 res_state statp; in gethostbyname2_r()
524 size_t buflen, struct hostent **result, int *h_errnop, res_state statp) in gethostbyname_internal()
590 res_state statp; in gethostbyaddr_r()
H A Dgethostbynis.c59 res_state statp; in _gethostbynis()
212 res_state statp; in _nis_gethostbyname()
261 res_state statp; in _nis_gethostbyaddr()
H A Dgetnetbyht.c151 res_state statp; in getnetent_r()
195 res_state statp; in _ht_getnetbyname()
247 res_state statp; in _ht_getnetbyaddr()
H A Dgetnetbynis.c142 res_state statp; in _nis_getnetbyname()
192 res_state statp; in _nis_getnetbyaddr()
H A Dgetaddrinfo.c290 const struct addrinfo *, res_state);
292 static int addr4sort(struct addrinfo *, res_state);
310 static int res_queryN(const char *, struct res_target *, res_state);
311 static int res_searchN(const char *, struct res_target *, res_state);
313 struct res_target *, res_state);
1736 res_state statp; in addrinfo_id_func()
1982 const struct addrinfo *pai, res_state res) in getanswer()
2198 addr4sort(struct addrinfo *sentinel, res_state res) in addr4sort()
2267 res_state res; in _dns_getaddrinfo()
2701 res_queryN(const char *name, struct res_target *target, res_state res) in res_queryN()
[all …]
H A Dname6.c196 static struct hostent *_hpsort(struct hostent *, res_state);
220 res_state statp; in getipnodebyname()
318 res_state statp; in getipnodebyaddr()
587 _hpsort(struct hostent *hp, res_state statp) in _hpsort()
/freebsd/lib/libc/tests/nss/
H A Dgethostby_test.c928 res_state statp; in run_tests()