/external/chromium_org/net/dns/ |
dns_query.h | 22 // DNS name format, and |qtype|. The qclass is set to IN. 23 DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype); 32 uint16 qtype() const;
|
dns_query_unittest.cc | 36 0x00, 0x01, // QTYPE: A query. 42 EXPECT_EQ(dns_protocol::kTypeA, q1.qtype()); 63 EXPECT_EQ(q1.qtype(), q2->qtype());
|
dns_test_util.cc | 35 uint16 qtype, 39 qtype_(qtype), 42 // Find the relevant rule which matches |qtype| and prefix of |hostname|. 45 if ((rules[i].qtype == qtype) && 151 uint16 qtype, 155 new MockTransaction(rules_, hostname, qtype, callback));
|
dns_transaction.h | 34 // Returns the |qtype|. 56 // Creates DnsTransaction for the given |hostname| and |qtype| (assuming 65 uint16 qtype,
|
dns_query.cc | 21 DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype) 24 // QNAME + QTYPE + QCLASS 38 writer.WriteU16(qtype); 60 uint16 DnsQuery::qtype() const { function in class:net::DnsQuery
|
dns_transaction_unittest.cc | 40 uint16 qtype, 43 : query_(new DnsQuery(id, DomainFromDot(dotted_name), qtype)), 223 uint16 qtype, 226 qtype_(qtype), 283 EXPECT_EQ(qtype_, response->qtype()); 364 // Add expected query for |dotted_name| and |qtype| with |id| and response 369 uint16 qtype, 376 new DnsSocketData(id, dotted_name, qtype, mode, use_tcp)); 383 uint16 qtype, 386 AddQueryAndResponse(id, dotted_name, qtype, data, data_length, ASYNC [all...] |
dns_response.h | 139 uint16 qtype() const;
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_packet_parser.h | 15 DnsQueryRecord() : qtype(0), qclass(0) {} 19 uint16 qtype; member in struct:DnsQueryRecord
|
dns_packet_parser.cc | 30 if (reader.ReadU16(&result.qtype) && reader.ReadU16(&result.qclass) &&
|
dns_sd_server.cc | 199 switch (query.qtype) { 234 base::SStringPrintf(&log, "Unknown query type (%d)", query.qtype);
|
/external/chromium_org/net/tools/dns_fuzz_stub/ |
dns_fuzz_stub.cc | 50 uint16* id, std::string* qname, uint16* qtype, 96 if (!dict->GetInteger("qtype", &qtype_int)) { 97 LOG(ERROR) << filename << ": qtype is missing or not an integer."; 101 LOG(ERROR) << filename << ": qtype is out of range."; 104 *qtype = static_cast<uint16>(qtype_int); 131 << "qtype=" << qtype_int << ", " 137 void RunTestCase(uint16 id, std::string& qname, uint16 qtype, 139 net::DnsQuery query(id, qname, qtype); 170 uint16 qtype = 0; local 177 if (!ReadTestCase(filename, &id, &qname, &qtype, &resp_buf, &crash_test) [all...] |
/external/chromium_org/tools/android/fake_dns/ |
fake_dns.cc | 76 uint16 qtype, const char* question, size_t question_length) { 90 size_t rdata_size = qtype == net::dns_protocol::kTypeA ? 113 writer.WriteU16(qtype); 117 if (qtype == net::dns_protocol::kTypeA) 169 uint16 qtype; local 171 reader.ReadU16(&qtype); 173 if ((qtype != net::dns_protocol::kTypeA && 174 qtype != net::dns_protocol::kTypeAAAA) || 176 LOG(ERROR) << "Unsupported query: QTYPE=" << qtype << " QCLASS=" << qclas [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 530 int i, qtype, qclass, rdlen; local 538 GETSHORT(qtype, p); 543 if ((qclass == C_IN) && (qtype == T_A)) 584 int qtype, qclass, rdlen; local 598 GETSHORT(qtype, p); 603 if ((qclass == C_IN) && (qtype == T_SOA)) 642 int i, j, qtype, qclass, aqtype, aqclass, ardlen, res, searched_soa = 0; local 669 GETSHORT(qtype, p); 677 if (qtype == T_PTR) 747 if (qtype == T_A 867 int qtype, qclass; local 979 int i, qtype, qclass, rdlen; local 1133 int qtype, qclass; local [all...] |
forward.c | 114 unsigned short qtype, char *qdomain, int *type, char **domain) 136 if (sflag & qtype) 167 if (sflag & qtype) 183 if (flags == 0 && !(qtype & F_BIGNAME) && 196 logflags = F_NEG | qtype; 726 unsigned short qtype, gotname; local 746 if ((gotname = extract_request(header, (unsigned int)size, daemon->namebuff, &qtype))) 755 querystr(types, qtype);
|
/external/iputils/ninfod/ |
ninfod_core.c | 178 uint16_t qtype; member in struct:qtypeinfo 187 .qtype = NI_QTYPE_NOOP, 193 .qtype = NI_QTYPE_SUPTYPES, 200 .qtype = NI_QTYPE_DNSNAME, 206 .qtype = NI_QTYPE_NODEADDR, 212 .qtype = NI_QTYPE_IPV4ADDR, 231 static __inline__ struct qtypeinfo *qtypeinfo_lookup(int qtype) 233 if (qtype >= ARRAY_SIZE(qtypeinfo_table)) 235 if (qtypeinfo_table[qtype].name == NULL) 237 return &qtypeinfo_table[qtype]; 310 unsigned short qtype; local [all...] |
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 70 getnewci(qtype, keytag, algorithm, flags, certlen, cert) 71 int qtype, keytag, algorithm, flags, certlen; 81 res->ci_type = qtype; 214 int qtype, qclass, keytag, algorithm; local 273 GETSHORT(qtype, cp); /* QTYPE */ 286 GETSHORT(qtype, cp); /* TYPE */ 292 if (qtype != T_CERT) { 299 GETSHORT(qtype, cp); /* type */ 314 qtype, keytag, algorithm, rdlength) [all...] |
/external/smack/src/org/xbill/DNS/ |
ZoneTransferIn.java | 49 private int qtype; field in class:ZoneTransferIn 186 qtype = xfrtype; 312 return qtype; 358 Record question = Record.newRecord(zname, qtype, dclass); 363 if (qtype == Type.IXFR) { 400 qtype = Type.AXFR; 417 if (qtype == Type.IXFR && 430 if (qtype == Type.IXFR && type == Type.SOA && 548 if (qtype == Type.IXFR && 559 if (question != null && question.getType() != qtype) { [all...] |
/external/mdnsresponder/mDNSShared/ |
uds_daemon.h | 64 extern void external_start_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype); 65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype);
|
dnsextd.h | 97 mDNSu16 qtype; member in struct:LLQEntry
|
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 217 q->qtype = qtype; 233 //mprintf("%##s %s ?\n", q->qname.c, DNSTypeName(qtype)); 237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 239 mStatus status = StartQuery(q, qname, qtype, target, callback); 249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 251 DoOneQuery(q, qname, qtype, target, callback); 254 mprintf("%##s %s Trying multicast\n", q->qname.c, DNSTypeName(q->qtype)); 255 DoOneQuery(q, qname, qtype, NULL, callback) [all...] |
/external/srec/srec/include/ |
srec_arb.h | 51 asr_uint16_t qtype; member in struct:__anon28340
|
/bionic/libc/netbsd/net/ |
getaddrinfo.c | 210 int qclass, qtype; /* class and type of query */ member in struct:res_target [all...] |
/external/srec/srec/clib/ |
srec_arb.c | 43 if (quest->qtype == QUESTION_LEFT) 48 else if(quest->qtype == QUESTION_WBLEFT) { 52 else if(quest->qtype == QUESTION_WBRIGHT) { 59 ASSERT(quest->qtype == QUESTION_RIGHT); 88 pfread(&(q->qtype), sizeof(asr_uint16_t), 1, fp);
|
/external/mdnsresponder/mDNSCore/ |
uDNS.c | 179 LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->qtype), q->unansweredQueries); 184 &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c, q, q->qname.c, DNSTypeName(q->qtype), 200 if (q->qtype == kDNSType_PTR) 206 LogInfo("PenalizeDNSServer: Penalizing question type %d", q->qtype); 236 q->qname.c, DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c); 273 LogInfo("PenalizeDNSServer: Server for %p, %##s (%s) changed to NULL, Interval %d", q, q->qname.c, DNSTypeName(q->qtype), q->ThisQInterval); 325 info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); 405 newinfo ? newinfo ->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); 709 ptr = putQuestion(msg, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qtype, question->qclass); 753 if (q->tcp) { LogMsg("sendChallengeResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c, DNSTypeName(q->qtype)); return; [all...] |
mDNS.c | 122 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \ 384 LogInfo("GenerateNegativeResponse: Generating negative response for question %##s (%s)", q->qname.c, DNSTypeName(q->qtype)); 386 MakeNegativeCacheRecord(m, &m->rec.r, &q->qname, q->qnamehash, q->qtype, q->qclass, 60, mDNSInterface_Any, mDNSNULL); 398 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, selfref ? " (Self-Referential)" : "", RRDisplayString(m, rr)); 419 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, RRDisplayString(m, rr)); 430 q, q->qname.c, DNSTypeName(q->qtype), RRDisplayString(m, rr)); 495 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); 528 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); [all...] |