• Home
  • Raw
  • Download

Lines Matching refs:mDNSu16

145 mDNSexport char *DNSTypeName(mDNSu16 rrtype)  in DNSTypeName()
248 mDNSu16 i; in GetRRDisplayString_rdb()
373 mDNSu16 l1 = DomainNameLength(d1); in SameDomainNameCS()
374 mDNSu16 l2 = DomainNameLength(d2); in SameDomainNameCS()
422 mDNSexport mDNSu16 DomainNameLengthLimit(const domainname *const name, const mDNSu8 *limit) in DomainNameLengthLimit()
427 if (*src == 0) return((mDNSu16)(src - name->c + 1)); in DomainNameLengthLimit()
442 mDNSexport mDNSu16 CompressedDomainNameLength(const domainname *const name, const domainname *paren… in CompressedDomainNameLength()
449 …if (parent && SameDomainName((const domainname *)src, parent)) return((mDNSu16)(src - name->c + 2)… in CompressedDomainNameLength()
453 return((mDNSu16)(src - name->c + 1)); in CompressedDomainNameLength()
890 mDNSu16 l = name->c[0]; in LabelContainsSuffix()
992mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, v… in mDNS_SetupResourceRecord()
1089 const mDNSu16 qtype, mDNSQuestionCallback *const callback, void *const context) in mDNS_SetupQuestion()
1394 mDNSexport mDNSu16 GetRDLength(const ResourceRecord *const rr, mDNSBool estimate) in GetRDLength()
1408 case kDNSType_SOA: return(mDNSu16)(CompressedDomainNameLength(&rd->soa.mname, name) + in GetRDLength()
1420 case kDNSType_HINFO:return(mDNSu16)(2 + (int)rd->data[0] + (int)rd->data[1 + (int)rd->data[0]]); in GetRDLength()
1425 case kDNSType_KX: return(mDNSu16)(2 + CompressedDomainNameLength(&rd->mx.exchange, name)); in GetRDLength()
1427 case kDNSType_RP: return(mDNSu16)(CompressedDomainNameLength(&rd->rp.mbox, name) + in GetRDLength()
1430 case kDNSType_PX: return(mDNSu16)(2 + CompressedDomainNameLength(&rd->px.map822, name) + in GetRDLength()
1435 case kDNSType_SRV: return(mDNSu16)(6 + CompressedDomainNameLength(&rd->srv.target, name)); in GetRDLength()
1448 return(mDNSu16)((estimate ? 2 : DomainNameLength(rr->name)) + (i ? (2 + i) : 0)); in GetRDLength()
1458 mDNSexport mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const … in ValidateRData()
1460 mDNSu16 len; in ValidateRData()
1554 pointertarget = base + (((mDNSu16)(targ[0] & 0x3F)) << 8) + targ[1]; in FindCompressionPointer()
1608 const mDNSu16 offset = (mDNSu16)(pointer - base); in putDomainNameAsLabels()
1630 mDNSlocal mDNSu8 *putVal16(mDNSu8 *ptr, mDNSu16 val) in putVal16()
1733 ptr = putVal16(ptr, (mDNSu16)space - 4); in putRData()
1797 mDNSexport mDNSu8 *PutResourceRecordTTLWithLimit(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count… in PutResourceRecordTTLWithLimit()
1800 mDNSu16 actualLength; in PutResourceRecordTTLWithLimit()
1829 actualLength = (mDNSu16)(endofrdata - ptr - 10); in PutResourceRecordTTLWithLimit()
1838 …rceRecord(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, mDNSu16 *count, const Aut… in putEmptyResourceRecord()
1852 …Su8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass) in putQuestion()
1892 const mDNSu16 origclass = rr->rrclass; in putDeletionRecord()
1903 const mDNSu16 origclass = rr->rrclass; in putDeletionRecordWithLimit()
1910 …leteRRSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype, mDNSu8 *l… in putDeleteRRSetWithLimit()
1912 mDNSu16 class = kDNSQClass_ANY; in putDeleteRRSetWithLimit()
1931 mDNSu16 class = kDNSQClass_ANY; in putDeleteAllRRSets()
1932 mDNSu16 rrtype = kDNSQType_ANY; in putDeleteAllRRSets()
1983 mDNSu16 len = 2 + m->HIHardware.c[0] + m->HISoftware.c[0]; in putHINFO()
2022 mDNSexport void SetNewRData(ResourceRecord *const rr, RData *NewRData, mDNSu16 rdlength) in SetNewRData()
2039 mDNSu16 total = 0; in skipDomainName()
2085 mDNSu16 offset; in getDomainName()
2101 case 0xC0: offset = (mDNSu16)((((mDNSu16)(len & 0x3F)) << 8) | *ptr++); in getDomainName()
2118 mDNSu16 pktrdlength; in skipResourceRecord()
2124 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]); in skipResourceRecord()
2136 mDNSu16 pktrdlength; in GetLargeResourceRecord()
2174 rr->resrec.rrtype = (mDNSu16) ((mDNSu16)ptr[0] << 8 | ptr[1]); in GetLargeResourceRecord()
2175 rr->resrec.rrclass = (mDNSu16)(((mDNSu16)ptr[2] << 8 | ptr[3]) & kDNSClass_Mask); in GetLargeResourceRecord()
2181 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]); in GetLargeResourceRecord()
2254 rdb->mx.preference = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in GetLargeResourceRecord()
2267 rdb->px.preference = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in GetLargeResourceRecord()
2279 rdb->srv.priority = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in GetLargeResourceRecord()
2280 rdb->srv.weight = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); in GetLargeResourceRecord()
2295 opt->opt = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in GetLargeResourceRecord()
2296 opt->optlen = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); in GetLargeResourceRecord()
2304 opt->u.llq.vers = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in GetLargeResourceRecord()
2305 opt->u.llq.llqOp = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); in GetLargeResourceRecord()
2306 opt->u.llq.err = (mDNSu16)((mDNSu16)ptr[4] << 8 | ptr[5]); in GetLargeResourceRecord()
2345 rr->resrec.rdlength = (mDNSu16)((mDNSu8*)opt - rr->resrec.rdata->u.data); in GetLargeResourceRecord()
2420 question->qtype = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); // Get type in getQuestion()
2421 question->qclass = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); // and class in getQuestion()
2464 ((mDNSu16)ptr[9] << 8 | (mDNSu16)ptr[10]) >= (mDNSu16)minsize) in LocateOptRR()
2606 const mDNSu16 numAdditionals = msg->h.numAdditionals; in mDNSSendDNSMessage()
2633 mDNSu16 msglen = (mDNSu16)(end - (mDNSu8 *)msg); in mDNSSendDNSMessage()