Home
last modified time | relevance | path

Searched refs:rrclass (Results 1 – 14 of 14) sorted by relevance

/external/mdnsresponder/mDNSCore/
DDNSCommon.h143 (r1)->rrclass == (r2)->rrclass && \
152 (r1)->rrclass == (r2)->rrclass && \
212 …u8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass);
DDNSCommon.c213 length += mDNS_snprintf(buffer+length, RemSpc, "Max %d", rr->rrclass); in GetRRDisplayString_rdb()
1028 rr->resrec.rrclass = kDNSClass_IN; in mDNS_SetupResourceRecord()
1238 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1265 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in ResourceRecordAnswersQuestion()
1341 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1367 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1389 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1398 …if (rr->rrclass == kDNSQClass_ANY) return(rr->rdlength); // Used in update packets to mean "Delete… in GetRDLength()
1816 ptr[2] = (mDNSu8)(rr->rrclass >> 8); in PutResourceRecordTTLWithLimit()
1817 ptr[3] = (mDNSu8)(rr->rrclass & 0xFF); in PutResourceRecordTTLWithLimit()
[all …]
DmDNS.c623 r1->resrec.rrclass == r2->resrec.rrclass && in SameResourceRecordNameClassInterface()
646 pktrr->resrec.rrclass == authrr->resrec.rrclass && in PacketRRMatchesSignature()
1713 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutResourc… in SendDelayedUnicastResponse()
1715 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back to norm… in SendDelayedUnicastResponse()
1730 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutResourc… in SendDelayedUnicastResponse()
1732 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back to norm… in SendDelayedUnicastResponse()
2278 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutResourc… in SendResponses()
2280 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back to norm… in SendResponses()
2338 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutResource… in SendResponses()
2340 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back to norma… in SendResponses()
[all …]
DDNSDigest.c1355 tsig.resrec.rrclass = kDNSQClass_ANY; in DNSDigest_SignMessage()
1520 buf = mDNSOpaque16fromIntVal(lcr->r.resrec.rrclass); in DNSDigest_VerifyMessage()
DuDNS.c717 opt->rrclass = NormalMaxDNSMessageData; in putLLQ()
1481 zd->ZoneClass = answer->rrclass; in GetZoneData_QuestionCallback()
2655 ptr = putZone(&m->omsg, ptr, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordRegistration()
2978 next = putZone(&m->omsg, next, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendGroupUpdates()
3780 if (newRR->resrec.rrclass != zoneData->ZoneClass) in RecordRegistrationGotZoneData()
3782 …ource record's class (%d) does not match zone class (%d)", newRR->resrec.rrclass, zoneData->ZoneCl… in RecordRegistrationGotZoneData()
3935 ptr = putZone(&m->omsg, ptr, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordDeregistration()
DmDNSEmbeddedAPI.h1084 mDNSu16 rrclass; member
2723 …const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass,…
/external/mdnsresponder/mDNSShared/
Ddns_sd.h1453 uint16_t rrclass,
1507 uint16_t rrclass,
1735 uint16_t rrclass,
1783 uint16_t rrclass,
Ddnssd_clientshim.c580 uint16_t rrclass, in DNSServiceRegisterRecord() argument
594 (void)rrclass; // Unused in DNSServiceRegisterRecord()
621 …fullname, answer->rrtype, answer->rrclass, answer->rdlength, answer->rdata->u.data, answer->rrorig… in DNSServiceQueryRecordResponse()
631 uint16_t rrclass, in DNSServiceQueryRecord() argument
657 x->q.qclass = rrclass; in DNSServiceQueryRecord()
679 …LogMsg("DNSServiceQueryRecord(\"%s\", %d, %d) failed: %s (%ld)", fullname, rrtype, rrclass, errorm… in DNSServiceQueryRecord()
773 uint16_t rrclass, in DNSServiceReconfirmRecord() argument
782 (void)rrclass; // Unused in DNSServiceReconfirmRecord()
Ddnssd_clientstub.c1189 uint16_t rrtype, rrclass, rdlen; in handle_query_response() local
1194 rrclass = get_uint16(&data, end); in handle_query_response()
1200 …lback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, tt… in handle_query_response()
1211 uint16_t rrclass, in DNSServiceQueryRecord() argument
1237 put_uint16(rrclass, &ptr); in DNSServiceQueryRecord()
1247 uint16_t rrtype, rrclass, rdlen; in handle_addrinfo_response() local
1253 rrclass = get_uint16(&data, end); in handle_addrinfo_response()
1613 uint16_t rrclass, in DNSServiceRegisterRecord() argument
1659 put_uint16(rrclass, &ptr); in DNSServiceRegisterRecord()
1832 uint16_t rrclass, in DNSServiceReconfirmRecord() argument
[all …]
Ddnsextd.c889 rr.resrec.rrclass = kDNSClass_IN; in PutUpdateSRV()
1306 ptr = putZone(&pkt.msg, ptr, end, zname, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in DeleteOneRecord()
1404 …if (rr->rrtype == kDNSQType_ANY && !rr->rroriginalttl && rr->rrclass == kDNSQClass_ANY && !rr->rdl… in UpdateLeaseTable()
1406 else if (!rr->rroriginalttl && rr->rrclass == kDNSQClass_ANY && !rr->rdlength) in UpdateLeaseTable()
1408 else if (!rr->rroriginalttl && rr->rrclass == kDNSClass_NONE) in UpdateLeaseTable()
1649 opt->resrec.rrclass = NormalMaxDNSMessageData; in FormatLLQOpt()
1801 …if (lcr.r.resrec.rrtype != e->type || lcr.r.resrec.rrclass != kDNSClass_IN || !SameDomainName(lcr.… in AnswerQuestion()
Duds_daemon.c540 rr->resrec.rrclass = class; in read_rr_from_ipc_msg()
1005 …rr->resrec.rrclass == kDNSClass_IN && (rr->resrec.rrtype == kDNSType_A || rr->resrec.rrtype == kDN… in handle_regrecord_request()
2827 put_uint16(answer->rrclass, &data); in queryrecord_result_callback()
2970 mDNSu16 rrtype, rrclass; in handle_queryrecord_request() local
2980 rrclass = get_uint16(&request->msgptr, request->msgend); in handle_queryrecord_request()
2995 q->qclass = rrclass; in handle_queryrecord_request()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c580 uint16_t rrclass,
1066 uint16_t rrclass, in mdns_lookup_callback() argument
1092 if (rrclass != C_IN) in mdns_lookup_callback()
1099 rrclass, in mdns_lookup_callback()
1100 ns_class_to_str (rrclass), in mdns_lookup_callback()
DNetMonitor.c674 …if (pkt.r.resrec.rrtype || pkt.r.resrec.rrclass) DisplayResourceRecord(srcaddr, "(AU)", &pkt.r.res… in DisplayQuery()
/external/mdnsresponder/Clients/
Ddns-sd.c680 …const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32… in qr_reply() argument
738 printf("%s%6X%3d %-30s%4d%4d %s", op, flags, ifIndex, fullname, rrtype, rrclass, rdb); in qr_reply()
754 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata); in qr_reply()
1172 uint16_t rrtype, rrclass; in main() local
1178 rrclass = (argc <= opi+2) ? kDNSServiceClass_IN : atoi(argv[opi+2]); in main()
1180 …err = DNSServiceQueryRecord(&client, flags, opinterface, argv[opi+0], rrtype, rrclass, qr_reply, N… in main()