Searched refs:answer_type (Results 1 – 2 of 2) sorted by relevance
| /Zephyr-4.2.1/tests/net/lib/dns_packet/src/ |
| D | main.c | 200 uint8_t answer_type; member 326 if (dns_unpack_query_qtype(resp->res + offset) != resp->answer_type) { in eval_response1() 342 enum dns_rr_type answer_type; in eval_response1() local 348 if (dns_unpack_answer(&msg, DNS_ANSWER_MIN_SIZE, &ttl, &answer_type) < 0) { in eval_response1() 370 resp->res) != resp->answer_type) { in eval_response1() 464 .answer_type = DNS_RR_TYPE_A, in ZTEST() 515 .answer_type = DNS_RR_TYPE_A, in ZTEST() 574 .answer_type = DNS_RR_TYPE_AAAA, in ZTEST()
|
| /Zephyr-4.2.1/subsys/net/lib/dns/ |
| D | resolve.c | 1093 struct dns_addrinfo *info, enum dns_rr_type *answer_type, in dns_validate_record() argument 1100 ret = dns_unpack_answer(dns_msg, 0, ttl, answer_type); in dns_validate_record() 1142 if (*answer_type == DNS_RR_TYPE_A) { in dns_validate_record() 1148 } else if (*answer_type == DNS_RR_TYPE_AAAA) { in dns_validate_record() 1361 enum dns_rr_type answer_type = DNS_RR_TYPE_INVALID; in dns_validate_msg() local 1373 ret = dns_validate_record(ctx, dns_msg, &info, &answer_type, &ttl); in dns_validate_msg() 1380 answer_type != DNS_RR_TYPE_A) || in dns_validate_msg() 1382 answer_type != DNS_RR_TYPE_AAAA)) { in dns_validate_msg() 1393 answer_type != DNS_RR_TYPE_AAAA && answer_type != DNS_RR_TYPE_A) { in dns_validate_msg() 1443 ret = dns_validate_record(ctx, dns_msg, &info, &answer_type, &ttl); in dns_validate_msg()
|