Home
last modified time | relevance | path

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

/external/avahi/avahi-compat-howl/samples/
Dquery.c42 sw_uint16 rrclass, in query_record_reply() argument
52 if ((rrtype == 1) && (rrclass == 1)) in query_record_reply()
/external/avahi/avahi-compat-libdns_sd/
Dunsupported.c36 AVAHI_GCC_UNUSED uint16_t rrclass, in DNSServiceRegisterRecord() argument
53 AVAHI_GCC_UNUSED uint16_t rrclass, in DNSServiceReconfirmRecord() argument
Ddns_sd.h1129 uint16_t rrclass,
1183 uint16_t rrclass,
1236 uint16_t rrclass,
1274 uint16_t rrclass,
/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.c1357 tsig.resrec.rrclass = kDNSQClass_ANY; in DNSDigest_SignMessage()
1522 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/
Ddnssd_clientshim.c595 uint16_t rrclass, in DNSServiceRegisterRecord() argument
609 (void)rrclass; // Unused in DNSServiceRegisterRecord()
636 …fullname, answer->rrtype, answer->rrclass, answer->rdlength, answer->rdata->u.data, answer->rrorig… in DNSServiceQueryRecordResponse()
646 uint16_t rrclass, in DNSServiceQueryRecord() argument
672 x->q.qclass = rrclass; in DNSServiceQueryRecord()
694 …LogMsg("DNSServiceQueryRecord(\"%s\", %d, %d) failed: %s (%ld)", fullname, rrtype, rrclass, errorm… in DNSServiceQueryRecord()
788 uint16_t rrclass, in DNSServiceReconfirmRecord() argument
797 (void)rrclass; // Unused in DNSServiceReconfirmRecord()
Ddns_sd.h1453 uint16_t rrclass,
1507 uint16_t rrclass,
1735 uint16_t rrclass,
1783 uint16_t rrclass,
Ddnssd_clientstub.c1190 uint16_t rrtype, rrclass, rdlen; in handle_query_response() local
1195 rrclass = get_uint16(&data, end); in handle_query_response()
1201 …lback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, tt… in handle_query_response()
1212 uint16_t rrclass, in DNSServiceQueryRecord() argument
1238 put_uint16(rrclass, &ptr); in DNSServiceQueryRecord()
1248 uint16_t rrtype, rrclass, rdlen; in handle_addrinfo_response() local
1254 rrclass = get_uint16(&data, end); in handle_addrinfo_response()
1623 uint16_t rrclass, in DNSServiceRegisterRecord() argument
1669 put_uint16(rrclass, &ptr); in DNSServiceRegisterRecord()
1842 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()
2823 put_uint16(answer->rrclass, &data); in queryrecord_result_callback()
2966 mDNSu16 rrtype, rrclass; in handle_queryrecord_request() local
2976 rrclass = get_uint16(&request->msgptr, request->msgend); in handle_queryrecord_request()
2991 q->qclass = rrclass; in handle_queryrecord_request()
/external/avahi/avahi-compat-howl/include/discovery/
Ddiscovery.h144 sw_uint16 rrclass,
256 sw_uint16 rrclass,
/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()
/external/avahi/specs/
Ddraft-cheshire-dnsext-multicastdns-05.txt217 responders may have records with that name, rrtype, and rrclass, and
221 name, rrtype, and rrclass are under the control or ownership of a
872 (unless the qtype is "ANY"), and the record rrclass must match the
923 verified that the requested name, rrtype and rrclass in the DNS query
1113 its unique resource record set name, rrtype and rrclass cannot
1160 'lexicographically later'. If the rrtype and rrclass both match then
1215 Response with the most significant bit of the rrclass set to one.
1216 The most significant bit of the rrclass for a record in the Answer
1278 and rrclass, but inconsistent rdata. What may be considered
1389 resource record with the same name, rrtype and rrclass as one of A's
[all …]
Ddraft-cheshire-dnsext-multicastdns-06.txt193 responders may have records with that name, rrtype, and rrclass, and
197 that name, rrtype, and rrclass are conceptually under the control
200 rrclass. Before claiming ownership of a unique resource record set,
957 (unless the qtype is "ANY"), and the record rrclass must match the
995 has previously verified that the name, rrtype and rrclass are unique
1261 its unique resource record set name, rrtype and rrclass cannot
1322 "lexicographically later". If the rrtype and rrclass both match then
1412 Response with the most significant bit of the rrclass set to one.
1413 The most significant bit of the rrclass for a record in the Answer
1493 rrclass, but inconsistent rdata. What may be considered inconsistent
[all …]
Ddraft-cheshire-dnsext-multicastdns-04.txt1113 Response with the most significant bit of the rrclass set to one. The
1114 most significant bit of the rrclass is the mDNS "cache flush" bit and
1491 to be unique, the host sets the most significant bit of the rrclass
1574 conventionally referred to as the rrclass field), and the actual
1577 0x8001 in the rrclass field of a resource record in an mDNS response
2117 * defines a "unicast response" bit in the rrclass of query questions
2118 * defines a "cache flush" bit in the rrclass of responses
Ddraft-cheshire-dnsext-multicastdns-03.txt1113 Response with the most significant bit of the rrclass set to one. The
1114 most significant bit of the rrclass is the mDNS "cache flush" bit and
1491 to be unique, the host sets the most significant bit of the rrclass
1574 conventionally referred to as the rrclass field), and the actual
1577 0x8001 in the rrclass field of a resource record in an mDNS response
2117 * defines a "unicast response" bit in the rrclass of query questions
2118 * defines a "cache flush" bit in the rrclass of responses
/external/avahi/avahi-compat-howl/
Dunsupported.c992 AVAHI_GCC_UNUSED sw_uint16 rrclass, in sw_discovery_query_record() argument