21 lines
440 B
C
21 lines
440 B
C
/*
|
|
* Copyright (c) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/types.h>
|
|
#include <zephyr/net/buf.h>
|
|
#include <zephyr/net/dns_resolve.h>
|
|
|
|
#include "dns_pack.h"
|
|
|
|
#if defined(CONFIG_NET_TEST)
|
|
int dns_validate_msg(struct dns_resolve_context *ctx,
|
|
struct dns_msg_t *dns_msg,
|
|
uint16_t *dns_id,
|
|
int *query_idx,
|
|
struct net_buf *dns_cname,
|
|
uint16_t *query_hash);
|
|
#endif
|