Symbol: res_state
include/res_update.h
71
int res_nmkupdate(res_state, ns_updrec *, u_char *, int);
include/res_update.h
72
int res_nupdate(res_state, ns_updrec *, ns_tsig_key *);
include/resolv.h
448
u_int res_nrandomid(res_state);
include/resolv.h
455
int res_ninit(res_state);
include/resolv.h
456
int res_nisourserver(const res_state, const struct sockaddr_in *);
include/resolv.h
457
void fp_resstat(const res_state, FILE *);
include/resolv.h
458
void res_pquery(const res_state, const u_char *, int, FILE *);
include/resolv.h
459
const char * res_hostalias(const res_state, const char *, char *, size_t);
include/resolv.h
460
int res_nquery(res_state, const char *, int, int, u_char *, int);
include/resolv.h
461
int res_nsearch(res_state, const char *, int, int, u_char *, int);
include/resolv.h
462
int res_nquerydomain(res_state, const char *, const char *,
include/resolv.h
464
int res_nmkquery(res_state, int, const char *, int, int,
include/resolv.h
467
int res_nsend(res_state, const u_char *, int, u_char *, int);
include/resolv.h
469
int res_nsendsigned(res_state, const u_char *, int,
include/resolv.h
471
int res_findzonecut(res_state, const char *, ns_class, int,
include/resolv.h
474
int res_findzonecut2(res_state, const char *, ns_class, int,
include/resolv.h
477
void res_nclose(res_state);
include/resolv.h
478
int res_nopt(res_state, int, u_char *, int, int);
include/resolv.h
479
int res_nopt_rdata(res_state, int, u_char *, int, u_char *,
include/resolv.h
483
int __res_vinit(res_state, int);
include/resolv.h
490
const char * res_get_nibblesuffix(res_state);
include/resolv.h
491
const char * res_get_nibblesuffix2(res_state);
include/resolv.h
493
void res_ndestroy(res_state);
include/resolv.h
496
void res_setservers(res_state, const union res_sockaddr_union *,
include/resolv.h
498
int res_getservers(res_state, union res_sockaddr_union *, int);
lib/libc/net/getaddrinfo.c
1736
res_state statp;
lib/libc/net/getaddrinfo.c
1982
const struct addrinfo *pai, res_state res)
lib/libc/net/getaddrinfo.c
2198
addr4sort(struct addrinfo *sentinel, res_state res)
lib/libc/net/getaddrinfo.c
2267
res_state res;
lib/libc/net/getaddrinfo.c
2706
res_queryN(const char *name, struct res_target *target, res_state res)
lib/libc/net/getaddrinfo.c
2866
res_searchN(const char *name, struct res_target *target, res_state res)
lib/libc/net/getaddrinfo.c
290
const struct addrinfo *, res_state);
lib/libc/net/getaddrinfo.c
292
static int addr4sort(struct addrinfo *, res_state);
lib/libc/net/getaddrinfo.c
3030
struct res_target *target, res_state res)
lib/libc/net/getaddrinfo.c
310
static int res_queryN(const char *, struct res_target *, res_state);
lib/libc/net/getaddrinfo.c
311
static int res_searchN(const char *, struct res_target *, res_state);
lib/libc/net/getaddrinfo.c
313
struct res_target *, res_state);
lib/libc/net/gethostbydns.c
106
dbg_printf(char *msg, int num, res_state res)
lib/libc/net/gethostbydns.c
138
struct hostent *he, struct hostent_data *hed, res_state statp)
lib/libc/net/gethostbydns.c
442
res_state statp;
lib/libc/net/gethostbydns.c
479
res_state statp;
lib/libc/net/gethostbydns.c
572
res_state statp;
lib/libc/net/gethostbydns.c
718
addrsort(char **ap, int num, res_state res)
lib/libc/net/gethostbydns.c
762
res_state statp;
lib/libc/net/gethostbydns.c
774
res_state statp;
lib/libc/net/gethostbydns.c
83
static void addrsort(char **, int, res_state);
lib/libc/net/gethostbydns.c
87
static void dbg_printf(char *, int, res_state) __printflike(1, 0);
lib/libc/net/gethostbyht.c
177
res_state statp;
lib/libc/net/gethostbyht.c
227
res_state statp;
lib/libc/net/gethostbyht.c
291
res_state statp;
lib/libc/net/gethostbyht.c
88
res_state statp)
lib/libc/net/gethostbynis.c
212
res_state statp;
lib/libc/net/gethostbynis.c
261
res_state statp;
lib/libc/net/gethostbynis.c
59
res_state statp;
lib/libc/net/gethostnamadr.c
159
res_state statp;
lib/libc/net/gethostnamadr.c
432
size_t buflen, res_state statp)
lib/libc/net/gethostnamadr.c
487
res_state statp;
lib/libc/net/gethostnamadr.c
51
size_t, struct hostent **, int *, res_state);
lib/libc/net/gethostnamadr.c
511
res_state statp;
lib/libc/net/gethostnamadr.c
524
size_t buflen, struct hostent **result, int *h_errnop, res_state statp)
lib/libc/net/gethostnamadr.c
590
res_state statp;
lib/libc/net/getnetbydns.c
153
struct netent_data *ned, res_state statp)
lib/libc/net/getnetbydns.c
273
res_state statp;
lib/libc/net/getnetbydns.c
381
res_state statp;
lib/libc/net/getnetbydns.c
447
res_state statp;
lib/libc/net/getnetbydns.c
459
res_state statp;
lib/libc/net/getnetbyht.c
151
res_state statp;
lib/libc/net/getnetbyht.c
195
res_state statp;
lib/libc/net/getnetbyht.c
247
res_state statp;
lib/libc/net/getnetbynis.c
142
res_state statp;
lib/libc/net/getnetbynis.c
192
res_state statp;
lib/libc/net/name6.c
196
static struct hostent *_hpsort(struct hostent *, res_state);
lib/libc/net/name6.c
220
res_state statp;
lib/libc/net/name6.c
318
res_state statp;
lib/libc/net/name6.c
587
_hpsort(struct hostent *hp, res_state statp)
lib/libc/resolv/h_errno.c
37
void __h_errno_set(res_state res, int err);
lib/libc/resolv/h_errno.c
46
__h_errno_set(res_state res, int err)
lib/libc/resolv/res_data.c
121
res_state statp = &_res;
lib/libc/resolv/res_data.c
138
res_state statp = &_res;
lib/libc/resolv/res_data.c
150
res_state statp = &_res;
lib/libc/resolv/res_data.c
165
res_state statp = &_res;
lib/libc/resolv/res_data.c
192
res_state statp = &_res;
lib/libc/resolv/res_data.c
206
res_state statp = &_res;
lib/libc/resolv/res_data.c
223
res_state statp = &_res;
lib/libc/resolv/res_data.c
238
res_state statp = &_res;
lib/libc/resolv/res_data.c
254
res_state statp = &_res;
lib/libc/resolv/res_data.c
267
res_state statp = &_res;
lib/libc/resolv/res_data.c
293
res_state statp;
lib/libc/resolv/res_data.c
73
int res_ourserver_p(const res_state, const struct sockaddr_in *);
lib/libc/resolv/res_data.c
77
extern int __res_vinit(res_state, int);
lib/libc/resolv/res_data.c
78
res_state statp = &_res;
lib/libc/resolv/res_debug.c
129
fp_resstat(const res_state statp, FILE *file) {
lib/libc/resolv/res_debug.c
140
do_section(const res_state statp,
lib/libc/resolv/res_debug.c
269
res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
lib/libc/resolv/res_findzonecut.c
154
res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
180
res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
224
satisfy(res_state statp, const char *mname, rrset_ns *nsrrsp,
lib/libc/resolv/res_findzonecut.c
252
add_addrs(res_state statp, rr_ns *nsrr,
lib/libc/resolv/res_findzonecut.c
270
get_soa(res_state statp, const char *dname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
410
get_ns(res_state statp, const char *zname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
443
get_glue(res_state statp, ns_class class, int opts, rrset_ns *nsrrsp) {
lib/libc/resolv/res_findzonecut.c
518
save_ns(res_state statp, ns_msg *msg, ns_sect sect,
lib/libc/resolv/res_findzonecut.c
577
save_a(res_state statp, ns_msg *msg, ns_sect sect,
lib/libc/resolv/res_findzonecut.c
671
do_query(res_state statp, const char *dname, ns_class class, ns_type qtype,
lib/libc/resolv/res_findzonecut.c
68
static int satisfy(res_state, const char *, rrset_ns *,
lib/libc/resolv/res_findzonecut.c
70
static int add_addrs(res_state, rr_ns *,
lib/libc/resolv/res_findzonecut.c
72
static int get_soa(res_state, const char *, ns_class, int,
lib/libc/resolv/res_findzonecut.c
75
static int get_ns(res_state, const char *, ns_class, int, rrset_ns *);
lib/libc/resolv/res_findzonecut.c
76
static int get_glue(res_state, ns_class, int, rrset_ns *);
lib/libc/resolv/res_findzonecut.c
77
static int save_ns(res_state, ns_msg *, ns_sect,
lib/libc/resolv/res_findzonecut.c
79
static int save_a(res_state, ns_msg *, ns_sect,
lib/libc/resolv/res_findzonecut.c
84
static int do_query(res_state, const char *, ns_class, ns_type,
lib/libc/resolv/res_init.c
102
static void res_setoptions(res_state, const char *, const char *);
lib/libc/resolv/res_init.c
131
res_ninit(res_state statp) {
lib/libc/resolv/res_init.c
132
extern int __res_vinit(res_state, int);
lib/libc/resolv/res_init.c
139
__res_vinit(res_state statp, int preinit) {
lib/libc/resolv/res_init.c
547
res_setoptions(res_state statp, const char *options, const char *source)
lib/libc/resolv/res_init.c
707
freebsd15_res_rndinit(res_state statp)
lib/libc/resolv/res_init.c
714
res_nrandomid(res_state statp) {
lib/libc/resolv/res_init.c
728
res_nclose(res_state statp) {
lib/libc/resolv/res_init.c
745
res_ndestroy(res_state statp) {
lib/libc/resolv/res_init.c
756
res_get_nibblesuffix(res_state statp) {
lib/libc/resolv/res_init.c
763
res_get_nibblesuffix2(res_state statp) {
lib/libc/resolv/res_init.c
771
res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) {
lib/libc/resolv/res_init.c
822
res_getservers(res_state statp, union res_sockaddr_union *set, int cnt) {
lib/libc/resolv/res_mkquery.c
198
res_nopt(res_state statp,
lib/libc/resolv/res_mkquery.c
254
res_nopt_rdata(res_state statp,
lib/libc/resolv/res_mkquery.c
86
res_nmkquery(res_state statp,
lib/libc/resolv/res_mkupdate.c
86
res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) {
lib/libc/resolv/res_private.h
22
res_ourserver_p(const res_state statp, const struct sockaddr *sa);
lib/libc/resolv/res_query.c
101
res_nquery(res_state statp,
lib/libc/resolv/res_query.c
202
res_nsearch(res_state statp,
lib/libc/resolv/res_query.c
396
res_nquerydomain(res_state statp,
lib/libc/resolv/res_query.c
441
res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) {
lib/libc/resolv/res_send.c
1088
Aerror(const res_state statp, FILE *file, const char *string, int error,
lib/libc/resolv/res_send.c
1110
Perror(const res_state statp, FILE *file, const char *string, int error) {
lib/libc/resolv/res_send.c
127
static struct sockaddr * get_nsaddr(res_state, size_t);
lib/libc/resolv/res_send.c
128
static int send_vc(res_state, const u_char *, int,
lib/libc/resolv/res_send.c
130
static int send_dg(res_state,
lib/libc/resolv/res_send.c
138
static void Aerror(const res_state, FILE *, const char *, int,
lib/libc/resolv/res_send.c
140
static void Perror(const res_state, FILE *, const char *, int);
lib/libc/resolv/res_send.c
143
void res_pquery(const res_state, const u_char *, int, FILE *);
lib/libc/resolv/res_send.c
160
res_ourserver_p(const res_state statp, const struct sockaddr *sa) {
lib/libc/resolv/res_send.c
291
res_nsend(res_state statp,
lib/libc/resolv/res_send.c
589
get_nsaddr(res_state statp, size_t n)
lib/libc/resolv/res_send.c
610
send_vc(res_state statp,
lib/libc/resolv/res_send.c
812
send_dg(res_state statp,
lib/libc/resolv/res_state.c
100
res_state statp;
lib/libc/resolv/res_state.c
53
res_state statp = ptr;
lib/libc/resolv/res_state.c
66
static res_state
lib/libc/resolv/res_state.c
67
res_check_reload(res_state statp)
lib/libc/resolv/res_state.c
97
res_state
lib/libc/resolv/res_update.c
93
res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) {
lib/libc/tests/nss/gethostby_test.c
928
res_state statp;