Home
last modified time | relevance | path

Searched refs:regtype (Results 1 – 8 of 8) sorted by relevance

/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c106 const char *const regtype, in DNSServiceConstructFullName() argument
110 const size_t len = !regtype ? 0 : strlen(regtype) - DomainEndsInDot(regtype); in DNSServiceConstructFullName()
114 const char *r = regtype; in DNSServiceConstructFullName()
119 …if (strncasecmp((regtype + len - 4), "_tcp", 4) && strncasecmp((regtype + len - 4), "_udp", 4)) re… in DNSServiceConstructFullName()
147 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail; else *fn++ = '.'; } in DNSServiceConstructFullName()
Ddnssd_clientshim.c213 const char *regtype, in DNSServiceRegister() argument
239 …if (!regtype || !*regtype || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "B… in DNSServiceRegister()
277 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceRegister()
387 const char *regtype, in DNSServiceBrowse() argument
401 …if (!regtype[0] || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "Illegal regty… in DNSServiceBrowse()
425 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceBrowse()
470 const char *regtype, in DNSServiceResolve() argument
487 …if (!regtype[0] || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "Bad Service Type";… in DNSServiceResolve()
554 …LogMsg("DNSServiceResolve(\"%s\", \"%s\", \"%s\") failed: %s (%ld)", name, regtype, domain, errorm… in DNSServiceResolve()
Ddns_sd.h916 const char *regtype,
1030 const char *regtype,
1211 const char *regtype,
1259 const char *regtype,
1388 const char *regtype,
2024 const char * const regtype,
Ddnssd_clientstub.c1138 const char *regtype, in DNSServiceResolve() argument
1149 if (!name || !regtype || !domain || !callBack) return kDNSServiceErr_BadParam; in DNSServiceResolve()
1168 len += strlen(regtype) + 1; in DNSServiceResolve()
1177 put_string(regtype, &ptr); in DNSServiceResolve()
1355 const char *regtype, in DNSServiceBrowse() argument
1370 len += strlen(regtype) + 1; in DNSServiceBrowse()
1378 put_string(regtype, &ptr); in DNSServiceBrowse()
1445 char name[256], regtype[kDNSServiceMaxDomainName], domain[kDNSServiceMaxDomainName]; in handle_regservice_response() local
1447 get_string(&data, end, regtype, kDNSServiceMaxDomainName); in handle_regservice_response()
1450 …else ((DNSServiceRegisterReply)sdr->AppCallback)(sdr, cbh->cb_flags, cbh->cb_err, name, regtype, d… in handle_regservice_response()
[all …]
Duds_daemon.h53 extern mDNSs32 ChopSubTypes(char *regtype);
Duds_daemon.c167 domainname regtype; member
550 mDNSlocal int build_domainname_from_strings(domainname *srv, char *name, char *regtype, char *domai… in build_domainname_from_strings() argument
556 if (!MakeDomainNameFromDNSNameString(&t, regtype)) return -1; in build_domainname_from_strings()
1404 mDNSexport mDNSs32 ChopSubTypes(char *regtype) in ChopSubTypes() argument
1407 char *stp = FindFirstSubType(regtype); in ChopSubTypes()
1746 …if (SameDomainName(&req->u.browser.regtype, (const domainname*)"\x09_services\x07_dns-sd\x04_udp")) in FoundInstance()
1783 …&info->u.browser.regtype, d, info->u.browser.interface_id, info->u.browser.ForceMCast, FoundInstan… in add_domain_to_browser()
1786 …LogMsg("mDNS_StartBrowse returned %d for type %##s domain %##s", err, info->u.browser.regtype.c, d… in add_domain_to_browser()
1797 ConstructServiceName(&tmp, NULL, &info->u.browser.regtype, &b->domain); in add_domain_to_browser()
1814 ConstructServiceName(&tmp, NULL, &info->u.browser.regtype, &ptr->domain); in browse_termination_callback()
[all …]
Ddnsextd.c880 …UpdateSRV(DaemonInfo *d, DNSZone * zone, PktMsg *pkt, mDNSu8 *ptr, char *regtype, mDNSIPPort port,… in PutUpdateSRV() argument
896 MakeDomainNameFromDNSNameString(&rr.namestorage, regtype); in PutUpdateSRV()
/external/mdnsresponder/Clients/
Ddns-sd.c634 const char *name, const char *regtype, const char *domain, void *context) in reg_reply() argument
642 printf("Got a reply for service %s.%s%s: ", name, regtype, domain); in reg_reply()