Zephyr API 3.6.99
Loading...
Searching...
No Matches
dns_resolve_context Struct Reference

DNS resolve context structure. More...

#include <dns_resolve.h>

Data Structures

struct  dns_pending_query
 Result callbacks. More...
 
struct  dns_server
 List of configured DNS servers. More...
 

Data Fields

struct dns_resolve_context::dns_server servers [DNS_RESOLVER_MAX_POLL]
 
struct k_mutex lock
 Prevent concurrent access.
 
k_timeout_t buf_timeout
 This timeout is also used when a buffer is required from the buffer pools.
 
struct dns_resolve_context::dns_pending_query queries [DNS_NUM_CONCUR_QUERIES]
 
enum dns_resolve_context_state state
 Is this context in use.
 

Detailed Description

DNS resolve context structure.

Field Documentation

◆ buf_timeout

k_timeout_t dns_resolve_context::buf_timeout

This timeout is also used when a buffer is required from the buffer pools.

◆ lock

struct k_mutex dns_resolve_context::lock

Prevent concurrent access.

◆ queries

struct dns_resolve_context::dns_pending_query dns_resolve_context::queries[DNS_NUM_CONCUR_QUERIES]

◆ servers

struct dns_resolve_context::dns_server dns_resolve_context::servers[DNS_RESOLVER_MAX_POLL]

◆ state

enum dns_resolve_context_state dns_resolve_context::state

Is this context in use.


The documentation for this struct was generated from the following file: