Searched refs:MAX_DOMAIN_LABEL (Results 1 – 4 of 4) sorted by relevance
558 if (len > MAX_DOMAIN_LABEL) in SameDomainLabel()629 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in DomainNameLength()651 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()670 const mDNSu8 *const lim2 = ptr + 1 + MAX_DOMAIN_LABEL; in AppendLiteralLabelString()715 if (ptr - lengthbyte - 1 > MAX_DOMAIN_LABEL) // If illegal label, abort in AppendDNSNameString()736 if (label->c[0] > MAX_DOMAIN_LABEL) return(mDNSNULL); in AppendDomainLabel()771 const mDNSu8 *const limit = label->c + 1 + MAX_DOMAIN_LABEL; // The maximum we can put in MakeDomainLabelFromLiteralString()795 if (len > MAX_DOMAIN_LABEL) return(mDNSNULL); // If illegal label, abort in ConvertDomainLabelToCString_withescape()848 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; in ConvertUTF8PstringToRFC1034HostLabel()1098 name->c[0] = (mDNSu8) TruncateUTF8ToLength(name->c+1, name->c[0], MAX_DOMAIN_LABEL - chars); in AppendLabelSuffix()[all …]
640 gethostname((char *)(&namelabel->c[1]), MAX_DOMAIN_LABEL); in GetUserSpecifiedRFC1034ComputerName()641 while (len < MAX_DOMAIN_LABEL && namelabel->c[len+1] && namelabel->c[len+1] != '.') len++; in GetUserSpecifiedRFC1034ComputerName()
1267 #define MAX_DOMAIN_LABEL 63 macro
1978 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateNTDResponse()2421 int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request()