Home
last modified time | relevance | path

Searched refs:MAX_DOMAIN_NAME (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c646 const mDNSu8 *const max = d1->c + MAX_DOMAIN_NAME; // Maximum that's valid in SameDomainName()
664 return(l1 <= MAX_DOMAIN_NAME && l1 == l2 && mDNSPlatformMemSame(d1, d2, l1)); in SameDomainNameCS()
719 return(MAX_DOMAIN_NAME+1); in DomainNameLengthLimit()
737 if (*src > MAX_DOMAIN_LABEL) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()
740 if (src - name->c >= MAX_DOMAIN_NAME) return(MAX_DOMAIN_NAME+1); in CompressedDomainNameLength()
773 …const mDNSu8 *const lim1 = name->c + MAX_DOMAIN_NAME - 1; // Limit of how much we can ad… in AppendLiteralLabelString()
796 …const mDNSu8 *const lim = name->c + MAX_DOMAIN_NAME - 1; // Limit of how much we can add (n… in AppendDNSNameString()
843 if (ptr + 1 + label->c[0] + 1 > name->c + MAX_DOMAIN_NAME) return(mDNSNULL); in AppendDomainLabel()
853 …const mDNSu8 *const lim = name->c + MAX_DOMAIN_NAME - 1; // Limit of how much we can add (n… in AppendDomainName()
925 const mDNSu8 *const max = name->c + MAX_DOMAIN_NAME; // Maximum that's valid in ConvertDomainNameToCString_withescape()
[all …]
H A DDNSCommon.h121 #define ValidateDomainName(N) (DomainNameLength(N) <= MAX_DOMAIN_NAME)
H A DmDNSEmbeddedAPI.h402 #define MAX_DOMAIN_NAME 256 macro
2814 …if (len__ <= MAX_DOMAIN_NAME) mDNSPlatformMemCopy((DST)->c, (SRC)->c, len__);else (DST)->c[0] = 0;…
2835 #define DomainNameLength(name) DomainNameLengthLimit((name), (name)->c + MAX_DOMAIN_NAME)
H A Duds_daemon.c2977 if (sd && (DomainNameLength(question->qnameOrig) + DomainNameLength(sd)) > MAX_DOMAIN_NAME) in AppendNewSearchDomain()
3390 if (!putRData(mDNSNULL, cname.c, (mDNSu8 *)(cname.c + MAX_DOMAIN_NAME), answer)) in queryrecord_result_reply()
H A DuDNS.c2769 if (alglen > MAX_DOMAIN_NAME) goto finish; in ParseTSIGError()
/titanic_50/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSD.java80 public static final int MAX_DOMAIN_NAME = 1009; field in DNSSD