/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openscreen/src/discovery/mdns/ |
H A D | mdns_querier.cc | 253 if ((dns_type == DnsType::kANY || dns_type == tracker.dns_type()) && in Find() 335 DnsType dns_type) { in StartTracking() argument 421 if (dns_type == callback_info.dns_type && in StartQuery() 455 return dns_type == tracked_question.dns_type() && in StartQuery() 483 if (dns_type == callback_info.dns_type && in StopQuery() 504 if (dns_type == tracked_question.dns_type() && in StopQuery() 585 pair.second->question().dns_type() == answer.dns_type()) && in ShouldAnswerRecordBeProcessed() 687 return record.dns_type() == tracker.dns_type() && in ProcessSharedRecord() 766 return tracker.dns_type() == dns_type && in ProcessMultiTrackedUniqueRecord() 776 return tracker.dns_type() == dns_type && in ProcessMultiTrackedUniqueRecord() [all …]
|
H A D | mdns_trackers.cc | 45 bool IsNegativeResponseForType(const MdnsRecord& record, DnsType dns_type) { in IsNegativeResponseForType() argument 46 if (record.dns_type() != DnsType::kNSEC) { in IsNegativeResponseForType() 52 [dns_type](DnsType type) { in IsNegativeResponseForType() 53 return type == dns_type || type == DnsType::kANY; in IsNegativeResponseForType() 133 DnsType dns_type, in MdnsRecordTracker() argument 145 dns_type_(dns_type), in MdnsRecordTracker() 156 OSP_DCHECK(record_.dns_type() != DnsType::kNSEC || in MdnsRecordTracker() 167 const bool has_same_rdata = record_.dns_type() == new_record.dns_type() && in Update() 171 record_.dns_type() == DnsType::kNSEC; in Update() 198 record_ = MdnsRecord(new_record.name(), new_record.dns_type(), in Update() [all …]
|
H A D | mdns_publisher.cc | 41 return MdnsRecord(record.name(), record.dns_type(), record.dns_class(), in CreateGoodbyeRecord() 74 if (!CanBePublished(record.dns_type())) { in RegisterRecord() 90 OSP_DVLOG << "Registering record of type '" << record.dns_type() << "'"; in RegisterRecord() 101 if (!CanBePublished(record.dns_type())) { in UnregisterRecord() 114 if (!CanBePublished(new_record.dns_type())) { in UpdateRegisteredRecord() 118 if (old_record.dns_type() == DnsType::kPTR) { in UpdateRegisteredRecord() 124 old_record.dns_type() != new_record.dns_type() || in UpdateRegisteredRecord() 130 OSP_DVLOG << "Updating record of type '" << new_record.dns_type() << "'"; in UpdateRegisteredRecord() 173 const DnsType record_dns_type = announcer->record().dns_type(); in GetRecords() 194 const DnsType record_dns_type = announcer->record().dns_type(); in GetPtrRecords() [all …]
|
H A D | mdns_records.cc | 559 DnsType dns_type, in MdnsRecord() argument 565 dns_type_(dns_type), in MdnsRecord() 592 ((dns_type == DnsType::kSRV && in IsValidConfig() 594 (dns_type == DnsType::kA && in IsValidConfig() 596 (dns_type == DnsType::kAAAA && in IsValidConfig() 598 (dns_type == DnsType::kPTR && in IsValidConfig() 600 (dns_type == DnsType::kTXT && in IsValidConfig() 602 (dns_type == DnsType::kNSEC && in IsValidConfig() 604 (dns_type == DnsType::kOPT && in IsValidConfig() 727 dns_type_(dns_type), in MdnsQuestion() [all …]
|
H A D | mdns_querier.h | 55 DnsType dns_type, 63 DnsType dns_type, 75 const DnsType dns_type; member 101 DnsType dns_type, 195 DnsType dns_type);
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openscreen/src/discovery/mdns/ |
H A D | mdns_querier.cc | 81 if ((dns_type == DnsType::kANY || dns_type == tracker.dns_type()) && in Find() 163 DnsType dns_type) { in StartTracking() argument 249 if (dns_type == callback_info.dns_type && in StartQuery() 277 if (dns_type == tracked_question.dns_type() && in StartQuery() 300 if (dns_type == callback_info.dns_type && in StopQuery() 321 if (dns_type == tracked_question.dns_type() && in StopQuery() 406 pair.second->question().dns_type() == answer.dns_type()) && in ShouldAnswerRecordBeProcessed() 498 return record.dns_type() == tracker.dns_type() && in ProcessSharedRecord() 581 return tracker.dns_type() == dns_type && in ProcessMultiTrackedUniqueRecord() 591 return tracker.dns_type() == dns_type && in ProcessMultiTrackedUniqueRecord() [all …]
|
H A D | mdns_trackers.cc | 44 bool IsNegativeResponseForType(const MdnsRecord& record, DnsType dns_type) { in IsNegativeResponseForType() argument 45 if (record.dns_type() != DnsType::kNSEC) { in IsNegativeResponseForType() 51 [dns_type](DnsType type) { in IsNegativeResponseForType() 52 return type == dns_type || type == DnsType::kANY; in IsNegativeResponseForType() 132 DnsType dns_type, in MdnsRecordTracker() argument 144 dns_type_(dns_type), in MdnsRecordTracker() 155 OSP_DCHECK(record_.dns_type() != DnsType::kNSEC || in MdnsRecordTracker() 166 const bool has_same_rdata = record_.dns_type() == new_record.dns_type() && in Update() 170 record_.dns_type() == DnsType::kNSEC; in Update() 197 record_ = MdnsRecord(new_record.name(), new_record.dns_type(), in Update() [all …]
|
H A D | mdns_publisher.cc | 41 return MdnsRecord(record.name(), record.dns_type(), record.dns_class(), in CreateGoodbyeRecord() 46 OSP_DCHECK(record.dns_type() != DnsType::kANY); in ValidateRecord() 78 if (record.dns_type() == DnsType::kNSEC) { in RegisterRecord() 95 OSP_DVLOG << "Registering record of type '" << record.dns_type() << "'"; in RegisterRecord() 105 if (record.dns_type() == DnsType::kNSEC) { in UnregisterRecord() 119 if (old_record.dns_type() == DnsType::kNSEC) { in UpdateRegisteredRecord() 123 if (old_record.dns_type() == DnsType::kPTR) { in UpdateRegisteredRecord() 129 old_record.dns_type() != new_record.dns_type() || in UpdateRegisteredRecord() 178 const DnsType record_dns_type = announcer->record().dns_type(); in GetRecords() 199 const DnsType record_dns_type = announcer->record().dns_type(); in GetPtrRecords() [all …]
|
H A D | mdns_records.cc | 476 DnsType dns_type, in MdnsRecord() argument 482 dns_type_(dns_type), in MdnsRecord() 504 ((dns_type == DnsType::kSRV && in IsValidConfig() 506 (dns_type == DnsType::kA && in IsValidConfig() 508 (dns_type == DnsType::kAAAA && in IsValidConfig() 510 (dns_type == DnsType::kPTR && in IsValidConfig() 512 (dns_type == DnsType::kTXT && in IsValidConfig() 514 (dns_type == DnsType::kNSEC && in IsValidConfig() 596 DnsType dns_type, in MdnsQuestion() argument 600 dns_type_(dns_type), in MdnsQuestion() [all …]
|
H A D | mdns_querier.h | 47 DnsType dns_type, 55 DnsType dns_type, 67 const DnsType dns_type; member 93 DnsType dns_type, 185 DnsType dns_type);
|
H A D | mdns_responder.cc | 151 OSP_DCHECK(record.dns_type() == DnsType::kPTR); in ApplyQueryResults() 165 if (message->additional_records()[i].dns_type() != DnsType::kSRV) { in ApplyQueryResults() 196 OSP_DCHECK(srv_record.dns_type() == DnsType::kSRV); in ApplyQueryResults() 228 if (question.dns_type() != DnsType::kPTR) { in IsServiceTypeEnumerationQuery() 330 << question.dns_type() << "'"; in OnMessageReceived() 333 if (question.dns_type() == DnsType::kNSEC) { in OnMessageReceived() 345 !record_handler_->HasRecords(question.name(), question.dns_type(), in OnMessageReceived() 405 question.dns_type(), question.dns_class(), in SendResponse()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openscreen/src/discovery/dnssd/impl/ |
H A D | publisher_impl_unittest.cc | 33 DnsType dns_type, in StartQuery() argument 40 DnsType dns_type, in StopQuery() argument 101 if (record.dns_type() == DnsType::kA) { in TEST_F() 106 } else if (record.dns_type() == DnsType::kSRV) { in TEST_F() 114 if (record.dns_type() != DnsType::kPTR) { in TEST_F() 130 if (record.dns_type() == DnsType::kA) { in TEST_F() 135 } else if (record.dns_type() == DnsType::kSRV) { in TEST_F() 176 EXPECT_NE(record.dns_type(), DnsType::kA); in TEST_F() 177 if (record.dns_type() == DnsType::kAAAA) { in TEST_F() 191 EXPECT_EQ(record.dns_type(), DnsType::kA); in TEST_F() [all …]
|
H A D | conversion_layer_unittest.cc | 70 EXPECT_EQ(query.dns_type, DnsType::kANY); in TEST() 85 EXPECT_EQ(query.dns_type, DnsType::kPTR); in TEST() 110 return record.dns_type() == DnsType::kPTR; in TEST() 147 return record.dns_type() == DnsType::kSRV; in TEST() 180 return record.dns_type() == DnsType::kA; in TEST() 210 return record.dns_type() == DnsType::kA; in TEST() 228 return record.dns_type() == DnsType::kAAAA; in TEST() 258 return record.dns_type() == DnsType::kAAAA; in TEST() 279 return record.dns_type() == DnsType::kTXT; in TEST()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openscreen/src/discovery/dnssd/impl/ |
H A D | publisher_impl_unittest.cc | 34 DnsType dns_type, in StartQuery() argument 41 DnsType dns_type, in StopQuery() argument 105 if (record.dns_type() == DnsType::kA) { in TEST_F() 110 } else if (record.dns_type() == DnsType::kSRV) { in TEST_F() 118 if (record.dns_type() != DnsType::kPTR) { in TEST_F() 138 if (record.dns_type() == DnsType::kA) { in TEST_F() 143 } else if (record.dns_type() == DnsType::kSRV) { in TEST_F() 187 EXPECT_NE(record.dns_type(), DnsType::kA); in TEST_F() 188 if (record.dns_type() == DnsType::kAAAA) { in TEST_F() 208 EXPECT_EQ(record.dns_type(), DnsType::kA); in TEST_F() [all …]
|
H A D | conversion_layer_unittest.cc | 70 EXPECT_EQ(query.dns_type, DnsType::kANY); in TEST() 85 EXPECT_EQ(query.dns_type, DnsType::kPTR); in TEST() 109 return record.dns_type() == DnsType::kPTR; in TEST() 145 return record.dns_type() == DnsType::kSRV; in TEST() 177 return record.dns_type() == DnsType::kA; in TEST() 206 return record.dns_type() == DnsType::kA; in TEST() 223 return record.dns_type() == DnsType::kAAAA; in TEST() 252 return record.dns_type() == DnsType::kAAAA; in TEST() 272 return record.dns_type() == DnsType::kTXT; in TEST()
|
/dports/devel/vstr/vstr-1.0.15/examples/ |
H A D | dns.c | 174 if (dns_type) *dns_type = tnum; in dns_app_class_type() 349 else if (dns_type == DNS_TYPE_CH_A) in dns_app_rr_data() 363 else if (dns_type == DNS_TYPE_CH_TXT) in dns_app_rr_data() 375 else if (dns_type == DNS_TYPE_IN_A) in dns_app_rr_data() 386 else if (dns_type == DNS_TYPE_IN_NS) in dns_app_rr_data() 396 else if (dns_type == DNS_TYPE_IN_SOA) in dns_app_rr_data() 434 else if (dns_type == DNS_TYPE_IN_PTR) in dns_app_rr_data() 447 else if (dns_type == DNS_TYPE_IN_MX) in dns_app_rr_data() 553 unsigned int dns_type = 0; in dns_dbg_prnt_pkt() local 677 app_b_uint16(io_w, dns_type); in dns_app_recq_pkt() [all …]
|
/dports/net/measurement-kit/measurement-kit-0.10.14/src/libmeasurement_kit/dns/ |
H A D | system_resolver.hpp | 15 void system_resolver(QueryClass dns_class, QueryType dns_type, std::string name, in system_resolver() argument 35 if (dns_type == MK_DNS_TYPE_A) { in system_resolver() 37 } else if (dns_type == MK_DNS_TYPE_AAAA) { in system_resolver() 39 } else if (dns_type == MK_DNS_TYPE_CNAME) { in system_resolver() 61 query.type = dns_type; in system_resolver()
|
H A D | libevent_query.hpp | 344 void libevent_query(QueryClass dns_class, QueryType dns_type, std::string name, in libevent_query() argument 385 if (dns_type == MK_DNS_TYPE_PTR) { in libevent_query() 388 dns_type = MK_DNS_TYPE_REVERSE_A; in libevent_query() 391 dns_type = MK_DNS_TYPE_REVERSE_AAAA; in libevent_query() 400 query.type = dns_type; in libevent_query() 421 if (dns_type == MK_DNS_TYPE_A) { in libevent_query() 434 if (dns_type == MK_DNS_TYPE_AAAA) { in libevent_query() 447 if (dns_type == MK_DNS_TYPE_REVERSE_A) { in libevent_query() 467 if (dns_type == MK_DNS_TYPE_REVERSE_AAAA) { in libevent_query()
|
/dports/dns/wdns/wdns-0.10.0/wdns/ |
H A D | rr_to_ubuf.c | 4 const char *dns_class, *dns_type; in _wdns_rr_to_ubuf() local 9 dns_type = wdns_rrtype_to_str(rr->rrtype); in _wdns_rr_to_ubuf() 24 if (dns_type) in _wdns_rr_to_ubuf() 25 ubuf_add_fmt(u, " %s", dns_type); in _wdns_rr_to_ubuf()
|
/dports/devel/libdill/libdill-2.14/dns/ |
H A D | dns.h | 231 enum dns_type { enum 295 const char *dns_strtype(enum dns_type, void *, size_t); 300 enum dns_type dns_itype(const char *); 476 enum dns_type type; 504 enum dns_type type; 802 int dns_any_push(struct dns_packet *, union dns_any *, enum dns_type); 804 int dns_any_cmp(const union dns_any *, enum dns_type, const union dns_any *, enum dns_type); 806 size_t dns_any_print(void *, size_t, union dns_any *, enum dns_type); 808 size_t dns_any_cname(void *, size_t, union dns_any *, enum dns_type); 1104 int dns_res_submit(struct dns_resolver *, const char *, enum dns_type, enum dns_class); [all …]
|
/dports/devel/libmill/libmill-1.18/dns/ |
H A D | dns.h | 231 enum dns_type { enum 295 const char *dns_strtype(enum dns_type, void *, size_t); 300 enum dns_type dns_itype(const char *); 476 enum dns_type type; 504 enum dns_type type; 802 int dns_any_push(struct dns_packet *, union dns_any *, enum dns_type); 804 int dns_any_cmp(const union dns_any *, enum dns_type, const union dns_any *, enum dns_type); 806 size_t dns_any_print(void *, size_t, union dns_any *, enum dns_type); 808 size_t dns_any_cname(void *, size_t, union dns_any *, enum dns_type); 1104 int dns_res_submit(struct dns_resolver *, const char *, enum dns_type, enum dns_class); [all …]
|
/dports/security/gnupg/gnupg-2.3.3/dirmngr/ |
H A D | dns.h | 222 enum dns_type { enum 283 DNS_PUBLIC const char *dns_strtype(enum dns_type, char *); 285 DNS_PUBLIC enum dns_type dns_itype(const char *); 465 enum dns_type type; 490 enum dns_type type; 805 DNS_PUBLIC int dns_any_push(struct dns_packet *, union dns_any *, enum dns_type); 807 …S_PUBLIC int dns_any_cmp(const union dns_any *, enum dns_type, const union dns_any *, enum dns_typ… 809 DNS_PUBLIC size_t dns_any_print(void *, size_t, union dns_any *, enum dns_type); 811 DNS_PUBLIC size_t dns_any_cname(void *, size_t, union dns_any *, enum dns_type); 1120 DNS_PUBLIC int dns_res_submit(struct dns_resolver *, const char *, enum dns_type, enum dns_class); [all …]
|
/dports/net/libusipp/libusipp-libusipp-2.25s/samples/ |
H A D | dns-tkey.cc | 59 enum dns_type : uint16_t { enum 92 htons(dns_type::TKEY), htons(1) 122 da_Q.qtype = htons(dns_type::TKEY); in main() 128 rr1.type = htons(dns_type::A); // non-TKEY type to trigger bug in main()
|
/dports/devel/lua-cqueues/cqueues-rel-20200726/src/lib/ |
H A D | dns.h | 246 enum dns_type { enum 314 DNS_PUBLIC const char *dns_strtype(enum dns_type, void *, size_t); 319 DNS_PUBLIC enum dns_type dns_itype(const char *); 507 enum dns_type type; 535 enum dns_type type; 850 DNS_PUBLIC int dns_any_push(struct dns_packet *, union dns_any *, enum dns_type); 852 …S_PUBLIC int dns_any_cmp(const union dns_any *, enum dns_type, const union dns_any *, enum dns_typ… 854 DNS_PUBLIC size_t dns_any_print(void *, size_t, union dns_any *, enum dns_type); 856 DNS_PUBLIC size_t dns_any_cname(void *, size_t, union dns_any *, enum dns_type); 1157 DNS_PUBLIC int dns_res_submit(struct dns_resolver *, const char *, enum dns_type, enum dns_class); [all …]
|
/dports/net/belle-sip/belle-sip-1.6.3-0/src/ |
H A D | dns.h | 245 enum dns_type { enum 313 DNS_PUBLIC const char *dns_strtype(enum dns_type, void *, size_t); 318 DNS_PUBLIC enum dns_type dns_itype(const char *); 506 enum dns_type type; 534 enum dns_type type; 847 DNS_PUBLIC int dns_any_push(struct dns_packet *, union dns_any *, enum dns_type); 849 …S_PUBLIC int dns_any_cmp(const union dns_any *, enum dns_type, const union dns_any *, enum dns_typ… 851 DNS_PUBLIC size_t dns_any_print(void *, size_t, union dns_any *, enum dns_type); 853 DNS_PUBLIC size_t dns_any_cname(void *, size_t, union dns_any *, enum dns_type); 1178 DNS_PUBLIC int dns_res_submit(struct dns_resolver *, const char *, enum dns_type, enum dns_class); [all …]
|