/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | dns.c | 61 struct dns_p *dns; in irs_dns_acc() local 70 if (!(dns = memget(sizeof *dns))) { in irs_dns_acc() 75 memset(dns, 0x5e, sizeof *dns); in irs_dns_acc() 76 dns->res = NULL; in irs_dns_acc() 77 dns->free_res = NULL; in irs_dns_acc() 78 if (hesiod_init(&dns->hes_ctx) < 0) { in irs_dns_acc() 84 dns->hes_ctx = NULL; in irs_dns_acc() 86 acc->private = dns; in irs_dns_acc() 111 struct dns_p *dns = (struct dns_p *)this->private; in dns_res_get() local 113 if (dns->res == NULL) { in dns_res_get() [all …]
|
H A D | dns_pr.c | 50 struct dns_p * dns; member 74 struct dns_p *dns = (struct dns_p *)this->private; in irs_dns_pr() local 78 if (!dns->hes_ctx) { in irs_dns_pr() 93 pvt->dns = dns; in irs_dns_pr() 124 struct dns_p *dns = pvt->dns; in pr_byname() local 128 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "protocol"))) in pr_byname() 132 hesiod_free_list(dns->hes_ctx, hes_list); in pr_byname() 139 struct dns_p *dns = pvt->dns; in pr_bynumber() local 145 if (!(hes_list = hesiod_resolve(dns->hes_ctx, numstr, "protonum"))) in pr_bynumber() 149 hesiod_free_list(dns->hes_ctx, hes_list); in pr_bynumber() [all …]
|
H A D | dns_sv.c | 53 struct dns_p * dns; member 83 struct dns_p *dns = (struct dns_p *)this->private; in irs_dns_sv() local 87 if (!dns || !dns->hes_ctx) { in irs_dns_sv() 96 pvt->dns = dns; in irs_dns_sv() 140 struct dns_p *dns = pvt->dns; in sv_byname() local 144 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "service"))) in sv_byname() 148 hesiod_free_list(dns->hes_ctx, hes_list); in sv_byname() 155 struct dns_p *dns = pvt->dns; in sv_byport() local 161 if (!(hes_list = hesiod_resolve(dns->hes_ctx, portstr, "port"))) in sv_byport() 165 hesiod_free_list(dns->hes_ctx, hes_list); in sv_byport() [all …]
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ufn.c | 53 LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns, 100 char **dns = NULL; in ldap_ufn_search_ctx() local 157 if ( (dns = (char **)NSLDAPI_MALLOC( in ldap_ufn_search_ctx() 163 dns[0] = nsldapi_strdup( prefix ); in ldap_ufn_search_ctx() 164 dns[1] = NULL; in ldap_ufn_search_ctx() 166 dns = NULL; in ldap_ufn_search_ctx() 177 if ( dns == NULL ) { in ldap_ufn_search_ctx() 178 if ( (dns = (char **)NSLDAPI_MALLOC( in ldap_ufn_search_ctx() 187 if ( (dns = (char **)NSLDAPI_REALLOC( in ldap_ufn_search_ctx() 188 dns, sizeof(char *) * 2 * max )) in ldap_ufn_search_ctx() [all …]
|
/titanic_44/usr/src/cmd/netfiles/ |
H A D | nsswitch.dns | 27 # /etc/nsswitch.dns: 35 # DNS service expects that an instance of svc:/network/dns/client be 43 # svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M) 44 hosts: files dns mdns 48 ipnodes: files dns mdns
|
H A D | nsswitch.ad | 46 # DNS service expects that an instance of svc:/network/dns/client be 54 hosts: files dns 55 ipnodes: files dns
|
H A D | Makefile | 32 nsswitch.dns nsswitch.ldap nsswitch.ad
|
/titanic_44/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_api.c | 767 u_char dns[2048]; in dst_buffer_to_key() local 785 dnslen = dst_key_to_dnskey(dkey, dns, sizeof(dns)); in dst_buffer_to_key() 786 dkey->dk_id = dst_s_dns_key_id(dns, dnslen); in dst_buffer_to_key() 829 u_char dns[2048]; in dst_s_read_private_key_file() local 901 dnslen = dst_key_to_dnskey(pk_key, dns, sizeof(dns)); in dst_s_read_private_key_file() 902 id = dst_s_dns_key_id(dns, dnslen); in dst_s_read_private_key_file() 956 u_char dns[2048]; in dst_generate_key() local 983 dnslen = dst_key_to_dnskey(new_key, dns, sizeof(dns)); in dst_generate_key() 985 new_key->dk_id = dst_s_dns_key_id(dns, dnslen); in dst_generate_key()
|
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | create_loc_auto | 27 set nameservices=dns 28 set nameservices-config-file=/etc/nsswitch.dns 29 set dns-nameservice-configsrc=dhcp
|
H A D | conditions.c | 283 char *dns, *nis; in get_adv_domains() local 288 dns = nwamd_get_dhcpinfo_data("DNSdmain", ncu->ncu_name); in get_adv_domains() 291 if (dns != NULL || nis != NULL) { in get_adv_domains() 295 adp->dns_domain = dns; in get_adv_domains()
|
/titanic_44/usr/src/lib/libdns_sd/ |
H A D | README | 37 dns-sd: usr/src/cmd/cmd-inet/usr.bin/dns-sd.c 58 * svc:/network/dns/multicast:default introduced to manage mDNS daemon 60 to modify nss_mdns configuration in svc:/network/dns/multicast:default 62 * Default nsswitch.dns includes mdns as source for hosts & ipnodes
|
/titanic_44/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 389 char **dns = NULL; in __s_api_getDNs() local 411 dns = (char **)calloc(2, sizeof (char *)); in __s_api_getDNs() 412 if (dns == NULL) { in __s_api_getDNs() 418 dns[0] = strdup((char *)*paramVal); in __s_api_getDNs() 419 if (dns[0] == NULL) { in __s_api_getDNs() 421 free(dns); in __s_api_getDNs() 431 dns[0] = (char *) in __s_api_getDNs() 433 if (dns[0] == NULL) { in __s_api_getDNs() 436 free(dns); in __s_api_getDNs() 439 (void) strcpy(dns[0], in __s_api_getDNs() [all …]
|
H A D | ns_mapping.c | 336 char **dns = NULL; in __s_api_parseASearchDesc() local 591 rc = __s_api_getDNs(&dns, service, &error); in __s_api_parseASearchDesc() 593 if (dns) { in __s_api_parseASearchDesc() 594 __s_api_free2dArray(dns); in __s_api_parseASearchDesc() 595 dns = NULL; in __s_api_parseASearchDesc() 602 ptr->basedn = strdup(dns[0]); in __s_api_parseASearchDesc() 603 __s_api_free2dArray(dns); in __s_api_parseASearchDesc() 604 dns = NULL; in __s_api_parseASearchDesc()
|
H A D | ns_sasl.c | 311 int ldap, dns, i, pserr, rc = NS_LDAP_SUCCESS; in test_dns_nsswitch() local 331 ldap = dns = 0; in test_dns_nsswitch() 352 dns++; in test_dns_nsswitch() 364 if (!dns) { in test_dns_nsswitch()
|
H A D | ns_reads.c | 3070 char **dns = NULL; in ldap_list() local 3135 rc = __s_api_getDNs(&dns, service, &cookie->errorp); in ldap_list() 3137 if (dns) { in ldap_list() 3138 __s_api_free2dArray(dns); in ldap_list() 3139 dns = NULL; in ldap_list() 3148 dptr->basedn = strdup(dns[0]); in ldap_list() 3149 __s_api_free2dArray(dns); in ldap_list() 3150 dns = NULL; in ldap_list() 3735 char **dns = NULL; in firstEntry() local 3772 rc = __s_api_getDNs(&dns, service, &error); in firstEntry() [all …]
|
/titanic_44/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 79 char **ips = NULL, **dns = NULL; in _nss_ldap_hosts2str_int() local 133 dns = __ns_ldap_getAttr(entry, _H_DN); in _nss_ldap_hosts2str_int() 134 if (dns == NULL || dns[0] == NULL || strlen(dns[0]) in _nss_ldap_hosts2str_int() 140 be->toglue = _get_domain_name(dns[0]); in _nss_ldap_hosts2str_int()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 193 <TSTATE>dns-nameservice-configsrc { return LOC_DNS_CONFIGSRC; } 194 <TSTATE>dns-nameservice-domain { return LOC_DNS_DOMAIN; } 195 <TSTATE>dns-nameservice-servers { return LOC_DNS_SERVERS; } 196 <TSTATE>dns-nameservice-search { return LOC_DNS_SEARCH; }
|
/titanic_44/usr/src/lib/libresolv2/ |
H A D | Makefile | 30 MANIFESTDIR= $(ROOT)/lib/svc/manifest/network/dns 35 SVCMETHOD= dns-install
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | Makefile | 28 PROG= dns-sd finger rdate ruptime rwho whois 81 dns-sd := CFLAGS += $(C99_ENABLE) 86 dns-sd := LDLIBS += -lsocket -ldns_sd
|
/titanic_44/usr/src/cmd/svc/milestone/ |
H A D | net-loc | 184 DNS_CONFIGSRC=`nwam_get_loc_list_prop $loc dns-nameservice-configsrc` 194 dns-nameservice-servers` 200 dns-nameservice-domain` 202 dns-nameservice-search`
|
/titanic_44/usr/src/lib/nsswitch/ |
H A D | Makefile | 30 SUBDIRS= files nis compat dns ldap user mdns ad
|
/titanic_44/usr/src/cmd/sendmail/cf/feature/ |
H A D | badmx.m4 | 22 KdnsA dns -R A -a. -T<TEMP>
|
H A D | mtamark.m4 | 19 Kmtamark dns -R TXT -a. -T<TMP> -r`'ifdef(`MTAMARK_TO',`MTAMARK_TO',`5')
|
/titanic_44/usr/src/pkg/manifests/ |
H A D | service-network-dns-mdns.mf | 27 set name=pkg.fmri value=pkg:/service/network/dns/mdns@$(PKGVERS) 38 dir path=lib/svc/manifest/network/dns group=sys 60 file path=lib/svc/manifest/network/dns/multicast.xml group=sys mode=0444 61 file path=usr/bin/dns-sd mode=0555 147 file path=usr/share/man/man1m/dns-sd.1m
|
/titanic_44/usr/src/cmd/sendmail/cf/sh/ |
H A D | check-hostname.sh | 161 dns)
|