Lines Matching refs:mx
1522 case kDNSType_KX: return DomainNameHashValue(&rdb->mx.exchange);
1589 case kDNSType_KX: return (mDNSBool)( b1->mx.preference == b2->mx.preference &&
1590 samename(&b1->mx.exchange, &b2->mx.exchange));
2007 case kDNSType_KX: return (mDNSu16)(2 + CompressedDomainNameLength(&rd->mx.exchange, name));
2073 len = DomainNameLengthLimit(&rd->u.mx.exchange, rd->u.data + rdlength);
2274 ptr = putVal16(ptr, rdb->mx.preference);
2275 return(putDomainNameAsLabels(msg, ptr, limit, &rdb->mx.exchange));
2950 rdb->mx.preference = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]);
2954 ptr = getDomainName(msg, ptr, end, &rdb->mx.exchange);
2958 AssignDomainName(&rdb->mx.exchange, (domainname *)ptr);
2959 ptr += DomainNameLength(&rdb->mx.exchange);