Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
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...
 

Data Fields

struct {
   struct sockaddr   dns_server
 DNS server information. More...
 
   int   sock
 Connection to the DNS server. More...
 
   uint8_t   is_mdns: 1
 Is this server mDNS one. More...
 
   uint8_t   is_llmnr: 1
 Is this server LLMNR one. More...
 
servers [CONFIG_DNS_RESOLVER_MAX_SERVERS+DNS_MAX_MCAST_SERVERS]
 List of configured DNS servers.
 
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 [CONFIG_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.

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

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

List of configured DNS servers.

◆ sock

int dns_resolve_context::sock

Connection to the DNS server.

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