Home
last modified time | relevance | path

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

12

/external/openscreen/discovery/mdns/public/
Dmdns_constants.h381 constexpr DnsClass GetDnsClass(uint16_t rrclass) { in GetDnsClass() argument
382 return static_cast<DnsClass>(rrclass & kClassMask); in GetDnsClass()
385 constexpr RecordType GetRecordType(uint16_t rrclass) { in GetRecordType() argument
386 return static_cast<RecordType>((rrclass & kClassMsbMask) >> kClassMsbShift); in GetRecordType()
389 constexpr ResponseType GetResponseType(uint16_t rrclass) { in GetResponseType() argument
390 return static_cast<ResponseType>((rrclass & kClassMsbMask) >> kClassMsbShift); in GetResponseType()
/external/mdnsresponder/mDNSWindows/DLL.NET/
Ddnssd_NET.h280 int rrclass,
390 uint16_t rrclass,
1264 int rrclass,
1311 int rrclass,
1356 int rrclass,
1387 int rrclass,
Ddnssd_NET.cpp263 int rrclass, in QueryRecordDispatch() argument
271 OnQueryRecordReply(this, flags, interfaceIndex, errorCode, fullname, rrtype, rrclass, rdata, ttl); in QueryRecordDispatch()
616 uint16_t rrclass, in QueryRecordCallback() argument
639 …nterfaceIndex, (ErrorCode) errorCode, ConvertToString(fullname), rrtype, rrclass, rdataBytes, ttl); in QueryRecordCallback()
941 int rrclass, in RegisterRecord() argument
960 …ecord->m_impl->m_ref, flags, interfaceIndex, pFullname->c_str(), rrtype, rrclass, len, v, ttl, (DN… in RegisterRecord()
984 int rrclass, in QueryRecord() argument
991 …sdRef->m_impl->m_ref, flags, interfaceIndex, pFullname->c_str(), rrtype, rrclass, (DNSServiceQuery… in QueryRecord()
1018 int rrclass, in ReconfirmRecord() argument
1035 DNSServiceReconfirmRecord(flags, interfaceIndex, pFullname->c_str(), rrtype, rrclass, len, v); in ReconfirmRecord()
/external/openscreen/discovery/mdns/
Dmdns_reader.cc285 uint16_t rrclass; in Read() local
288 if (Read(&name) && Read(&type) && Read(&rrclass) && Read(&ttl) && in Read()
291 std::move(name), static_cast<DnsType>(type), GetDnsClass(rrclass), in Read()
292 GetRecordType(rrclass), std::chrono::seconds(ttl), std::move(rdata)); in Read()
309 uint16_t rrclass; in Read() local
310 if (Read(&name) && Read(&type) && Read(&rrclass)) { in Read()
313 GetDnsClass(rrclass), GetResponseType(rrclass)); in Read()
/external/mdnsresponder/mDNSWindows/DLLX/
DDNSSDService.h313 uint16_t rrclass,
408 …gs flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IDNSSDEventManag…
410 …gs flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, U…
414 …lags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata);
DDNSSDService.cpp638 …gs flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IDNSSDEventManag… in QueryRecord() argument
700 …ection, ifIndex, fullNameUTF8.c_str(), ( uint16_t ) rrtype, ( uint16_t ) rrclass, ( DNSServiceQuer… in QueryRecord()
740 …gs flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, U… in RegisterRecord() argument
812 …rRecord( m_primary, &rref, flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byt… in RegisterRecord()
950 …Flags flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata) in ReconfirmRecord() argument
984 …err = DNSServiceReconfirmRecord( flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t… in ReconfirmRecord()
1721 uint16_t rrclass, in QueryRecordReply() argument
1766 …NSSDFlags ) flags, ifIndex, fullName, ( DNSSDRRType ) rrtype, ( DNSSDRRClass ) rrclass, var, ttl ); in QueryRecordReply()
DDLLX.idl338 … ifIndex, [in] BSTR fullname, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] IDNSSDEvent…
340 … ifIndex, [in] BSTR fullname, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] VARIANT rda…
344 … ifIndex, [in] BSTR fullname, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] VARIANT rda…
400 … ifIndex, [in] BSTR fullName, [in] DNSSDRRType rrtype, [in] DNSSDRRClass rrclass, [in] VARIANT rda…
DDNSSD.cpp247 …gs flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IQueryRecordList… in QueryRecord() argument
277 … flags, ifIndex, fullNameUTF8.c_str(), ( uint16_t ) rrtype, ( uint16_t ) rrclass, ( DNSServiceQuer… in QueryRecord()
730 uint16_t rrclass, in QueryRecordReply() argument
761 …NSSDFlags ) flags, ifIndex, fullName, ( DNSSDRRType ) rrtype, ( DNSSDRRClass ) rrclass, var, ttl ); in QueryRecordReply()
D_IDNSSDEvents_CP.h202 …lags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, … in Fire_QueryRecordAnswered() argument
226 avarParams[2] = rrclass; in Fire_QueryRecordAnswered()
/external/mdnsresponder/mDNSWindows/DLLStub/
DDLLStub.cpp349 uint16_t rrclass, in DNSServiceRegisterRecord() argument
363 …ret = func( sdRef, RecordRef, flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata, ttl,… in DNSServiceRegisterRecord()
378 uint16_t rrclass, in DNSServiceQueryRecord() argument
389 ret = func( sdRef, flags, interfaceIndex, fullname, rrtype, rrclass, callBack, context ); in DNSServiceQueryRecord()
403 uint16_t rrclass, in DNSServiceReconfirmRecord() argument
414 ret = func( flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata ); in DNSServiceReconfirmRecord()
/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()
/external/mdnsresponder/mDNSShared/
Ddns_sd.h1453 uint16_t rrclass,
1507 uint16_t rrclass,
1735 uint16_t rrclass,
1783 uint16_t rrclass,
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()
Ddnssd_clientstub.c1197 uint16_t rrtype, rrclass, rdlen; in handle_query_response() local
1202 rrclass = get_uint16(&data, end); in handle_query_response()
1208 …lback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, tt… in handle_query_response()
1219 uint16_t rrclass, in DNSServiceQueryRecord() argument
1245 put_uint16(rrclass, &ptr); in DNSServiceQueryRecord()
1255 uint16_t rrtype, rrclass, rdlen; in handle_addrinfo_response() local
1261 rrclass = get_uint16(&data, end); in handle_addrinfo_response()
1630 uint16_t rrclass, in DNSServiceRegisterRecord() argument
1676 put_uint16(rrclass, &ptr); in DNSServiceRegisterRecord()
1849 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()
/external/libcups/vcnet/
Ddns_sd.h1453 uint16_t rrclass,
1507 uint16_t rrclass,
1735 uint16_t rrclass,
1783 uint16_t rrclass,
Ddns_sd.c26 …uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryR…
184 uint16_t rrclass, in DNSServiceQueryRecord() argument
193 …return (*dnssd_query_record)(sdRef, flags, interfaceIndex, fullname, rrtype, rrclass, callBack, co… in DNSServiceQueryRecord()
/external/libcups/backend/
Ddnssd.c107 …viceErrorType errorCode, const char *fullName, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, …
116 const char *name, uint16_t rrclass,
961 uint16_t rrclass, /* I - Record class */ argument
980 uint16_t rrclass, /* I - Record class */
1010 … sdRef, flags, interfaceIndex, errorCode, fullName, rrtype, rrclass, rdlen, rdata, ttl, context);
1023 …browser, interfaceIndex, protocol, event, fullName, rrclass, rrtype, rdata, (unsigned)rdlen, flags…
/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()
/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/libcups/cups/
Ddest.c201 uint16_t rrtype, uint16_t rrclass,
212 const char *name, uint16_t rrclass,
2914 uint16_t rrclass, /* I - Record class */ in cups_dnssd_query_cb() argument
2925 uint16_t rrclass, /* I - Record class */ in cups_dnssd_query_cb()
2947 …%p)", (void *)sdRef, flags, interfaceIndex, errorCode, fullName, rrtype, rrclass, rdlen, rdata, tt… in cups_dnssd_query_cb()
2957 …gs=%x, context=%p)", browser, interfaceIndex, protocol, event, fullName, rrclass, rrtype, rdata, (… in cups_dnssd_query_cb()

12