Searched defs:dns (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Ddns.c19 static const char rcsid[] = "$Id: dns.c,v 1.5 2006/03/09 23:57:56 marka Exp $";
24 * dns.c --- this is the top-level accessor function for the dns
61 struct dns_p *dns; local
70 if (!(dns = memget(sizeof *dns))) {
75 memset(dns, 0x5e, sizeof *dns);
76 dns->res = NULL;
77 dns
111 struct dns_p *dns = (struct dns_p *)this->private; local
132 struct dns_p *dns = (struct dns_p *)this->private; local
144 struct dns_p *dns; local
[all...]
H A Ddns_pr.c50 struct dns_p * dns; member in struct:pvt
74 struct dns_p *dns = (struct dns_p *)this->private; local
78 if (!dns->hes_ctx) {
93 pvt->dns = dns;
124 struct dns_p *dns = pvt->dns; local
128 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "protocol")))
132 hesiod_free_list(dns->hes_ctx, hes_list);
139 struct dns_p *dns local
175 struct dns_p *dns = pvt->dns; local
184 struct dns_p *dns = pvt->dns; local
[all...]
H A Ddns_sv.c53 struct dns_p * dns; member in struct:pvt
83 struct dns_p *dns = (struct dns_p *)this->private; local
87 if (!dns || !dns->hes_ctx) {
96 pvt->dns = dns;
140 struct dns_p *dns = pvt->dns; local
144 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "service")))
148 hesiod_free_list(dns
155 struct dns_p *dns = pvt->dns; local
285 struct dns_p *dns = pvt->dns; local
294 struct dns_p *dns = pvt->dns; local
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dufn.c63 void *cancelparm, char **dns, char *filter, int scope,
107 char **dns; local
168 if ( (dns = (char **) malloc( sizeof(char *)
175 dns[0] = strdup( prefix );
176 dns[1] = NULL;
178 dns = NULL;
189 if ( dns == NULL ) {
190 if ( (dns = (char **) malloc(
200 if ( (dns = (char **) realloc( dns,
483 ldap_ufn_expand( LDAP *ld, cancelptype cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dufn.c53 LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns,
100 char **dns = NULL; local
157 if ( (dns = (char **)NSLDAPI_MALLOC(
163 dns[0] = nsldapi_strdup( prefix );
164 dns[1] = NULL;
166 dns = NULL;
177 if ( dns == NULL ) {
178 if ( (dns = (char **)NSLDAPI_MALLOC(
187 if ( (dns = (char **)NSLDAPI_REALLOC(
188 dns, sizeo
445 ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c77 char **ips = NULL, **dns = NULL; local
131 dns = __ns_ldap_getAttr(entry, _H_DN);
132 if (dns == NULL || dns[0] == NULL || strlen(dns[0])
138 be->toglue = _get_domain_name(dns[0]);
H A Dgetgrent.c145 * -- dns
186 int dns; member in struct:__anon2780
948 /* found a posixGroup dn, pack up the users and dns */
1026 pres->dns++;
1377 for (i = pres->dns; --i >= 0; ) {
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sasl.c50 #define DNS_FMRI "svc:/network/dns/client:default"
339 * Find "hosts: files dns" and return " files dns"
382 * dns has to be present and appear before ldap
384 * "dns" , "dns files" "dns ldap files", "files dns" are allowed.
386 * Kerberos requires dns or it'd fail.
393 int ldap, dns, local
[all...]
H A Dns_mapping.c336 char **dns = NULL; local
591 rc = __s_api_getDNs(&dns, service, &error);
593 if (dns) {
594 __s_api_free2dArray(dns);
595 dns = NULL;
602 ptr->basedn = strdup(dns[0]);
603 __s_api_free2dArray(dns);
604 dns = NULL;
H A Dns_common.c469 char **dns = NULL; local
491 dns = (char **)calloc(2, sizeof (char *));
492 if (dns == NULL) {
498 dns[0] = strdup((char *)*paramVal);
499 if (dns[0] == NULL) {
501 free(dns);
511 dns[0] = (char *)
513 if (dns[0] == NULL) {
516 free(dns);
519 (void) strcpy(dns[
603 char **dns = NULL; local
[all...]
H A Dns_writes.c4004 char **dns = NULL; local
4060 rc = __s_api_getDNs(&dns, service, errorp);
4062 if (dns) {
4063 __s_api_free2dArray(dns);
4064 dns = NULL;
4069 (void) snprintf(trdn, RDNSIZE, "%s,%s", rdn, dns[0]);
4070 __s_api_free2dArray(dns);
H A Dns_internal.h775 char **dns; member in struct:ns_ldap_cookie
H A Dns_reads.c3776 char **dns = NULL; local
3843 rc = __s_api_getDNs(&dns, service, &cookie->errorp);
3845 if (dns) {
3846 __s_api_free2dArray(dns);
3847 dns = NULL;
3856 dptr->basedn = strdup(dns[0]);
3857 __s_api_free2dArray(dns);
3858 dns = NULL;
4692 char **dns = NULL; local
4731 rc = __s_api_getDNs(&dns, servic
5315 char **dns, *dn1; local
6656 char **dns = NULL; local
[all...]
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c153 * flags: the dns flags of the key
154 * protocol: the dns protocol of the key
759 const int flags, /*!< dns flags */
760 const int protocol, /*!< dns protocol */
761 const u_char *key_buf, /*!< key in dns wire fmt */
767 u_char dns[2048]; local
785 dnslen = dst_key_to_dnskey(dkey, dns, sizeof(dns));
786 dkey->dk_id = dst_s_dns_key_id(dns, dnslen);
829 u_char dns[204 local
956 u_char dns[2048]; local
[all...]
/osnet-11/usr/src/lib/libadutils/common/
H A Dadutils.c88 adutils_dns2dn(const char *dns) argument
92 return (ldap_dns_to_dn((char *)dns, &num_parts));
H A Daddisc.c567 char dns[DNS_MAX_NAME]; local
585 dns[j++] = '.';
588 dns[j++] = dn_name[i++];
599 dns[j] = '\0';
602 (void) strlcpy(dns_name, dns, j + 1);

Completed in 2350 milliseconds