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

/illumos-gate/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...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c79 char **ips = NULL, **dns = NULL; local
133 dns = __ns_ldap_getAttr(entry, _H_DN);
134 if (dns == NULL || dns[0] == NULL || strlen(dns[0])
140 be->toglue = _get_domain_name(dns[0]);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sasl.c50 #define DNS_FMRI "svc:/network/dns/client:default"
258 * Find "hosts: files dns" and return " files dns"
301 * dns has to be present and appear before ldap
303 * "dns" , "dns files" "dns ldap files", "files dns" are allowed.
305 * Kerberos requires dns or it'd fail.
311 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.c389 char **dns = NULL; local
411 dns = (char **)calloc(2, sizeof (char *));
412 if (dns == NULL) {
418 dns[0] = strdup((char *)*paramVal);
419 if (dns[0] == NULL) {
421 free(dns);
431 dns[0] = (char *)
433 if (dns[0] == NULL) {
436 free(dns);
439 (void) strcpy(dns[
523 char **dns = NULL; local
[all...]
H A Dns_writes.c3799 char **dns = NULL; local
3855 rc = __s_api_getDNs(&dns, service, errorp);
3857 if (dns) {
3858 __s_api_free2dArray(dns);
3859 dns = NULL;
3864 (void) snprintf(trdn, RDNSIZE, "%s,%s", rdn, dns[0]);
3865 __s_api_free2dArray(dns);
H A Dns_reads.c3070 char **dns = NULL; local
3135 rc = __s_api_getDNs(&dns, service, &cookie->errorp);
3137 if (dns) {
3138 __s_api_free2dArray(dns);
3139 dns = NULL;
3148 dptr->basedn = strdup(dns[0]);
3149 __s_api_free2dArray(dns);
3150 dns = NULL;
3735 char **dns = NULL; local
3772 rc = __s_api_getDNs(&dns, servic
4321 char **dns, *dn1; local
5659 char **dns = NULL; local
[all...]
H A Dns_internal.h679 char **dns; member in struct:ns_ldap_cookie
/illumos-gate/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...]
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c283 char *dns, *nis; local
288 dns = nwamd_get_dhcpinfo_data("DNSdmain", ncu->ncu_name);
291 if (dns != NULL || nis != NULL) {
295 adp->dns_domain = dns;
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c459 dns2dn(const char *dns, const char *prefix) argument
465 for (it = dns; it != NULL; it = strchr(it, '.')) {
470 buf = (char *)malloc(strlen(prefix) + strlen(dns) + 4 * num_lvl);
474 it = dns;
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c87 adutils_dns2dn(const char *dns) argument
91 return (ldap_dns_to_dn((char *)dns, &num_parts));
H A Daddisc.c596 char dns[DNS_MAX_NAME]; local
614 dns[j++] = '.';
617 dns[j++] = dn_name[i++];
628 dns[j] = '\0';
631 (void) strlcpy(dns_name, dns, j + 1);

Completed in 100 milliseconds