Symbol: res_state
distrib/utils/libhack/gethost.c
172
res_state res = __res_get_state();
include/res_update.h
64
int res_nmkupdate(res_state, ns_updrec *, u_char *, int);
include/res_update.h
65
int res_nupdate(res_state, ns_updrec *, ns_tsig_key *);
include/resolv.h
427
int res_check(res_state, struct timespec *);
include/resolv.h
460
void res_rndinit(res_state);
include/resolv.h
462
u_int res_nrandomid(res_state);
include/resolv.h
469
int res_ninit(res_state);
include/resolv.h
470
int res_nisourserver(const res_state, const struct sockaddr_in *);
include/resolv.h
471
void fp_resstat(const res_state, FILE *);
include/resolv.h
472
void res_pquery(const res_state, const u_char *, int, FILE *);
include/resolv.h
473
const char * res_hostalias(const res_state, const char *, char *, size_t);
include/resolv.h
474
int res_nquery(res_state, const char *, int, int, u_char *, int);
include/resolv.h
475
int res_nsearch(res_state, const char *, int, int, u_char *, int);
include/resolv.h
476
int res_nquerydomain(res_state, const char *, const char *,
include/resolv.h
478
int res_nmkquery(res_state, int, const char *, int, int,
include/resolv.h
481
int res_nsend(res_state, const u_char *, int, u_char *, int);
include/resolv.h
482
int res_nsendsigned(res_state, const u_char *, int,
include/resolv.h
484
int res_findzonecut(res_state, const char *, ns_class, int,
include/resolv.h
486
int res_findzonecut2(res_state, const char *, ns_class, int,
include/resolv.h
489
void res_nclose(res_state);
include/resolv.h
490
int res_nopt(res_state, int, u_char *, int, int);
include/resolv.h
491
int res_nopt_rdata(res_state, int, u_char *, int, u_char *,
include/resolv.h
495
int __res_vinit(res_state, int);
include/resolv.h
501
const char * res_get_nibblesuffix(res_state);
include/resolv.h
502
const char * res_get_nibblesuffix2(res_state);
include/resolv.h
503
void res_ndestroy(res_state);
include/resolv.h
506
void res_setservers(res_state,
include/resolv.h
508
int res_getservers(res_state,
lib/libc/net/getaddrinfo.c
1705
getanswer(res_state res, const querybuf *answer, int anslen, const char *qname,
lib/libc/net/getaddrinfo.c
2003
aisort(struct addrinfo *s, res_state res)
lib/libc/net/getaddrinfo.c
2032
res_state res, int dosearch)
lib/libc/net/getaddrinfo.c
2106
res_state res;
lib/libc/net/getaddrinfo.c
2176
res_state res;
lib/libc/net/getaddrinfo.c
2552
res_state statp)
lib/libc/net/getaddrinfo.c
2682
res_searchN(const char *name, struct res_target *target, res_state res)
lib/libc/net/getaddrinfo.c
271
static struct addrinfo *getanswer(res_state, const querybuf *, int,
lib/libc/net/getaddrinfo.c
273
static void aisort(struct addrinfo *s, res_state res);
lib/libc/net/getaddrinfo.c
275
const struct addrinfo *, res_state, int);
lib/libc/net/getaddrinfo.c
2823
struct res_target *target, res_state res)
lib/libc/net/getaddrinfo.c
291
static int res_queryN(const char *, struct res_target *, res_state);
lib/libc/net/getaddrinfo.c
292
static int res_searchN(const char *, struct res_target *, res_state);
lib/libc/net/getaddrinfo.c
294
struct res_target *, res_state);
lib/libc/net/gethnamaddr.c
1005
res_state res;
lib/libc/net/gethnamaddr.c
152
static void debugprintf(const char *, res_state, ...)
lib/libc/net/gethnamaddr.c
156
res_state, struct hostent *, char *, size_t, int *);
lib/libc/net/gethnamaddr.c
159
static void addrsort(char **, int, res_state);
lib/libc/net/gethnamaddr.c
169
static struct hostent *gethostbyname_internal(const char *, int, res_state,
lib/libc/net/gethnamaddr.c
181
debugprintf(const char *msg, res_state res, ...)
lib/libc/net/gethnamaddr.c
215
res_state res, struct hostent *hent, char *buf, size_t buflen, int *he)
lib/libc/net/gethnamaddr.c
526
res_state res = __res_get_state();
lib/libc/net/gethnamaddr.c
552
res_state res = __res_get_state();
lib/libc/net/gethnamaddr.c
564
gethostbyname_internal(const char *name, int af, res_state res,
lib/libc/net/gethnamaddr.c
776
res_state res = __res_get_state();
lib/libc/net/gethnamaddr.c
889
addrsort(char **ap, int num, res_state res)
lib/libc/net/gethnamaddr.c
940
res_state res;
lib/libc/net/getnetnamadr.c
114
static struct netent *getnetanswer(res_state, querybuf *, int, int);
lib/libc/net/getnetnamadr.c
168
getnetanswer(res_state res, querybuf *answer, int anslen, int net_i)
lib/libc/net/getnetnamadr.c
319
res_state res;
lib/libc/net/getnetnamadr.c
454
res_state res;
lib/libc/net/hesiod.c
416
res_state res = __res_get_state();
lib/libc/net/sethostent.c
132
res_state res = __res_get_state();
lib/libc/resolv/h_errno.c
55
__h_errno_set(res_state res, int err)
lib/libc/resolv/res_data.c
108
int res_ourserver_p(const res_state, const struct sockaddr *);
lib/libc/resolv/res_data.c
120
res_state ores = __res_get_old_state();
lib/libc/resolv/res_debug.c
145
fp_resstat(const res_state statp, FILE *file) {
lib/libc/resolv/res_debug.c
157
do_section(const res_state statp,
lib/libc/resolv/res_debug.c
289
res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
lib/libc/resolv/res_init.c
146
static void res_setoptions(res_state, const char *, const char *);
lib/libc/resolv/res_init.c
189
res_ninit(res_state statp) {
lib/libc/resolv/res_init.c
194
__res_kqinit(res_state statp)
lib/libc/resolv/res_init.c
210
__res_vinit(res_state statp, int preinit) {
lib/libc/resolv/res_init.c
572
res_check(res_state statp, struct timespec *mtime)
lib/libc/resolv/res_init.c
608
res_setoptions(res_state statp, const char *options, const char *source)
lib/libc/resolv/res_init.c
758
res_rndinit(res_state statp)
lib/libc/resolv/res_init.c
777
res_nrandomid(res_state statp)
lib/libc/resolv/res_init.c
808
res_nclose(res_state statp)
lib/libc/resolv/res_init.c
826
res_ndestroy(res_state statp)
lib/libc/resolv/res_init.c
846
res_get_nibblesuffix(res_state statp)
lib/libc/resolv/res_init.c
854
res_get_nibblesuffix2(res_state statp)
lib/libc/resolv/res_init.c
862
res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt)
lib/libc/resolv/res_init.c
914
res_getservers(res_state statp, union res_sockaddr_union *set, int cnt)
lib/libc/resolv/res_mkquery.c
112
res_nmkquery(res_state statp,
lib/libc/resolv/res_mkquery.c
226
res_nopt(res_state statp,
lib/libc/resolv/res_mkquery.c
283
res_nopt_rdata(res_state statp,
lib/libc/resolv/res_private.h
22
extern int res_ourserver_p(const res_state, const struct sockaddr *);
lib/libc/resolv/res_private.h
23
extern int __res_vinit(res_state, int);
lib/libc/resolv/res_query.c
145
res_nquery(res_state statp,
lib/libc/resolv/res_query.c
244
res_nsearch(res_state statp,
lib/libc/resolv/res_query.c
390
res_nquerydomain(res_state statp,
lib/libc/resolv/res_query.c
431
res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) {
lib/libc/resolv/res_send.c
1143
Aerror(const res_state statp, FILE *file, const char *string, int error,
lib/libc/resolv/res_send.c
1166
Perror(const res_state statp, FILE *file, const char *string, int error) {
lib/libc/resolv/res_send.c
174
static struct sockaddr * get_nsaddr(res_state, size_t);
lib/libc/resolv/res_send.c
175
static int send_vc(res_state, const void *, size_t,
lib/libc/resolv/res_send.c
177
static int send_dg(res_state,
lib/libc/resolv/res_send.c
184
static void Aerror(const res_state, FILE *, const char *, int,
lib/libc/resolv/res_send.c
186
static void Perror(const res_state, FILE *, const char *, int);
lib/libc/resolv/res_send.c
193
void res_pquery(const res_state, const u_char *, int, FILE *);
lib/libc/resolv/res_send.c
210
res_ourserver_p(const res_state statp, const struct sockaddr *sa) {
lib/libc/resolv/res_send.c
341
res_nsend(res_state statp,
lib/libc/resolv/res_send.c
638
get_nsaddr(res_state statp, size_t n)
lib/libc/resolv/res_send.c
659
send_vc(res_state statp,
lib/libc/resolv/res_send.c
864
send_dg(res_state statp,
lib/libc/resolv/res_state.c
49
res_state __res_get_state_nothread(void);
lib/libc/resolv/res_state.c
50
void __res_put_state_nothread(res_state);
lib/libc/resolv/res_state.c
59
res_state
lib/libc/resolv/res_state.c
71
__res_put_state_nothread(res_state res)
lib/libpthread/res_state.c
117
__res_put_state(res_state res)
lib/libpthread/res_state.c
131
res_state
lib/libpthread/res_state.c
63
res_state __res_state(void);
lib/libpthread/res_state.c
64
res_state __res_get_state(void);
lib/libpthread/res_state.c
65
void __res_put_state(res_state);
lib/libpthread/res_state.c
82
res_state
lib/libpthread/res_state.c
85
res_state res;
lib/libresolv/res_findzonecut.c
158
res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
183
res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
227
satisfy(res_state statp, const char *mname, rrset_ns *nsrrsp,
lib/libresolv/res_findzonecut.c
256
add_addrs(res_state statp, rr_ns *nsrr,
lib/libresolv/res_findzonecut.c
274
get_soa(res_state statp, const char *dname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
414
get_ns(res_state statp, const char *zname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
447
get_glue(res_state statp, ns_class class, int opts, rrset_ns *nsrrsp) {
lib/libresolv/res_findzonecut.c
520
save_ns(res_state statp, ns_msg *msg, ns_sect sect,
lib/libresolv/res_findzonecut.c
578
save_a(res_state statp, ns_msg *msg, ns_sect sect,
lib/libresolv/res_findzonecut.c
671
do_query(res_state statp, const char *dname, ns_class class, ns_type qtype,
lib/libresolv/res_findzonecut.c
73
static int satisfy(res_state, const char *, rrset_ns *,
lib/libresolv/res_findzonecut.c
75
static int add_addrs(res_state, rr_ns *,
lib/libresolv/res_findzonecut.c
77
static int get_soa(res_state, const char *, ns_class, int,
lib/libresolv/res_findzonecut.c
80
static int get_ns(res_state, const char *, ns_class, int, rrset_ns *);
lib/libresolv/res_findzonecut.c
81
static int get_glue(res_state, ns_class, int, rrset_ns *);
lib/libresolv/res_findzonecut.c
82
static int save_ns(res_state, ns_msg *, ns_sect,
lib/libresolv/res_findzonecut.c
84
static int save_a(res_state, ns_msg *, ns_sect,
lib/libresolv/res_findzonecut.c
89
static int do_query(res_state, const char *, ns_class, ns_type,
lib/libresolv/res_mkupdate.c
84
res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) {
lib/libresolv/res_private.h
20
res_ourserver_p(const res_state statp, const struct sockaddr *sa);
lib/libresolv/res_sendsigned.c
32
res_nsendsigned(res_state statp, const u_char *msg, int msglen,
lib/libresolv/res_sendsigned.c
35
res_state nstatp;
lib/libresolv/res_sendsigned.c
48
nstatp = (res_state) malloc(sizeof(*statp));
lib/libresolv/res_update.c
99
res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) {