| /freebsd-9-stable/include/ |
| D | resolv.h | 193 typedef struct __res_state *res_state; typedef 447 void res_rndinit(res_state); 449 u_int res_nrandomid(res_state); 456 int res_ninit(res_state); 457 int res_nisourserver(const res_state, const struct sockaddr_in *); 458 void fp_resstat(const res_state, FILE *); 459 void res_pquery(const res_state, const u_char *, int, FILE *); 460 const char * res_hostalias(const res_state, const char *, char *, size_t); 461 int res_nquery(res_state, const char *, int, int, u_char *, int); 462 int res_nsearch(res_state, const char *, int, int, u_char *, int); [all …]
|
| D | res_update.h | 70 int res_nmkupdate(res_state, ns_updrec *, u_char *, int); 71 int res_nupdate(res_state, ns_updrec *, ns_tsig_key *);
|
| /freebsd-9-stable/lib/libc/resolv/ |
| D | res_data.c | 78 int res_ourserver_p(const res_state, const struct sockaddr_in *); 82 extern int __res_vinit(res_state, int); in res_init() 83 res_state statp = &_res; in res_init() 126 res_state statp = &_res; in fp_nquery() 143 res_state statp = &_res; in res_mkquery() 155 res_state statp = &_res; in res_mkupdate() 170 res_state statp = &_res; in res_query() 197 res_state statp = &_res; in res_send() 211 res_state statp = &_res; in res_sendsigned() 228 res_state statp = &_res; in res_update() [all …]
|
| D | res_findzonecut.c | 72 static int satisfy(res_state, const char *, rrset_ns *, 74 static int add_addrs(res_state, rr_ns *, 76 static int get_soa(res_state, const char *, ns_class, int, 79 static int get_ns(res_state, const char *, ns_class, int, rrset_ns *); 80 static int get_glue(res_state, ns_class, int, rrset_ns *); 81 static int save_ns(res_state, ns_msg *, ns_sect, 83 static int save_a(res_state, ns_msg *, ns_sect, 88 static int do_query(res_state, const char *, ns_class, ns_type, 158 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut() 184 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut2() [all …]
|
| 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()
|
| D | res_init.c | 127 static void res_setoptions(res_state, const char *, const char *); 165 res_ninit(res_state statp) { in res_ninit() 166 extern int __res_vinit(res_state, int); in res_ninit() 173 __res_vinit(res_state statp, int preinit) { in __res_vinit() 596 res_setoptions(res_state statp, const char *options, const char *source) in res_setoptions() 757 res_rndinit(res_state statp) in res_rndinit() 776 res_nrandomid(res_state statp) { in res_nrandomid() 806 res_nclose(res_state statp) { in res_nclose() 823 res_ndestroy(res_state statp) { in res_ndestroy() 838 res_get_nibblesuffix(res_state statp) { in res_get_nibblesuffix() [all …]
|
| D | res_send.c | 137 static struct sockaddr * get_nsaddr(res_state, size_t); 138 static int send_vc(res_state, const u_char *, int, 140 static int send_dg(res_state, 147 static void Aerror(const res_state, FILE *, const char *, int, 149 static void Perror(const res_state, FILE *, const char *, int); 156 void res_pquery(const res_state, const u_char *, int, FILE *); 173 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p() 304 res_nsend(res_state statp, in res_nsend() 602 res_state statp; in get_nsaddr() 624 send_vc(res_state statp, in send_vc() [all …]
|
| D | res_query.c | 112 res_nquery(res_state statp, in res_nquery() 213 res_nsearch(res_state statp, in res_nsearch() 407 res_nquerydomain(res_state statp, in res_nquerydomain() 452 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { in res_hostalias()
|
| D | res_mkquery.c | 97 res_nmkquery(res_state statp, in res_nmkquery() 209 res_nopt(res_state statp, in res_nopt() 265 res_nopt_rdata(res_state statp, in res_nopt_rdata()
|
| D | h_errno.c | 43 __h_errno_set(res_state res, int err) in __h_errno_set()
|
| D | res_private.h | 23 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
|
| D | Makefile.inc | 8 res_query.c res_send.c res_state.c res_update.c
|
| D | res_update.c | 97 res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) { in res_nupdate()
|
| D | res_debug.c | 135 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() 146 do_section(const res_state statp, in do_section() 275 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery()
|
| D | res_mkupdate.c | 95 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_nmkupdate()
|
| /freebsd-9-stable/lib/libc/net/ |
| D | gethostbydns.c | 87 static void addrsort(char **, int, res_state); 91 static void dprintf(char *, int, res_state) __printflike(1, 0); 113 res_state res; 145 struct hostent *he, struct hostent_data *hed, res_state statp) in gethostanswer() 442 res_state statp; in __dns_getanswer() 479 res_state statp; in _dns_gethostbyname() 572 res_state statp; in _dns_gethostbyaddr() 718 addrsort(char **ap, int num, res_state res) in addrsort() 762 res_state statp; in _sethostdnsent() 774 res_state statp; in _endhostdnsent()
|
| D | getnetbydns.c | 157 struct netent_data *ned, res_state statp) in getnetanswer() 277 res_state statp; in _dns_getnetbyaddr() 382 res_state statp; in _dns_getnetbyname() 448 res_state statp; in _setnetdnsent() 460 res_state statp; in _endnetdnsent()
|
| D | gethostbyht.c | 92 res_state statp) in gethostent_p() 181 res_state statp; in gethostent_r() 231 res_state statp; in _ht_gethostbyname() 295 res_state statp; in _ht_gethostbyaddr()
|
| D | gethostnamadr.c | 59 size_t, struct hostent **, int *, res_state); 167 res_state statp; in host_id_func() 440 size_t buflen, res_state statp) in fakeaddr() 495 res_state statp; in gethostbyname_r() 519 res_state statp; in gethostbyname2_r() 532 size_t buflen, struct hostent **result, int *h_errnop, res_state statp) in gethostbyname_internal() 598 res_state statp; in gethostbyaddr_r()
|
| D | getnetbyht.c | 156 res_state statp; in getnetent_r() 200 res_state statp; in _ht_getnetbyname() 252 res_state statp; in _ht_getnetbyaddr()
|
| D | gethostbynis.c | 60 res_state statp; in _gethostbynis() 212 res_state statp; in _nis_gethostbyname() 261 res_state statp; in _nis_gethostbyaddr()
|
| D | getnetbynis.c | 142 res_state statp; in _nis_getnetbyname() 192 res_state statp; in _nis_getnetbyaddr()
|
| D | getaddrinfo.c | 272 const struct addrinfo *, res_state); 274 static int addr4sort(struct addrinfo *, res_state); 292 static int res_queryN(const char *, struct res_target *, res_state); 293 static int res_searchN(const char *, struct res_target *, res_state); 295 struct res_target *, res_state); 1717 res_state statp; in addrinfo_id_func() 1962 const struct addrinfo *pai, res_state res) in getanswer() 2178 addr4sort(struct addrinfo *sentinel, res_state res) in addr4sort() 2247 res_state res; in _dns_getaddrinfo() 2678 res_queryN(const char *name, struct res_target *target, res_state res) in res_queryN() [all …]
|
| D | name6.c | 201 static struct hostent *_hpsort(struct hostent *, res_state); 225 res_state statp; in getipnodebyname() 323 res_state statp; in getipnodebyaddr() 591 _hpsort(struct hostent *hp, res_state statp) in _hpsort()
|
| /freebsd-9-stable/tools/regression/lib/libc/nss/ |
| D | test-gethostby.c | 926 res_state statp; in main()
|