Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c29 static int _nss_mdns_queryrecord(const char *rrname, int rrclass, int rrtype,
71 _nss_mdns_queryrecord(const char *rrname, int rrclass, int rrtype, in _nss_mdns_queryrecord() argument
90 rrname, rrtype, rrclass, callback, data); in _nss_mdns_queryrecord()
157 const char *fullname, uint16_t rrtype, uint16_t rrclass, in _nss_mdns_querynamereply() argument
184 if (rrclass != kDNSServiceClass_IN) in _nss_mdns_querynamereply()
252 int rrclass; in _nss_mdns_querybyname() local
259 rrclass = kDNSServiceClass_IN; in _nss_mdns_querybyname()
281 rc = _nss_mdns_queryrecord(hname, rrclass, rrtype, in _nss_mdns_querybyname()
298 const char *fullname, uint16_t rrtype, uint16_t rrclass, in _nss_mdns_queryaddrreply() argument
323 if (rrclass != kDNSServiceClass_IN) in _nss_mdns_queryaddrreply()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/Clients/
H A Ddns-sd.c1061 …const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32… in qr_reply() argument
1091 switch (rrclass) in qr_reply()
1097 snprintf(rr_class, sizeof(rr_class), "%d", rrclass); in qr_reply()
1189 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata); in qr_reply()
1604 uint16_t rrclass = 0; in API_NULL_input_test() local
1608 …if ( (DNSServiceQueryRecord( 0, flags, interfaceIndex, fullname, rrtype, rrclass, callBack,… in API_NULL_input_test()
1609 …|| (DNSServiceQueryRecord(&sdRef, flags, interfaceIndex, 0, rrtype, rrclass, callBack, con… in API_NULL_input_test()
1610 …|| (DNSServiceQueryRecord(&sdRef, flags, interfaceIndex, fullname, rrtype, rrclass, 0, con… in API_NULL_input_test()
1732 uint16_t rrclass = kDNSServiceClass_IN; in API_NULL_input_test() local
1746 …isterRecord( 0, &RecordRef, flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata, tt… in API_NULL_input_test()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSCommon.h160 (r1)->rrclass == (r2)->rrclass && \
169 (r1)->rrclass == (r2)->rrclass && \
234 …u8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass);
H A DDNSCommon.c351 length += mDNS_snprintf(buffer+length, RemSpc, "Max %d", rr->rrclass); in GetRRDisplayString_rdb()
1197 rr->resrec.rrclass = kDNSClass_IN; in mDNS_SetupResourceRecord()
1555 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1663 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1702 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in AnyTypeRecordAnswersQuestion()
1733 if (rr->rrclass != q->qclass && q->qclass != kDNSQClass_ANY) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
1742 …if (rr->rrclass == kDNSQClass_ANY) return(rr->rdlength); // Used in update packets to mean "Del… in GetRDLength()
2243 ptr[2] = (mDNSu8)(rr->rrclass >> 8); in PutResourceRecordTTLWithLimit()
2244 ptr[3] = (mDNSu8)(rr->rrclass & 0xFF); in PutResourceRecordTTLWithLimit()
2286 ptr[2] = (mDNSu8)(rr->resrec.rrclass >> 8); // Put class in putEmptyResourceRecord()
[all …]
H A DmDNS.c978 r1->resrec.rrclass == r2->resrec.rrclass && in SameResourceRecordNameClassInterface()
1003 pktrr->resrec.rrclass == authrr->resrec.rrclass && in PacketRRMatchesSignature()
2208 (rr2->resrec.rrclass == additional->resrec.rrclass) && in AddRRSetAdditionalsToResponseList()
2320 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutR… in SendDelayedUnicastResponse()
2324 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back… in SendDelayedUnicastResponse()
2342 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutR… in SendDelayedUnicastResponse()
2344 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back… in SendDelayedUnicastResponse()
2959 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutR… in SendResponses()
2961 …rr->resrec.rrclass &= ~kDNSClass_UniqueRRSet; // Make sure to clear cache flush bit back… in SendResponses()
3019 …rr->resrec.rrclass |= kDNSClass_UniqueRRSet; // Temporarily set the cache flush bit so PutResou… in SendResponses()
[all …]
H A DuDNS.c1035 opt->rrclass = NormalMaxDNSMessageData; in putLLQ()
1766 zd->ZoneClass = answer->rrclass; in GetZoneData_QuestionCallback()
2945 ptr = putZone(&m->omsg, ptr, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordRegistration()
3265 … next = putZone(&m->omsg, next, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendGroupUpdates()
4064 if (newRR->resrec.rrclass != zoneData->ZoneClass) in RecordRegistrationGotZoneData()
4066 …ource record's class (%d) does not match zone class (%d)", newRR->resrec.rrclass, zoneData->ZoneCl… in RecordRegistrationGotZoneData()
4205 ptr = putZone(&m->omsg, ptr, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordDeregistration()
5688 if (mrr->rrclass == kDNSQClass_ANY) in DNSPushProcessResponse()
5721 (action == removeClass && rr->resrec.rrclass == mrr->rrclass) || in DNSPushProcessResponse()
5722 (rr->resrec.rrclass == mrr->rrclass && in DNSPushProcessResponse()
[all …]
H A DDNSDigest.c1366 tsig.resrec.rrclass = kDNSQClass_ANY; in DNSDigest_SignMessage()
1528 buf = mDNSOpaque16fromIntVal(lcr->r.resrec.rrclass); in DNSDigest_VerifyMessage()
H A DmDNSEmbeddedAPI.h1289 mDNSu16 rrclass; // See DNS_ClassValues enum. member
3258 …const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds, mDNSInte…
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddns_sd.h1749 uint16_t rrclass,
1807 uint16_t rrclass,
2039 uint16_t rrclass,
2087 uint16_t rrclass,
H A Ddnssd_clientstub.c1476 uint16_t rrtype, rrclass, rdlen; in handle_query_response() local
1481 rrclass = get_uint16(&data, end); in handle_query_response()
1487 …lback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, tt… in handle_query_response()
1529 uint16_t rrclass, in DNSServiceQueryRecord() argument
1578 put_uint16(rrclass, &ptr); in DNSServiceQueryRecord()
1606 uint16_t rrtype, rrclass, rdlen; in handle_addrinfo_response() local
1612 rrclass = get_uint16(&data, end); in handle_addrinfo_response()
1616 (void)rrclass; // Unused in handle_addrinfo_response()
2114 uint16_t rrclass, in DNSServiceRegisterRecord() argument
2179 put_uint16(rrclass, &ptr); in DNSServiceRegisterRecord()
[all …]
H A Duds_daemon.c666 rr->resrec.rrclass = class; in read_rr_from_ipc_msg()
1308 …rr->resrec.rrclass == kDNSClass_IN && (rr->resrec.rrtype == kDNSType_A || rr->resrec.rrtype == kDN… in _handle_regrecord_request_start()
1685 rr.rrclass = ar->resrec.rrclass; in update_record()
3614 put_uint16(answer->rrclass, &data); in queryrecord_result_reply()