Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
dns_resolve_context Struct Reference

#include <dns_resolve.h>

Data Structures

struct  dns_pending_query
 

Data Fields

struct {
   struct sockaddr   dns_server
 
   struct net_context *   net_ctx
 
   uint8_t   is_mdns: 1
 
   uint8_t   is_llmnr: 1
 
servers [CONFIG_DNS_RESOLVER_MAX_SERVERS+DNS_MAX_MCAST_SERVERS]
 
struct k_mutex lock
 
k_timeout_t buf_timeout
 
struct dns_resolve_context::dns_pending_query queries [CONFIG_DNS_NUM_CONCUR_QUERIES]
 
enum dns_resolve_context_state state
 

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.

◆ dns_server

struct sockaddr dns_resolve_context::dns_server

DNS server information

◆ is_llmnr

uint8_t dns_resolve_context::is_llmnr

Is this server LLMNR one

◆ is_mdns

uint8_t dns_resolve_context::is_mdns

Is this server mDNS one

◆ lock

struct k_mutex dns_resolve_context::lock

Prevent concurrent access

◆ net_ctx

struct net_context* dns_resolve_context::net_ctx

Connection to the DNS server

◆ queries

struct dns_resolve_context::dns_pending_query dns_resolve_context::queries[CONFIG_DNS_NUM_CONCUR_QUERIES]

◆ 

struct { ... } dns_resolve_context::servers[CONFIG_DNS_RESOLVER_MAX_SERVERS + DNS_MAX_MCAST_SERVERS]

◆ 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: