Lines Matching refs:CompressedDomainNameLength
722 // CompressedDomainNameLength returns the length of a domain name INCLUDING the byte
727 // of that parent, CompressedDomainNameLength returns the length of the prefix portion
731 mDNSexport mDNSu16 CompressedDomainNameLength(const domainname *const name, const domainname *parent)
1988 case kDNSType_DNAME: return(CompressedDomainNameLength(&rd->name, name));
1990 case kDNSType_SOA: return (mDNSu16)(CompressedDomainNameLength(&rd->soa.mname, name) +
1991 CompressedDomainNameLength(&rd->soa.rname, name) +
2007 case kDNSType_KX: return (mDNSu16)(2 + CompressedDomainNameLength(&rd->mx.exchange, name));
2009 case kDNSType_RP: return (mDNSu16)(CompressedDomainNameLength(&rd->rp.mbox, name) +
2010 CompressedDomainNameLength(&rd->rp.txt, name));
2012 case kDNSType_PX: return (mDNSu16)(2 + CompressedDomainNameLength(&rd->px.map822, name) +
2013 CompressedDomainNameLength(&rd->px.mapx400, name));
2017 case kDNSType_SRV: return (mDNSu16)(6 + CompressedDomainNameLength(&rd->srv.target, name));
2026 return (mDNSu16)(CompressedDomainNameLength(next, name) + rr->rdlength - dlen);