Searched refs:res_state (Results 1 - 20 of 20) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/common/
H A Dllib-lresolv42 int res_ninit(res_state);
43 void fp_resstat(const res_state, FILE *);
44 const char * res_hostalias(const res_state, const char *, char *, size_t);
45 int res_nquery(res_state, const char *, int, int, u_char *, int);
46 int res_nsearch(res_state, const char *, int, int, u_char *, int);
47 int res_nquerydomain(res_state, const char *, const char *,
49 int res_nmkquery(res_state, int, const char *, int, int,
52 int res_nsend(res_state, const u_char *, int, u_char *, int);
53 int res_nmkupdate(res_state, ns_updrec *, u_char *, int);
54 void res_nclose(res_state);
[all...]
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_private.h37 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
46 extern void res_set_defer_state(res_state statp, int ns,
48 extern void res_get_defer_state(res_state statp, int ns,
H A Dres_findzonecut.c69 static int satisfy(res_state, const char *, rrset_ns *,
71 static int add_addrs(res_state, rr_ns *,
73 static int get_soa(res_state, const char *, ns_class, int,
76 static int get_ns(res_state, const char *, ns_class, int, rrset_ns *);
77 static int get_glue(res_state, ns_class, int, rrset_ns *);
78 static int save_ns(res_state, ns_msg *, ns_sect,
80 static int save_a(res_state, ns_msg *, ns_sect,
85 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,
179 res_findzonecut2(res_state stat
[all...]
H A Dres_mkquery.c105 static int _confcheck(res_state statp);
114 res_nmkquery(res_state statp,
238 res_nopt(res_state statp,
292 res_nopt_rdata(res_state statp,
339 static int _confcheck(res_state statp)
H A Dres_sendsigned.c29 res_nsendsigned(res_state statp, const u_char *msg, int msglen,
32 res_state nstatp;
45 nstatp = (res_state) malloc(sizeof(*statp));
H A Dres_init.c141 static void res_setoptions __P((res_state, const char *, const char *));
179 res_ninit(res_state statp) {
180 extern int __res_vinit(res_state, int);
186 __res_vinit(res_state statp, int preinit) {
642 res_setoptions(res_state statp, const char *options, const char *source)
863 res_rndinit(res_state statp)
882 res_nrandomid(res_state statp) {
912 res_nclose(res_state statp) {
929 res_ndestroy(res_state statp) {
938 res_get_nibblesuffix(res_state stat
[all...]
H A Dres_send.c135 static struct sockaddr * get_nsaddr __P((res_state, size_t));
136 static int send_vc(res_state, const u_char *, int,
138 static int send_dg(res_state, const u_char *, int,
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 *);
179 res_ourserver_p(const res_state statp, const struct sockaddr *sa) {
310 res_nsend(res_state statp,
666 res_state statp;
688 send_vc(res_state stat
[all...]
H A Dres_query.c111 res_nquery(res_state statp,
212 res_nsearch(res_state statp,
358 res_nquerydomain(res_state statp,
403 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) {
H A Dres_data.c101 int res_ourserver_p(const res_state, const struct sockaddr_in *);
105 extern int __res_vinit(res_state, int);
H A Dres_update.c94 res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) {
H A Dres_debug.c158 fp_resstat(const res_state statp, FILE *file) {
169 do_section(const res_state statp,
298 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
H A Dres_mkupdate.c81 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) {
/osnet-11/usr/src/lib/libresolv2/include/
H A Dres_update.h83 int res_nmkupdate __P((res_state, ns_updrec *, u_char *, int));
84 int res_nupdate __P((res_state, ns_updrec *, ns_tsig_key *));
H A Dirs.h50 void (*res_set) __P((struct irs_gr *, res_state,
66 void (*res_set) __P((struct irs_pw *, res_state,
83 void (*res_set) __P((struct irs_sv *, res_state,
99 void (*res_set) __P((struct irs_pr *, res_state,
117 void (*res_set) __P((struct irs_ho *, res_state,
135 void (*res_set) __P((struct irs_nw *, res_state,
177 void (*res_set) __P((struct irs_acc *, res_state,
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_info.c342 struct __res_state res_state; local
348 bzero(&res_state, sizeof (struct __res_state));
349 if (res_ninit(&res_state))
352 if (*res_state.defdname == '\0') {
353 res_ndestroy(&res_state);
357 (void) strlcpy(buf, res_state.defdname, buflen);
358 res_ndestroy(&res_state);
722 struct __res_state res_state; local
728 bzero(&res_state, sizeof (struct __res_state));
729 if (res_ninit(&res_state) <
[all...]
/osnet-11/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c167 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, uchar_t *buf, int length) {
200 res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) {
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_ads.c680 struct __res_state res_state; local
686 bzero(&res_state, sizeof (struct __res_state));
687 if (res_ninit(&res_state) < 0)
690 len = res_nquerydomain(&res_state, msdcs_svc_name, domain,
695 msdcs_svc_name, hstrerror(res_state.res_h_errno));
696 res_ndestroy(&res_state);
703 res_ndestroy(&res_state);
722 res_ndestroy(&res_state);
728 res_ndestroy(&res_state);
736 res_ndestroy(&res_state);
[all...]
H A Dsmbns_dyndns.c375 dyndns_get_update_info(res_state statp, dyndns_zone_dir_t update_zone,
651 dyndns_build_tkey_msg(res_state statp, uchar_t *buf, int buf_sz,
800 dyndns_establish_sec_ctx(res_state statp,
962 dyndns_get_sec_context(res_state statp,
1047 dyndns_build_update_msg(res_state statp, uchar_t *buf, size_t buf_sz,
1273 res_state statp;
/osnet-11/usr/src/lib/libadutils/common/
H A Daddisc.c152 struct __res_state res_state; member in struct:ad_disc
199 (ctx)->res_ninitted = (res_ninit(&ctx->res_state) != -1)
663 srv_query(res_state state, const char *svc_name, const char *dname,
1191 res_ndestroy(&ctx->res_state);
1231 res_ndestroy(&ctx->res_state);
1232 (void) memset(&ctx->res_state, 0, sizeof (ctx->res_state));
1233 ctx->res_ninitted = res_ninit(&ctx->res_state) != -1;
1298 domain_controller = srv_query(&ctx->res_state,
1402 domain_controller = srv_query(&ctx->res_state,
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Ddns_ho.c164 static void addrsort(res_state, char **, int);
1095 addrsort(res_state statp, char **ap, int num) {

Completed in 258 milliseconds