Home
last modified time | relevance | path

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

/dports/net/mDNSResponder/mDNSResponder-1310.140.1/mDNSMacOSX/
H A Dhelper-stubs.c188 char oldname[MAX_DOMAIN_LABEL+1]; in mDNSPreferencesSetName()
189 char newname[MAX_DOMAIN_LABEL+1]; in mDNSPreferencesSetName()
192 mDNSPlatformMemZero(names.oldname, MAX_DOMAIN_LABEL + 1); in mDNSPreferencesSetName()
193 mDNSPlatformMemZero(names.newname, MAX_DOMAIN_LABEL + 1); in mDNSPreferencesSetName()
H A Dhelper.c344 char usercompname[MAX_DOMAIN_LABEL+1] = {0}; // the last computer name the user saw
345 char userhostname[MAX_DOMAIN_LABEL+1] = {0}; // the last local host name the user saw
346 char lastcompname[MAX_DOMAIN_LABEL+1] = {0}; // the last computer name saved to preferences
347 char lasthostname[MAX_DOMAIN_LABEL+1] = {0}; // the last local host name saved to preferences
616 if (0 == strncmp(old, new, MAX_DOMAIN_LABEL+1)) in PreferencesSetName()
620 if (last[0] && 0 != strncmp(last, new, MAX_DOMAIN_LABEL+1)) in PreferencesSetName()
634 if (strncmp(last, new, MAX_DOMAIN_LABEL+1)) in PreferencesSetName()
636 strncpy(last, new, MAX_DOMAIN_LABEL); in PreferencesSetName()
646 strncpy(user, old, MAX_DOMAIN_LABEL); in PreferencesSetName()
H A DmDNSMacOSX.c8923 if (len > MAX_DOMAIN_LABEL) in vectorSameDomainLabel()
9111 if (len > MAX_DOMAIN_LABEL) in vectorSameDomainLabel()
9211 if (len > MAX_DOMAIN_LABEL) in scalarSameDomainLabel()
/dports/net/mDNSResponder/mDNSResponder-1310.140.1/mDNSPosix/
H A DClient.c48 …char nameC [MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string termin… in BrowseCallback()
H A DmDNSPosix.c790 gethostname((char *)(&namelabel->c[1]), MAX_DOMAIN_LABEL); in GetUserSpecifiedRFC1034ComputerName()
791 while (len < MAX_DOMAIN_LABEL && namelabel->c[len+1] && namelabel->c[len+1] != '.') len++; in GetUserSpecifiedRFC1034ComputerName()
/dports/net/mDNSResponder/mDNSResponder-1310.140.1/mDNSCore/
H A DDNSCommon.c493 if (len > MAX_DOMAIN_LABEL) in SameDomainLabel()
582 while (src < limit && *src <= MAX_DOMAIN_LABEL) in DomainNameLengthLimit()
605 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()
642 const mDNSu8 *const lim2 = ptr + 1 + MAX_DOMAIN_LABEL; in AppendLiteralLabelString()
688 if (ptr - lengthbyte - 1 > MAX_DOMAIN_LABEL) // If illegal label, abort in AppendDNSNameString()
709 if (label->c[0] > MAX_DOMAIN_LABEL) return(mDNSNULL); in AppendDomainLabel()
744 const mDNSu8 *const limit = label->c + 1 + MAX_DOMAIN_LABEL; // The maximum we can put in MakeDomainLabelFromLiteralString()
768 if (len > MAX_DOMAIN_LABEL) return(mDNSNULL); // If illegal label, abort in ConvertDomainLabelToCString_withescape()
821 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; in ConvertUTF8PstringToRFC1034HostLabel()
1122 name->c[0] = (mDNSu8) TruncateUTF8ToLength(name->c+1, name->c[0], MAX_DOMAIN_LABEL - chars); in AppendLabelSuffix()
[all …]
H A DmDNSEmbeddedAPI.h432 #define MAX_DOMAIN_LABEL 63 macro
H A DmDNS.c694 if (len > MAX_DOMAIN_LABEL) LogMsg("uidna_nameToASCII_UTF8(%##s) result too long %d", src, len); in PunycodeConvert()
696 if (errorCode || info.errors || len > MAX_DOMAIN_LABEL) return mDNSNULL; in PunycodeConvert()
715 if (ptr[0] > MAX_DOMAIN_LABEL || next >= d->c + MAX_DOMAIN_NAME) return mDNSNULL; in FindLastHighASCIILabel()
/dports/net/mDNSResponder/mDNSResponder-1310.140.1/mDNSShared/
H A Ddnssd_clientshim.c199 …char namestr[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminatin… in RegCallback()
384 …char cname[MAX_DOMAIN_LABEL+1]; // Unescaped name: up to 63 bytes plus C-string terminatin… in FoundInstance()
H A Duds_daemon.c491 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateNTDResponse()
537 char namestr[MAX_DOMAIN_LABEL+1]; in GenerateBrowseReply()
2367 … int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request()