Searched refs:DeconstructServiceName (Results 1 - 10 of 10) sorted by relevance
/macosx-10.10/KerberosHelper-151/Source/ |
H A D | DeconstructServiceName.c | 168 // 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 D | Client.c | 57 DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain);
|
H A D | ProxyResponder.c | 199 DeconstructServiceName(rr->resrec.name, &n, &t, &d);
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOS9/ |
H A D | Mac OS Test Searcher.c | 72 DeconstructServiceName(&s->name, &name, &type, &domain);
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSShared/ |
H A D | dnssd_clientshim.c | 178 if (!DeconstructServiceName(sr->RR_SRV.resrec.name, &name, &type, &dom)) return; 368 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain))
|
H A D | uds_daemon.c | 567 if (!DeconstructServiceName(servicename, &name, &type, &dom))
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | daemon.c | 673 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 D | mDNSEmbeddedAPI.h | 2861 extern mDNSBool DeconstructServiceName(const domainname *const fqdn, domainlabel *const name, domainname *const type, domainname *const domain);
|
H A D | DNSCommon.c | 1086 // 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 D | mDNS.c | 13407 DeconstructServiceName(sr->RR_SRV.resrec.name, &name1, &type, &domain); 14347 DeconstructServiceName(m->SPSRecords.RR_SRV.resrec.name, &name, &type, &domain);
|
Completed in 305 milliseconds