1 /* 2 * Copyright (c) 2020 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/types.h> 8 #include <zephyr/net/buf.h> 9 #include <zephyr/net/dns_resolve.h> 10 11 #include "dns_pack.h" 12 13 #if defined(CONFIG_NET_TEST) 14 int dns_validate_msg(struct dns_resolve_context *ctx, 15 struct dns_msg_t *dns_msg, 16 uint16_t *dns_id, 17 int *query_idx, 18 struct net_buf *dns_cname, 19 uint16_t *query_hash); 20 #endif 21