Home
last modified time | relevance | path

Searched refs:DNSQuestion (Results 1 – 25 of 29) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-mock.cc57 .add_question(new DNSQuestion("www.google.com", ns_t_a)) in TEST_P()
63 .add_question(new DNSQuestion("www.example.com", ns_t_a)) in TEST_P()
93 .add_question(new DNSQuestion("www.google.com", ns_t_a)); in TEST_P()
96 .add_question(new DNSQuestion("www.google.com", ns_t_a)) in TEST_P()
121 .add_question(new DNSQuestion("www.google.com", ns_t_a)) in TEST_P()
166 .add_question(new DNSQuestion("www.google.com", ns_t_a)) in TEST_P()
216 .add_question(new DNSQuestion("www.google.com", ns_t_a)); in TEST_P()
230 .add_question(new DNSQuestion("www.google.com", ns_t_a)); in TEST_P()
245 .add_question(new DNSQuestion("www.google.com", ns_t_a)); in TEST_P()
260 .add_question(new DNSQuestion("www.google.com", ns_t_a)); in TEST_P()
[all …]
Dares-test-parse-ns.cc13 .add_question(new DNSQuestion("example.com", ns_t_ns)) in TEST_F()
29 .add_question(new DNSQuestion("google.com", ns_t_ns)) in TEST_F()
52 .add_question(new DNSQuestion("example.com", ns_t_ns)) in TEST_F()
61 pkt.add_question(new DNSQuestion("example.com", ns_t_ns)); in TEST_F()
66 pkt.add_question(new DNSQuestion("Axample.com", ns_t_ns)); in TEST_F()
70 pkt.add_question(new DNSQuestion("example.com", ns_t_ns)); in TEST_F()
74 pkt.add_question(new DNSQuestion("example.com", ns_t_ns)); in TEST_F()
78 pkt.add_question(new DNSQuestion("example.com", ns_t_ns)); in TEST_F()
104 .add_question(new DNSQuestion("example.com", ns_t_ns)) in TEST_F()
Dares-test-parse-soa.cc13 .add_question(new DNSQuestion("example.com", ns_t_soa)) in TEST_F()
35 .add_question(new DNSQuestion("example.com", ns_t_soa)) in TEST_F()
46 pkt.add_question(new DNSQuestion("example.com", ns_t_soa)); in TEST_F()
51 pkt.add_question(new DNSQuestion("Axample.com", ns_t_soa)); in TEST_F()
55 pkt.add_question(new DNSQuestion("example.com", ns_t_soa)); in TEST_F()
59 pkt.add_question(new DNSQuestion("example.com", ns_t_soa)); in TEST_F()
63 pkt.add_question(new DNSQuestion("example.com", ns_t_soa)); in TEST_F()
93 .add_question(new DNSQuestion("example.com", ns_t_soa)) in TEST_F()
Dares-test-parse-naptr.cc13 .add_question(new DNSQuestion("example.com", ns_t_naptr)) in TEST_F()
46 .add_question(new DNSQuestion("example.com", ns_t_naptr)) in TEST_F()
56 pkt.add_question(new DNSQuestion("example.com", ns_t_naptr)); in TEST_F()
61 pkt.add_question(new DNSQuestion("Axample.com", ns_t_naptr)); in TEST_F()
65 pkt.add_question(new DNSQuestion("example.com", ns_t_naptr)); in TEST_F()
69 pkt.add_question(new DNSQuestion("example.com", ns_t_naptr)); in TEST_F()
73 pkt.add_question(new DNSQuestion("example.com", ns_t_naptr)); in TEST_F()
132 .add_question(new DNSQuestion("example.com", ns_t_naptr)) in TEST_F()
Dares-test-parse-mx.cc13 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
68 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
78 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
83 pkt.add_question(new DNSQuestion("Axample.com", ns_t_mx)); in TEST_F()
87 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
91 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
96 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
127 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
Dares-test-parse-ptr.cc14 .add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)) in TEST_F()
32 .add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)) in TEST_F()
66 .add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)) in TEST_F()
81 .add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)) in TEST_F()
105 .add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)) in TEST_F()
129 .add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)) in TEST_F()
139 pkt.add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)); in TEST_F()
143 pkt.add_question(new DNSQuestion("99.48.32.16.in-addr.arpa", ns_t_ptr)); in TEST_F()
149 pkt.add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)); in TEST_F()
152 pkt.add_question(new DNSQuestion("64.48.32.16.in-addr.arpa", ns_t_ptr)); in TEST_F()
[all …]
Dares-test-parse-aaaa.cc13 .add_question(new DNSQuestion("example.com", ns_t_aaaa)) in TEST_F()
42 .add_question(new DNSQuestion("example.com", ns_t_aaaa)) in TEST_F()
77 .add_question(new DNSQuestion("example.com", ns_t_aaaa)); in TEST_F()
98 .add_question(new DNSQuestion("example.com", ns_t_aaaa)) in TEST_F()
114 pkt.add_question(new DNSQuestion("example.com", ns_t_aaaa)); in TEST_F()
118 pkt.add_question(new DNSQuestion("Axample.com", ns_t_aaaa)); in TEST_F()
124 pkt.add_question(new DNSQuestion("example.com", ns_t_aaaa)); in TEST_F()
127 pkt.add_question(new DNSQuestion("example.com", ns_t_aaaa)); in TEST_F()
133 pkt.add_question(new DNSQuestion("example.com", ns_t_aaaa)); in TEST_F()
171 .add_question(new DNSQuestion("example.com", ns_t_aaaa)) in TEST_F()
Dares-test-parse-a.cc13 .add_question(new DNSQuestion("example.com", ns_t_a)) in TEST_F()
112 .add_question(new DNSQuestion("example.com", ns_t_a)); in TEST_F()
133 .add_question(new DNSQuestion("mit.edu", ns_t_a)) in TEST_F()
154 .add_question(new DNSQuestion("mit.edu", ns_t_a)) in TEST_F()
173 .add_question(new DNSQuestion("query.example.com", ns_t_a)) in TEST_F()
205 .add_question(new DNSQuestion("c1.localhost", ns_t_a)) in TEST_F()
230 .add_question(new DNSQuestion("query.example.com", ns_t_a)) in TEST_F()
258 .add_question(new DNSQuestion("example.com", ns_t_a)) in TEST_F()
272 pkt.add_question(new DNSQuestion("example.com", ns_t_a)); in TEST_F()
276 pkt.add_question(new DNSQuestion("Axample.com", ns_t_a)); in TEST_F()
[all …]
Dares-test-parse-srv.cc13 .add_question(new DNSQuestion("example.com", ns_t_srv)) in TEST_F()
41 .add_question(new DNSQuestion("example.abc.def.com", ns_t_srv)) in TEST_F()
99 .add_question(new DNSQuestion("srv.example.com", ns_t_srv)) in TEST_F()
145 .add_question(new DNSQuestion("example.abc.def.com", ns_t_srv)) in TEST_F()
173 .add_question(new DNSQuestion("query.example.com", ns_t_srv)) in TEST_F()
220 .add_question(new DNSQuestion("example.abc.def.com", ns_t_srv)) in TEST_F()
229 pkt.add_question(new DNSQuestion("example.abc.def.com", ns_t_srv)); in TEST_F()
234 pkt.add_question(new DNSQuestion("Axample.com", ns_t_srv)); in TEST_F()
238 pkt.add_question(new DNSQuestion("example.com", ns_t_srv)); in TEST_F()
242 pkt.add_question(new DNSQuestion("example.abc.def.com", ns_t_srv)); in TEST_F()
[all …]
Dares-test-parse-txt.cc16 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
47 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
193 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
206 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
211 pkt.add_question(new DNSQuestion("Axample.com", ns_t_txt)); in TEST_F()
215 pkt.add_question(new DNSQuestion("example.com", ns_t_txt)); in TEST_F()
219 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
225 pkt.add_question(new DNSQuestion("example.com", ns_t_mx)); in TEST_F()
249 .add_question(new DNSQuestion("example.com", ns_t_mx)) in TEST_F()
Ddns-proto.h43 struct DNSQuestion { struct
44 DNSQuestion(const std::string& name, ns_type rrtype, ns_class qclass) in DNSQuestion() function
46 DNSQuestion(const std::string& name, ns_type rrtype) in DNSQuestion() function
48 virtual ~DNSQuestion() {} in ~DNSQuestion() argument
55 struct DNSRR : public DNSQuestion { argument
57 : DNSQuestion(name, rrtype, qclass), ttl_(ttl) {} in DNSRR()
59 : DNSQuestion(name, rrtype), ttl_(ttl) {} in DNSRR()
192 DNSPacket& add_question(DNSQuestion *q) { in add_question()
193 questions_.push_back(std::unique_ptr<DNSQuestion>(q)); in add_question()
234 std::vector<std::unique_ptr<DNSQuestion>> questions_;
Ddns-proto-test.cc12 .add_question(new DNSQuestion("example.com.", ns_t_a)) in TEST()
13 .add_question(new DNSQuestion("www.example.com", ns_t_aaaa, ns_c_chaos)); in TEST()
Dares-test-misc.cc194 pkt.set_qid(0x1234).add_question(new DNSQuestion("example.com", ns_t_a)); in TEST_F()
210 pkt.set_qid(0x1234).add_question(new DNSQuestion("exam@le.com", ns_t_a)); in TEST_F()
474 pkt.set_qid(0x1234).add_question(new DNSQuestion("example.com", ns_t_a)) in TEST_F()
489 pkt.set_qid(0x1234).add_question(new DNSQuestion("", ns_t_a)); in TEST_F()
Dares-test-parse.cc13 .add_question(new DNSQuestion(".", ns_t_a)) in TEST_F()
Ddns-proto.cc476 std::vector<byte> DNSQuestion::data() const { in data()
486 std::vector<byte> data = DNSQuestion::data(); in data()
619 for (const std::unique_ptr<DNSQuestion>& question : questions_) { in data()
/external/openscreen/osp/impl/discovery/mdns/
Dmdns_responder_adapter_impl.h95 std::map<DomainName, DNSQuestion, DomainNameComparator> a;
96 std::map<DomainName, DNSQuestion, DomainNameComparator> aaaa;
97 std::map<DomainName, DNSQuestion, DomainNameComparator> ptr;
98 std::map<DomainName, DNSQuestion, DomainNameComparator> srv;
99 std::map<DomainName, DNSQuestion, DomainNameComparator> txt;
103 DNSQuestion* question,
107 DNSQuestion* question,
111 DNSQuestion* question,
115 DNSQuestion* question,
119 DNSQuestion* question,
/external/mdnsresponder/mDNSCore/
DuDNS.h64 extern void startLLQHandshake(mDNS *m, DNSQuestion *q);
65 extern void sendLLQRefresh(mDNS *m, DNSQuestion *q);
77 extern void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q);
81 extern mStatus mDNS_StartQuery_internal(mDNS *const m, DNSQuestion *const question);
82 extern mStatus mDNS_StopQuery_internal(mDNS *const m, DNSQuestion *const question);
118 …8 *const end, const mDNSAddr *const srcaddr, const mDNSIPPort srcport, DNSQuestion **matchQuestion…
120 extern DomainAuthInfo *GetAuthInfoForQuestion(mDNS *m, const DNSQuestion *const q);
DmDNSEmbeddedAPI.h447 typedef struct DNSQuestion_struct DNSQuestion; typedef
495 DNSQuestion *question; // For queries
1342DNSQuestion *CRActiveQuestion; // Points to an active question referencing this answer. Can nev…
1508 typedef void mDNSQuestionCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const…
1517 DNSQuestion *next;
1534 DNSQuestion *DuplicateOf;
1535 DNSQuestion *NextInDQList;
1622 DNSQuestion qSRV;
1623 DNSQuestion qTXT;
1624 DNSQuestion qAv4;
[all …]
DDNSCommon.h164 extern mDNSBool SameNameRecordAnswersQuestion(const ResourceRecord *const rr, const DNSQuestion *co…
165 extern mDNSBool ResourceRecordAnswersQuestion(const ResourceRecord *const rr, const DNSQuestion *co…
166 extern mDNSBool AnyTypeRecordAnswersQuestion (const ResourceRecord *const rr, const DNSQuestion *co…
167 …l ResourceRecordAnswersUnicastResponse(const ResourceRecord *const rr, const DNSQuestion *const q);
168 extern mDNSBool LocalOnlyRecordAnswersQuestion(AuthRecord *const rr, const DNSQuestion *const q);
242 DNSQuestion *question);
DmDNS.c78 mDNSlocal mDNSBool CacheRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q);
79 mDNSlocal mDNSBool LocalRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q);
80 mDNSlocal void mDNS_PurgeBeforeResolve(mDNS *const m, DNSQuestion *q);
126 mDNSlocal void SetNextQueryStopTime(mDNS *const m, const DNSQuestion *const q) in SetNextQueryStopTime()
139 mDNSexport void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q) in SetNextQueryTime()
381 DNSQuestion *q; in GenerateNegativeResponse()
393 mDNSlocal void AnswerQuestionByFollowingCNAME(mDNS *const m, DNSQuestion *q, ResourceRecord *rr) in AnswerQuestionByFollowingCNAME()
444 DNSQuestion *q = m->CurrentQuestion; in AnswerLocalQuestionWithLocalAuthRecord()
500 DNSQuestion *q = m->CurrentQuestion; in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
534 DNSQuestion *q = m->CurrentQuestion; in AnswerAllLocalQuestionsWithLocalAuthRecord()
[all …]
DuDNS.c164 mDNSexport void PenalizeDNSServer(mDNS *const m, DNSQuestion *q) in PenalizeDNSServer()
316 DNSQuestion *q; in GetAuthInfoForName_internal()
354 DNSQuestion *q; in mDNS_SetSecretForDomain()
688 mDNSlocal void StartLLQPolling(mDNS *const m, DNSQuestion *q) in StartLLQPolling()
702 mDNSlocal mDNSu8 *putLLQ(DNSMessage *const msg, mDNSu8 *ptr, const DNSQuestion *const question, con… in putLLQ()
748 mDNSlocal void sendChallengeResponse(mDNS *const m, DNSQuestion *const q, const LLQOptData *llq) in sendChallengeResponse()
791 mDNSlocal void SetLLQTimer(mDNS *const m, DNSQuestion *const q, const LLQOptData *const llq) in SetLLQTimer()
802 mDNSlocal void recvSetupResponse(mDNS *const m, mDNSu8 rcode, DNSQuestion *const q, const LLQOptDat… in recvSetupResponse()
859 const mDNSAddr *const srcaddr, const mDNSIPPort srcport, DNSQuestion **matchQuestion) in uDNS_recvLLQResponse()
861 DNSQuestion pktQ, *q; in uDNS_recvLLQResponse()
[all …]
/external/mdnsresponder/mDNSPosix/
DIdentify.c107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in NameCallback()
121 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in InfoCallback()
163 mDNSlocal void ServicesCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const a… in ServicesCallback()
209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mD… in StartQuery()
237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQ… in DoOneQuery()
249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuest… in DoQuery()
280 DNSQuestion q; in main()
DClient.c39 static void BrowseCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer… in BrowseCallback()
180 DNSQuestion question; in main()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c71 DNSQuestion q;
89 DNSQuestion qSRV;
90 DNSQuestion qTXT;
98 DNSQuestion q;
369 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answ… in FoundInstance()
455 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const a… in FoundServiceInfo()
629 mDNSlocal void DNSServiceQueryRecordResponse(mDNS *const m, DNSQuestion *question, const ResourceRe… in DNSServiceQueryRecordResponse()
Duds_daemon.c127 DNSQuestion q;
192 DNSQuestion q4;
193 DNSQuestion *q42;
194 DNSQuestion q6;
195 DNSQuestion *q62;
207 DNSQuestion q_all;
208 DNSQuestion q_default;
212 DNSQuestion q;
213 DNSQuestion *q2;
217 DNSQuestion qtxt;
[all …]

12