Home
last modified time | relevance | path

Searched refs:DNSPacket (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-mock.cc55 DNSPacket rsp1; in TEST_P()
61 DNSPacket rsp2; in TEST_P()
91 DNSPacket rsptruncated; in TEST_P()
94 DNSPacket rspok; in TEST_P()
119 DNSPacket rsp; in TEST_P()
164 DNSPacket rsp; in TEST_P()
214 DNSPacket rsp; in TEST_P()
228 DNSPacket rsp; in TEST_P()
243 DNSPacket rsp; in TEST_P()
258 DNSPacket rsp; in TEST_P()
[all …]
Ddns-proto.h186 struct DNSPacket { struct
187 DNSPacket() in DNSPacket() function
192 DNSPacket& add_question(DNSQuestion *q) { in add_question() argument
196 DNSPacket& add_answer(DNSRR *q) { in add_answer() argument
200 DNSPacket& add_auth(DNSRR *q) { in add_auth() argument
204 DNSPacket& add_additional(DNSRR *q) { in add_additional() argument
209 DNSPacket& set_qid(int qid) { qid_ = qid; return *this; } in set_qid() argument
210 DNSPacket& set_response(bool v = true) { response_ = v; return *this; }
211 DNSPacket& set_aa(bool v = true) { aa_ = v; return *this; }
212 DNSPacket& set_tc(bool v = true) { tc_ = v; return *this; }
[all …]
Dares-test-parse-ptr.cc12 DNSPacket pkt; in TEST_F()
30 DNSPacket pkt; in TEST_F()
64 DNSPacket pkt; in TEST_F()
79 DNSPacket pkt; in TEST_F()
103 DNSPacket pkt; in TEST_F()
127 DNSPacket pkt; in TEST_F()
198 DNSPacket pkt; in TEST_F()
218 DNSPacket pkt; in TEST_F()
Ddns-proto-test.cc10 DNSPacket pkt; in TEST()
41 DNSPacket pkt; in TEST()
86 DNSPacket pkt; in TEST()
Dares-test-parse-a.cc11 DNSPacket pkt; in TEST_F()
110 DNSPacket pkt; in TEST_F()
131 DNSPacket pkt; in TEST_F()
152 DNSPacket pkt; in TEST_F()
171 DNSPacket pkt; in TEST_F()
203 DNSPacket pkt; in TEST_F()
228 DNSPacket pkt; in TEST_F()
256 DNSPacket pkt; in TEST_F()
341 DNSPacket pkt; in TEST_F()
Dares-test-parse-ns.cc11 DNSPacket pkt; in TEST_F()
27 DNSPacket pkt; in TEST_F()
50 DNSPacket pkt; in TEST_F()
102 DNSPacket pkt; in TEST_F()
Dares-test-parse-srv.cc11 DNSPacket pkt; in TEST_F()
39 DNSPacket pkt; in TEST_F()
97 DNSPacket pkt; in TEST_F()
143 DNSPacket pkt; in TEST_F()
171 DNSPacket pkt; in TEST_F()
218 DNSPacket pkt; in TEST_F()
272 DNSPacket pkt; in TEST_F()
Dares-test-parse-aaaa.cc11 DNSPacket pkt; in TEST_F()
40 DNSPacket pkt; in TEST_F()
75 DNSPacket pkt; in TEST_F()
96 DNSPacket pkt; in TEST_F()
169 DNSPacket pkt; in TEST_F()
Dares-test-parse-soa.cc11 DNSPacket pkt; in TEST_F()
33 DNSPacket pkt; in TEST_F()
91 DNSPacket pkt; in TEST_F()
Dares-test-parse-naptr.cc11 DNSPacket pkt; in TEST_F()
44 DNSPacket pkt; in TEST_F()
130 DNSPacket pkt; in TEST_F()
Dares-test-parse-mx.cc11 DNSPacket pkt; in TEST_F()
66 DNSPacket pkt; in TEST_F()
125 DNSPacket pkt; in TEST_F()
Dares-test-parse-txt.cc11 DNSPacket pkt; in TEST_F()
42 DNSPacket pkt; in TEST_F()
188 DNSPacket pkt; in TEST_F()
244 DNSPacket pkt; in TEST_F()
Dares-test-misc.cc193 DNSPacket pkt; in TEST_F()
209 DNSPacket pkt; in TEST_F()
473 DNSPacket pkt; in TEST_F()
488 DNSPacket pkt; in TEST_F()
Dares-test-parse.cc11 DNSPacket pkt; in TEST_F()
Dares-test.h149 void SetReply(const DNSPacket* reply) { SetReplyData(reply->data()); } in SetReply()
Ddns-proto.cc592 std::vector<byte> DNSPacket::data() const { in data()