Lines Matching defs:rdclass
129 wire_to_rdata(const unsigned char *src, size_t srclen, dns_rdataclass_t rdclass,
150 result = dns_rdata_fromwire(rdata, rdclass, type, &source,
256 dns_rdataclass_t rdclass = rdata->rdclass;
278 result = dns_rdata_fromstruct(NULL, rdclass, type, rdata_struct,
354 check_text_ok_single(const text_ok_t *text_ok, dns_rdataclass_t rdclass,
370 result = dns_test_rdatafromstring(&rdata, rdclass, type, buf_fromtext,
437 result = wire_to_rdata(rdata.data, rdata.length, rdclass, type,
508 result = dns_test_rdatafromstring(&rdata2, rdata->rdclass, rdata->type,
563 result = dns_test_rdatafromstring(&rdata2, rdata->rdclass, rdata->type,
573 * valid or invalid for an RR of given rdclass and type.
576 check_wire_ok_single(const wire_ok_t *wire_ok, dns_rdataclass_t rdclass,
586 result = wire_to_rdata(wire_ok->data, wire_ok->len, rdclass, type, buf,
644 check_text_ok(const text_ok_t *text_ok, dns_rdataclass_t rdclass,
652 check_text_ok_single(&text_ok[i], rdclass, type, structsize);
658 * handled as being either valid or invalid for an RR of given rdclass and
664 check_wire_ok(const wire_ok_t *wire_ok, bool empty_ok, dns_rdataclass_t rdclass,
677 check_wire_ok_single(&wire_ok[i], rdclass, type, structsize);
683 check_wire_ok_single(&empty_wire, rdclass, type, structsize);
691 dns_rdataclass_t rdclass, dns_rdatatype_t type) {
697 result = dns_test_rdatafromstring(&rdata1, rdclass, type, buf1,
705 result = dns_test_rdatafromstring(&rdata2, rdclass, type, buf2,
744 check_compare_ok(const compare_ok_t *compare_ok, dns_rdataclass_t rdclass,
751 check_compare_ok_single(&compare_ok[i], rdclass, type);
768 dns_rdataclass_t rdclass, dns_rdatatype_t type, size_t structsize) {
770 check_text_ok(text_ok, rdclass, type, structsize);
773 check_wire_ok(wire_ok, empty_ok, rdclass, type, structsize);
776 check_compare_ok(compare_ok, rdclass, type);
785 dns_rdataclass_t rdclass, dns_rdatatype_t type) {
790 result = dns_test_rdatafromstring(&rdata1, rdclass, type, buf1,
798 result = dns_test_rdatafromstring(&rdata2, rdclass, type, buf2,
827 dns_rdataclass_t rdclass, dns_rdatatype_t type) {
834 check_textvsunknown_single(&textvsunknown[i], rdclass, type);