Searched refs:DeconstructServiceName (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10/KerberosHelper-151/Source/
H A DDeconstructServiceName.c168 // DeconstructServiceName is currently fairly forgiving: It doesn't try to enforce character
171 // DeconstructServiceName will reject it and return false.
172 static Boolean DeconstructServiceName(const domainname *const fqdn, domainlabel *const name, domainname *const type, domainname *const domain) { function
180 if (!len) { /*fprintf(stderr, "DeconstructServiceName: FQDN empty!");*/ return(false); }
181 if (len > MAX_DOMAIN_LABEL) { /*fprintf(stderr, "DeconstructServiceName: Instance name too long");*/ return(false); }
186 if (!len) { /*fprintf(stderr, "DeconstructServiceName: FQDN contains only one label!");*/ return(false); }
187 if (len > MAX_DOMAIN_LABEL) { /*fprintf(stderr, "DeconstructServiceName: Application protocol name too long");*/ return(false); }
188 if (src[1] != '_') { /*fprintf(stderr, "DeconstructServiceName: No _ at start of application protocol");*/ return(false); }
192 if (!len) { /*fprintf(stderr, "DeconstructServiceName: FQDN contains only two labels!");*/ return(false); }
193 if (!ValidTransportProtocol(src)) { /*fprintf(stderr, "DeconstructServiceName
[all...]
/macosx-10.10/mDNSResponder-561.1.1/mDNSPosix/
H A DClient.c57 DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain);
H A DProxyResponder.c199 DeconstructServiceName(rr->resrec.name, &n, &t, &d);
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOS9/
H A DMac OS Test Searcher.c72 DeconstructServiceName(&s->name, &name, &type, &domain);
/macosx-10.10/mDNSResponder-561.1.1/mDNSShared/
H A Ddnssd_clientshim.c178 if (!DeconstructServiceName(sr->RR_SRV.resrec.name, &name, &type, &dom)) return;
368 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain))
H A Duds_daemon.c567 if (!DeconstructServiceName(servicename, &name, &type, &dom))
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/
H A Ddaemon.c673 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain))
2236 DeconstructServiceName(&r->result, &name, &type, &domain); // Don't need to check result; already validated in FoundInstance()
/macosx-10.10/mDNSResponder-561.1.1/mDNSCore/
H A DmDNSEmbeddedAPI.h2861 extern mDNSBool DeconstructServiceName(const domainname *const fqdn, domainlabel *const name, domainname *const type, domainname *const domain);
H A DDNSCommon.c1086 // DeconstructServiceName is currently fairly forgiving: It doesn't try to enforce character
1089 // DeconstructServiceName will reject it and return mDNSfalse.
1090 mDNSexport mDNSBool DeconstructServiceName(const domainname *const fqdn, function
1100 if (!len) { debugf("DeconstructServiceName: FQDN empty!"); return(mDNSfalse); }
1101 if (len >= 0x40) { debugf("DeconstructServiceName: Instance name too long"); return(mDNSfalse); }
1106 if (!len) { debugf("DeconstructServiceName: FQDN contains only one label!"); return(mDNSfalse); }
1107 if (len >= 0x40) { debugf("DeconstructServiceName: Application protocol name too long"); return(mDNSfalse); }
1108 if (src[1] != '_') { debugf("DeconstructServiceName: No _ at start of application protocol"); return(mDNSfalse); }
1112 if (!len) { debugf("DeconstructServiceName: FQDN contains only two labels!"); return(mDNSfalse); }
1114 { debugf("DeconstructServiceName
[all...]
H A DmDNS.c13407 DeconstructServiceName(sr->RR_SRV.resrec.name, &name1, &type, &domain);
14347 DeconstructServiceName(m->SPSRecords.RR_SRV.resrec.name, &name, &type, &domain);

Completed in 305 milliseconds