Lines Matching refs:dns_msg

1103 	struct dns_msg_t dns_msg = { 0 };  in run_dns_malformed_response()  local
1109 dns_msg.msg = buf; in run_dns_malformed_response()
1110 dns_msg.msg_size = len; in run_dns_malformed_response()
1112 dns_id = dns_unpack_header_id(dns_msg.msg); in run_dns_malformed_response()
1122 ret = dns_validate_msg(&dns_ctx, &dns_msg, &dns_id, &query_idx, in run_dns_malformed_response()
1132 struct dns_msg_t dns_msg = { 0 }; in run_dns_valid_response() local
1138 dns_msg.msg = buf; in run_dns_valid_response()
1139 dns_msg.msg_size = len; in run_dns_valid_response()
1141 ret = dns_validate_msg(&dns_ctx, &dns_msg, &dns_id, &query_idx, in run_dns_valid_response()
1172 struct dns_msg_t dns_msg = { 0 }; in run_dns_valid_cname_response() local
1179 dns_msg.msg = buf; in run_dns_valid_cname_response()
1180 dns_msg.msg_size = len; in run_dns_valid_cname_response()
1185 dns_id = dns_unpack_header_id(dns_msg.msg); in run_dns_valid_cname_response()
1190 ret = dns_validate_msg(&dns_ctx, &dns_msg, &dns_id, &query_idx, in run_dns_valid_cname_response()
1235 struct dns_msg_t dns_msg = { 0 }; in ZTEST() local
1242 dns_msg.msg = buf; in ZTEST()
1243 dns_msg.msg_size = sizeof(buf); in ZTEST()
1245 ret = dns_validate_msg(&dns_ctx, &dns_msg, &dns_id, &query_idx, in ZTEST()
1253 struct dns_msg_t dns_msg = { 0 }; in ZTEST() local
1260 dns_msg.msg = buf; in ZTEST()
1261 dns_msg.msg_size = sizeof(buf); in ZTEST()
1263 ret = dns_validate_msg(&dns_ctx, &dns_msg, &dns_id, &query_idx, in ZTEST()
1277 struct dns_msg_t dns_msg = { 0 }; in ZTEST() local
1282 dns_msg.msg = invalid_answer_resp_ipv4; in ZTEST()
1283 dns_msg.msg_size = sizeof(invalid_answer_resp_ipv4); in ZTEST()
1284 dns_msg.answer_offset = 12; in ZTEST()
1286 ret = dns_unpack_answer(&dns_msg, 0, &ttl, &type); in ZTEST()