/external/mdnsresponder/mDNSShared/ |
dnssd_clientlib.c | 106 const char *const regtype, 110 const size_t len = !regtype ? 0 : strlen(regtype) - DomainEndsInDot(regtype); 114 const char *r = regtype; 117 // regtype must be at least "x._udp" or "x._tcp" 119 if (strncasecmp((regtype + len - 4), "_tcp", 4) && strncasecmp((regtype + len - 4), "_udp", 4)) return kDNSServiceErr_BadParam; 147 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail; else *fn++ = '.'; }
|
dns_sd.h | 543 * DNS name of a resource is broken, for convenience, into servicename/regtype/domain. 546 * represent exactly what they are. The "regtype" portion is, technically speaking, 555 * terminating NULL at the end). The regtype is of the form _service._tcp or 558 * any legal domain, providing that the resulting servicename+regtype+domain 563 * servicename/regtype/domain are simply passed unchanged to DNSServiceResolve(). 566 * For converting from servicename/regtype/domain to a single properly-escaped [all...] |
dnssd_clientshim.c | 213 const char *regtype, 239 if (!regtype || !*regtype || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "Bad Service Type"; goto badparam; } 277 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); 387 const char *regtype, 401 if (!regtype[0] || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "Illegal regtype"; goto badparam; } 425 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err) [all...] |
uds_daemon.h | 53 extern mDNSs32 ChopSubTypes(char *regtype);
|
dnssd_clientstub.c | 1445 char name[256], regtype[kDNSServiceMaxDomainName], domain[kDNSServiceMaxDomainName]; local [all...] |
uds_daemon.c | 167 domainname regtype; member in struct:request_state::__anon9674::__anon9675 550 mDNSlocal int build_domainname_from_strings(domainname *srv, char *name, char *regtype, char *domain) 556 if (!MakeDomainNameFromDNSNameString(&t, regtype)) return -1; 2149 char regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME]; local 2290 char name[256], regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME]; local [all...] |
dnsextd.c | 880 mDNSlocal mDNSu8 *PutUpdateSRV(DaemonInfo *d, DNSZone * zone, PktMsg *pkt, mDNSu8 *ptr, char *regtype, mDNSIPPort port, mDNSBool registration) 896 MakeDomainNameFromDNSNameString(&rr.namestorage, regtype); [all...] |
/external/mdnsresponder/Clients/ |
dns-sd.c | 634 const char *name, const char *regtype, const char *domain, void *context) 642 printf("Got a reply for service %s.%s%s: ", name, regtype, domain); [all...] |