Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c627 if (len > MAX_DOMAIN_LABEL) in SameDomainLabel()
714 while (src < limit && *src <= MAX_DOMAIN_LABEL) in DomainNameLengthLimit()
737 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()
774 const mDNSu8 *const lim2 = ptr + 1 + MAX_DOMAIN_LABEL; in AppendLiteralLabelString()
819 if (ptr - lengthbyte - 1 > MAX_DOMAIN_LABEL) // If illegal label, abort in AppendDNSNameString()
840 if (label->c[0] > MAX_DOMAIN_LABEL) return(mDNSNULL); in AppendDomainLabel()
875 const mDNSu8 *const limit = label->c + 1 + MAX_DOMAIN_LABEL; // The maximum we can put in MakeDomainLabelFromLiteralString()
899 if (len > MAX_DOMAIN_LABEL) return(mDNSNULL); // If illegal label, abort in ConvertDomainLabelToCString_withescape()
952 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; in ConvertUTF8PstringToRFC1034HostLabel()
1316 name->c[0] = (mDNSu8) TruncateUTF8ToLength(name->c+1, name->c[0], MAX_DOMAIN_LABEL - chars); in AppendLabelSuffix()
[all …]
H A DmDNSPosix.c497 gethostname((char *)(&namelabel->c[1]), MAX_DOMAIN_LABEL); in GetUserSpecifiedRFC1034ComputerName()
498 while (len < MAX_DOMAIN_LABEL && namelabel->c[len+1] && namelabel->c[len+1] != '.') len++; in GetUserSpecifiedRFC1034ComputerName()
H A DmDNSEmbeddedAPI.h397 #define MAX_DOMAIN_LABEL 63 macro
890 #define NSEC3_MAX_B32_LEN MAX_DOMAIN_LABEL
H A Duds_daemon.c571 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateNTDResponse()
610 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateBonjourBrowserResponse()
2095 … int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request()