Home
last modified time | relevance | path

Searched refs:MAX_DOMAIN_LABEL (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c558 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 …]
H A DmDNSPosix.c640 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()
H A DmDNSEmbeddedAPI.h1267 #define MAX_DOMAIN_LABEL 63 macro
H A Duds_daemon.c1978 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateNTDResponse()
2421 int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request()