/freebsd/include/ |
H A D | resolv.h | 194 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 D | res_update.h | 71 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 D | res_data.c | 73 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 D | res_findzonecut.c | 68 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 D | res_state.c | 53 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 D | res_init.c | 121 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 D | res_send.c | 131 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 D | h_errno.c | 37 void __h_errno_set(res_state res, int err); 46 __h_errno_set(res_state res, int err) in __h_errno_set()
|
H A D | res_query.c | 106 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 D | res_mkquery.c | 91 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 D | res_private.h | 22 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
|
H A D | Makefile.inc | 6 res_query.c res_send.c res_state.c res_update.c
|
H A D | res_update.c | 93 res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) { in res_nupdate()
|
H A D | res_debug.c | 129 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 D | res_mkupdate.c | 90 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_nmkupdate()
|
/freebsd/lib/libc/net/ |
H A D | gethostbydns.c | 81 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 D | getnetbydns.c | 153 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 D | gethostbyht.c | 88 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 D | gethostnamadr.c | 51 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 D | gethostbynis.c | 59 res_state statp; in _gethostbynis() 212 res_state statp; in _nis_gethostbyname() 261 res_state statp; in _nis_gethostbyaddr()
|
H A D | getnetbyht.c | 151 res_state statp; in getnetent_r() 195 res_state statp; in _ht_getnetbyname() 247 res_state statp; in _ht_getnetbyaddr()
|
H A D | getnetbynis.c | 142 res_state statp; in _nis_getnetbyname() 192 res_state statp; in _nis_getnetbyaddr()
|
H A D | getaddrinfo.c | 290 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 D | name6.c | 196 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 D | gethostby_test.c | 928 res_state statp; in run_tests()
|