Searched refs:MAX_DOMAIN_LABEL (Results 1 – 7 of 7) sorted by relevance
47 …char nameC [MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NU… in BrowseCallback()
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()
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 …]
380 #define MAX_DOMAIN_LABEL 63 macro
186 …char namestr[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NUL… in RegCallback()374 char cname[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminating NULL. in FoundInstance()
409 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateNTDResponse()448 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateBonjourBrowserResponse()1659 int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request()2129 char hostName[MAX_DOMAIN_LABEL]; in handle_sethost_request()2132 MAX_DOMAIN_LABEL) < 0) return (mStatus_BadParamErr); in handle_sethost_request()2139 while (len < MAX_DOMAIN_LABEL && hostName[len+1] in handle_sethost_request()
2310 …NS->nicelabel.c[ 0 ] = (mDNSu8) (strlen( utf8 ) < MAX_DOMAIN_LABEL ? strlen( utf8 ) : MAX_DOMAIN_L… in SetupNiceName()2380 …abel.c[ 0 ] = (mDNSu8) (strlen( tempString ) < MAX_DOMAIN_LABEL ? strlen( tempString ) : MAX_DOMAI… in SetupHostName()