Home
last modified time | relevance | path

Searched refs:domainname (Results 1 – 25 of 66) sorted by relevance

123

/titanic_50/usr/src/lib/libnsl/rpc/
H A Dnetname.c273 char domainname[MAXHOSTNAMELEN + 1]; in host2netname() local
304 if (len >= sizeof (domainname)) { in host2netname()
307 (void) strcpy(domainname, p); in host2netname()
309 domainname[0] = NULL; in host2netname()
310 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0) in host2netname()
315 if (len >= sizeof (domainname)) { in host2netname()
318 (void) strcpy(domainname, domain); in host2netname()
321 i = strlen(domainname); in host2netname()
325 if (domainname[i - 1] == '.') in host2netname()
326 domainname[i - 1] = 0; in host2netname()
[all …]
H A Dnetnamer.c470 char *p, *domainname; in netname2host() local
485 domainname = strchr(p, '@'); /* get domain name */ in netname2host()
486 if (domainname == 0) in netname2host()
489 len = domainname - p; /* host sits between '.' and '@' */ in netname2host()
490 domainname++; /* skip '@' sign */ in netname2host()
510 dlen = strlen(domainname); in netname2host()
518 (void) strncpy(hostname+len+1, domainname, dlen); in netname2host()
/titanic_50/usr/src/head/rpcsvc/
H A Dyp.x76 typedef string domainname<YPMAXDOMAIN>;
84 domainname domain;
91 domainname domain;
97 domainname domain;
210 domainname ypsetdom_domain;
225 YPPROC_DOMAIN(domainname) = 1;
228 YPPROC_DOMAIN_NONACK(domainname) = 2;
255 YPPROC_MAPLIST(domainname) = 11;
283 YPBINDPROC_DOMAIN(domainname) = 1;
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Ddnssec.h43 domainname name;
93 domainname origName; // Original question name that needs verification
105 domainname *wildcardName; // set if the answer is wildcard expanded
140 extern DNSSECVerifier *AllocateDNSSECVerifier(mDNS *const m, const domainname *name, mDNSu16 rrtype…
142 …uestion(mDNS *const m, DNSQuestion *question, mDNSInterfaceID InterfaceID, const domainname *qname,
146 extern mStatus DNSNameToLowerCase(domainname *d, domainname *result);
148 extern int DNSSECCanonicalOrder(const domainname *const d1, const domainname *const d2, int *subdom…
149 extern void ProveInsecure(mDNS *const m, DNSSECVerifier *dv, InsecureContext *ic, domainname *trigg…
H A Duds_daemon.h60 extern int CountExistingRegistrations(domainname *srv, mDNSIPPort port);
66 extern void machserver_automatic_browse_domain_changed(const domainname *d, mDNSBool add);
67 extern void machserver_automatic_registration_domain_changed(const domainname *d, mDNSBool add);
69 extern void external_start_browsing_for_service(mDNSInterfaceID InterfaceID, const domainname *cons…
70 extern void external_stop_browsing_for_service(mDNSInterfaceID InterfaceID, const domainname *const…
73 extern void external_start_resolving_service(mDNSInterfaceID InterfaceID, const domainname *const f…
74 extern void external_stop_resolving_service(mDNSInterfaceID InterfaceID, const domainname *const fq…
75 extern void external_connection_release(const domainname *instance);
H A DmDNSEmbeddedAPI.h403 typedef struct { mDNSu8 c[256]; } domainname; // Up to 256 bytes of length-prefixed domainlab… typedef
763 typedef packedstruct { mDNSu16 priority; mDNSu16 weight; mDNSIPPort port; domainname target; } rd…
764 typedef packedstruct { mDNSu16 preference; domainname exchange; } rd…
765 typedef packedstruct { domainname mbox; domainname txt; } rd…
766 typedef packedstruct { mDNSu16 preference; domainname map822; domainname mapx400; } rd…
770 domainname mname;
771 domainname rname;
821 domainname zone;
1002domainname *next; //placeholders are uncommented because C89 in Windows requires that a struct has…
1032 domainname name; // For PTR, NS, CNAME, DNAME
[all …]
H A DDNSCommon.h113 extern mDNSu16 CompressedDomainNameLength(const domainname *const name, const domainname *parent);
114 extern int CountLabels(const domainname *d);
115 extern const domainname *SkipLeadingLabels(const domainname *d, int skip);
174 extern mStatus DNSNameToLowerCase(domainname *d, domainname *result);
191 …const DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name);
216 …n(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDN…
217 extern mDNSu8 *putZone(DNSMessage *const msg, mDNSu8 *ptr, mDNSu8 *limit, const domainname *zone, m…
218 extern mDNSu8 *putPrereqNameNotInUse(const domainname *const name, DNSMessage *const msg, mDNSu8 *c…
221 extern mDNSu8 *putDeleteRRSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu1…
222 extern mDNSu8 *putDeleteAllRRSets(DNSMessage *msg, mDNSu8 *ptr, const domainname *name);
[all …]
H A DDNSCommon.c447 domainname *next = (domainname *)rd->data; in GetRRDisplayString_rdb()
513 … expTimeBuf, inceptTimeBuf, swap16(rrsig->keyTag), ((domainname *)(&rrsig->signerName))->c); in GetRRDisplayString_rdb()
515 len = DomainNameLength((domainname *)&rrsig->signerName); in GetRRDisplayString_rdb()
642 mDNSexport mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2) in SameDomainName()
660 mDNSexport mDNSBool SameDomainNameCS(const domainname *const d1, const domainname *const d2) in SameDomainNameCS()
667 mDNSexport mDNSBool IsLocalDomain(const domainname *d) in IsLocalDomain()
671 static const domainname *nL = (const domainname*)"\x5" "local"; in IsLocalDomain()
672 …static const domainname *nR = (const domainname*)"\x3" "254" "\x3" "169" "\x7" "in-addr" "… in IsLocalDomain()
673 …static const domainname *n8 = (const domainname*)"\x1" "8" "\x1" "e" "\x1" "f" "\x3" "ip6" "… in IsLocalDomain()
674 …static const domainname *n9 = (const domainname*)"\x1" "9" "\x1" "e" "\x1" "f" "\x3" "ip6" "… in IsLocalDomain()
[all …]
H A Danonymous.c79 mDNSlocal ResourceRecord *ConstructNSEC3Record(const domainname *service, const mDNSu8 *AnonData, i… in ConstructNSEC3Record()
83 domainname *name; in ConstructNSEC3Record()
98 name = (domainname *)((mDNSu8 *)rr + sizeof(ResourceRecord)); in ConstructNSEC3Record()
101 rr->name = (const domainname *)name; in ConstructNSEC3Record()
122 domainname *name; in CopyNSEC3ResourceRecord()
137 name = (domainname *)((mDNSu8 *)nsec3rr + sizeof(ResourceRecord)); in CopyNSEC3ResourceRecord()
138 nsec3rr->name = (const domainname *)name; in CopyNSEC3ResourceRecord()
155 mDNSexport AnonymousInfo *AllocateAnonInfo(const domainname *service, const mDNSu8 *data, int len,… in AllocateAnonInfo()
200 mDNSexport void ReInitAnonInfo(AnonymousInfo **AnonInfo, const domainname *name) in ReInitAnonInfo()
420 …l CacheRecord *FindMatchingNSEC3ForName(mDNS *const m, CacheRecord **nsec3, const domainname *name) in FindMatchingNSEC3ForName()
[all …]
H A Dnsec.h26 extern int CountLabelsMatch(const domainname *const d1, const domainname *const d2);
30 extern CacheRecord *NSECRecordIsDelegation(mDNS *const m, domainname *name, mDNSu16 qtype);
H A DPlatformCommon.h18 …sFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *c…
H A Danonymous.h21 extern void ReInitAnonInfo(AnonymousInfo **si, const domainname *name);
22 extern AnonymousInfo *AllocateAnonInfo(const domainname *service, const mDNSu8 *AnonData, int len, …
H A DuDNS.h104 extern const domainname *GetServiceTarget(mDNS *m, AuthRecord *const rr);
127 extern domainname *uDNS_GetNextSearchDomain(mDNS *const m, mDNSInterfaceID InterfaceID, mDNSs8…
138 extern DomainAuthInfo *GetAuthInfoForName_internal(mDNS *m, const domainname *const name);
/titanic_50/usr/src/cmd/keyserv/
H A Ddomainname.c48 char domainname[256]; variable
64 if (getdomainname(domainname, sizeof (domainname)) < 0) { in main()
68 printf("%s\n", domainname); in main()
H A DMakefile27 BINPROG = keylogout keylogin domainname chkey
44 DOMAINNAMEOBJS = domainname.o
111 domainname: $(DOMAINNAMEOBJS) target
/titanic_50/usr/src/cmd/backup/lib/
H A Drmtlib.c49 static char *domainname = "hsm_libdump"; /* for dgettext() */ variable
144 print(dgettext(domainname, "Lost connection to remote host.\n")); in rmtconnaborted()
163 print(dgettext(domainname, in rmtgetconn()
169 print(dgettext(domainname, in rmtgetconn()
222 print(dgettext(domainname, in okname()
288 print(dgettext(domainname, in rmtstatus()
291 print(dgettext(domainname, in rmtstatus()
332 print(dgettext(domainname, in rmtread()
335 print(dgettext(domainname, in rmtread()
480 print(dgettext(domainname, in rmtreply()
[all …]
H A Dgetdate.y104 static char *domainname = "hsm_libdump"; /* for dgettext() */ variable
731 dgettext(domainname, "%s: Environment variable %s not set\n"),
739 dgettext(domainname, "%s: Unkown getdate() error\n"), p);
743 dgettext(domainname, "%s: %s null or undefined\n"), p, name);
746 fprintf(stderr, dgettext(domainname,
750 fprintf(stderr, dgettext(domainname,
754 fprintf(stderr, dgettext(domainname,
758 fprintf(stderr, dgettext(domainname,
762 fprintf(stderr, dgettext(domainname,
766 fprintf(stderr, dgettext(domainname,
[all …]
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Utils/
H A DUtils.xs84 dcgettext(domainname, msgid, category)
85 char *domainname
94 dgettext(domainname, msgid)
95 char *domainname
/titanic_50/usr/src/common/iscsi/
H A Dutils.c254 char domainname[256]; in utils_iqn_create() local
265 if (getdomainname(domainname, sizeof (domainname))) { in utils_iqn_create()
270 strlen(domainname) + 2)) == NULL) { in utils_iqn_create()
279 if ((p = strchr(domainname, '.')) == NULL) in utils_iqn_create()
280 p = domainname; in utils_iqn_create()
/titanic_50/usr/src/cmd/idmap/test-getdc/
H A Dgetdc_main.c25 char *domainname = NULL; variable
51 domainname = argv[optind]; in main()
59 if (domainname) in main()
60 (void) ad_disc_set_DomainName(ad_ctx, domainname); in main()
/titanic_50/usr/src/cmd/msgfmt/
H A Dgnu_handle.c219 handle_domain(char *domainname) in handle_domain() argument
228 cur_line, cur_po, domainname); in handle_domain()
230 free(domainname); in handle_domain()
239 tmp = Xrealloc(domainname, strlen(domainname) + 3 + 1); in handle_domain()
241 domainname = tmp; in handle_domain()
243 catalog_init(domainname); in handle_domain()
244 free(domainname); in handle_domain()
/titanic_50/usr/src/cmd/logadm/
H A Dtester588 $domainname = `/bin/domainname`; chomp $domainname;
621 domain $domainname
660 $domainname = `/bin/domainname`; chomp $domainname;
692 domain $domainname
/titanic_50/usr/src/cmd/ypcmd/
H A Dyp.sh38 domain=`domainname`
173 domain=`domainname`
205 domain=`domainname`
H A Dmakedbm.c127 char *infilename, *outfilename, *mastername, *domainname, local
143 infilename = outfilename = mastername = domainname = interdomain_bind =
169 domainname = argv[1];
438 if (domainname)
439 addpair(fdb, yp_domain_name, domainname);
/titanic_50/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c78 const char *domainname);
80 const char *domainname);
305 test_condition_sys_domain(nwam_condition_t condition, const char *domainname) in test_condition_sys_domain() argument
312 return (test_condition_domain(condition, domainname, cur_domainname)); in test_condition_sys_domain()
316 test_condition_adv_domain(nwam_condition_t condition, const char *domainname) in test_condition_adv_domain() argument
341 if ((test_condition_domain(condition, domainname, in test_condition_adv_domain()
343 (test_condition_domain(condition, domainname, in test_condition_adv_domain()

123