Searched refs:MAX_DOMAIN_NAME (Results 1 – 6 of 6) sorted by relevance
357 const mDNSu8 *const max = d1->c + MAX_DOMAIN_NAME; // Maximum that's valid in SameDomainName()375 return(l1 <= MAX_DOMAIN_NAME && l1 == l2 && mDNSPlatformMemSame(d1, d2, l1)); in SameDomainNameCS()430 return(MAX_DOMAIN_NAME+1); in DomainNameLengthLimit()448 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()451 if (src - name->c >= MAX_DOMAIN_NAME) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()484 …const mDNSu8 *const lim1 = name->c + MAX_DOMAIN_NAME - 1; // Limit of how much we can add (not c… in AppendLiteralLabelString()507 …const mDNSu8 *const lim = name->c + MAX_DOMAIN_NAME - 1; // Limit of how much we can add (not cou… in AppendDNSNameString()554 if (ptr + 1 + label->c[0] + 1 > name->c + MAX_DOMAIN_NAME) return(mDNSNULL); in AppendDomainLabel()564 …const mDNSu8 *const lim = name->c + MAX_DOMAIN_NAME - 1; // Limit of how much we can add (not cou… in AppendDomainName()636 const mDNSu8 *const max = name->c + MAX_DOMAIN_NAME; // Maximum that's valid in ConvertDomainNameToCString_withescape()[all …]
119 #define ValidateDomainName(N) (DomainNameLength(N) <= MAX_DOMAIN_NAME)
385 #define MAX_DOMAIN_NAME 256 macro2297 …if (len__ <= MAX_DOMAIN_NAME) mDNSPlatformMemCopy((DST)->c, (SRC)->c, len__); else (DST)->c[0] = 0…2318 #define DomainNameLength(name) DomainNameLengthLimit((name), (name)->c + MAX_DOMAIN_NAME)
2449 if (alglen > MAX_DOMAIN_NAME) goto finish; in ParseTSIGError()
522 …if ( ( i == ( MAX_DOMAIN_NAME + 1 ) ) || ( j == ( MAX_DOMAIN_NAME + 1 ) ) || ( i > j ) || ( memcm… in ZoneHandlesName()
2445 if (sd && (DomainNameLength(question->qnameOrig) + DomainNameLength(sd)) > MAX_DOMAIN_NAME) in AppendNewSearchDomain()2901 if (!putRData(mDNSNULL, cname.c, (mDNSu8 *)(cname.c + MAX_DOMAIN_NAME), answer)) in queryrecord_result_callback()