Home
last modified time | relevance | path

Searched refs:qclass (Results 1 – 10 of 10) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_dns_mapping.c136 ares_bool_t ares_dns_class_isvalid(ares_dns_class_t qclass, in ares_dns_class_isvalid() argument
139 switch (qclass) { in ares_dns_class_isvalid()
220 const char *ares_dns_class_tostr(ares_dns_class_t qclass) in ares_dns_class_tostr() argument
222 switch (qclass) { in ares_dns_class_tostr()
601 ares_bool_t ares_dns_class_fromstr(ares_dns_class_t *qclass, const char *str) in ares_dns_class_fromstr() argument
607 ares_dns_class_t qclass; in ares_dns_class_fromstr() member
617 if (qclass == NULL || str == NULL) { in ares_dns_class_fromstr()
623 *qclass = list[i].qclass; in ares_dns_class_fromstr()
Dares_dns_record.c241 ares_dns_class_t qclass) in ares_dns_record_query_add() argument
248 !ares_dns_class_isvalid(qclass, ARES_TRUE)) { in ares_dns_record_query_add()
274 dnsrec->qd[idx].qclass = qclass; in ares_dns_record_query_add()
282 ares_dns_class_t *qclass) in ares_dns_record_query_get() argument
296 if (qclass != NULL) { in ares_dns_record_query_get()
297 *qclass = dnsrec->qd[idx].qclass; in ares_dns_record_query_get()
Dares_dns_parse.c943 ares_dns_class_t qclass; in ares_dns_parse_qd() local
978 qclass = u16; in ares_dns_parse_qd()
981 status = ares_dns_record_query_add(dnsrec, name, type, qclass); in ares_dns_parse_qd()
1000 ares_dns_class_t qclass; in ares_dns_parse_rr() local
1050 qclass = u16; in ares_dns_parse_rr()
1095 type == ARES_REC_TYPE_OPT ? ARES_CLASS_IN : qclass, in ares_dns_parse_rr()
1107 (unsigned short)qclass, ttl); in ares_dns_parse_rr()
Dares_dns_private.h35 ares_bool_t ares_dns_class_isvalid(ares_dns_class_t qclass,
55 ares_dns_class_t qclass; member
Dares_qcache.c85 ares_dns_class_t qclass; in ares__qcache_calc_key() local
87 status = ares_dns_record_query_get(dnsrec, i, &name, &qtype, &qclass); in ares__qcache_calc_key()
107 status = ares__buf_append_str(buf, ares_dns_class_tostr(qclass)); in ares__qcache_calc_key()
Dares_dns_write.c146 ares_dns_class_t qclass; in ares_dns_write_questions() local
148 status = ares_dns_record_query_get(dnsrec, i, &name, &qtype, &qclass); in ares_dns_write_questions()
166 status = ares__buf_append_be16(buf, (unsigned short)qclass); in ares_dns_write_questions()
Dares_process.c1060 ares_dns_class_t qclass; in same_questions() local
1063 if (ares_dns_record_query_get(qrec, i, &qname, &qtype, &qclass) != in same_questions()
1074 if (strcasecmp(qname, aname) != 0 || qtype != atype || qclass != aclass) { in same_questions()
/third_party/node/deps/cares/include/
Dares_dns_record.h415 CARES_EXTERN const char *ares_dns_class_tostr(ares_dns_class_t qclass);
444 CARES_EXTERN ares_bool_t ares_dns_class_fromstr(ares_dns_class_t *qclass,
620 ares_dns_class_t qclass);
640 ares_dns_rec_type_t *qtype, ares_dns_class_t *qclass);
/third_party/node/deps/cares/src/tools/
Dadig.c74 ares_dns_class_t qclass; member
196 if (!ares_dns_class_fromstr(&config->qclass, state.optarg)) { in read_cmdline()
301 ares_dns_class_t qclass; in print_question() local
303 if (ares_dns_record_query_get(dnsrec, i, &name, &qtype, &qclass) != in print_question()
318 printf("%s\t%s\n", ares_dns_class_tostr(qclass), in print_question()
816 ares_dns_record_query_add(dnsrec, name, config->qtype, config->qclass); in enqueue_query()
903 config.qclass = ARES_CLASS_IN; in main()
/third_party/node/deps/cares/
DCHANGES3301 Allow TXT records on CHAOS qclass (#321)
3303 …Some DNS servers intentionally "misuse" the obsoleted CHAOS (CH) qclass to provide things like `ve…