Searched refs:MAX_DOMAIN_LABEL (Results 1 – 6 of 6) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | Client.c | 47 …char nameC [MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NU… in BrowseCallback()
|
D | mDNSPosix.c | 486 gethostname((char *)(&namelabel->c[1]), MAX_DOMAIN_LABEL); in GetUserSpecifiedRFC1034ComputerName() 489 strncpy(&namelabel->c[1], "Android", MAX_DOMAIN_LABEL); in GetUserSpecifiedRFC1034ComputerName() 491 while (len < MAX_DOMAIN_LABEL && namelabel->c[len+1] && namelabel->c[len+1] != '.') len++; in GetUserSpecifiedRFC1034ComputerName()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 338 if (len > MAX_DOMAIN_LABEL) in SameDomainLabel() 425 while (src < limit && *src <= MAX_DOMAIN_LABEL) in DomainNameLengthLimit() 448 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength() 485 const mDNSu8 *const lim2 = ptr + 1 + MAX_DOMAIN_LABEL; in AppendLiteralLabelString() 530 if (ptr - lengthbyte - 1 > MAX_DOMAIN_LABEL) // If illegal label, abort in AppendDNSNameString() 551 if (label->c[0] > MAX_DOMAIN_LABEL) return(mDNSNULL); in AppendDomainLabel() 586 const mDNSu8 *const limit = label->c + 1 + MAX_DOMAIN_LABEL; // The maximum we can put in MakeDomainLabelFromLiteralString() 610 if (len > MAX_DOMAIN_LABEL) return(mDNSNULL); // If illegal label, abort in ConvertDomainLabelToCString_withescape() 663 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; in ConvertUTF8PstringToRFC1034HostLabel() 950 name->c[0] = (mDNSu8) TruncateUTF8ToLength(name->c+1, name->c[0], MAX_DOMAIN_LABEL - chars); in AppendLabelSuffix() [all …]
|
D | mDNSEmbeddedAPI.h | 369 #define MAX_DOMAIN_LABEL 63 macro
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientshim.c | 175 …char namestr[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NUL… in RegCallback() 359 char cname[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NULL. in FoundInstance()
|
D | uds_daemon.c | 409 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateNTDResponse() 448 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateBonjourBrowserResponse() 1653 int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request() 2123 char hostName[MAX_DOMAIN_LABEL]; in handle_sethost_request() 2126 …if (get_string(&request->msgptr, request->msgend, hostName, MAX_DOMAIN_LABEL) < 0) return(mStatus_… in handle_sethost_request() 2136 while (len < MAX_DOMAIN_LABEL && hostName[len+1] && hostName[len+1] != '.') len++; in handle_sethost_request()
|