Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#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 |
DNS resolve context structure.
k_timeout_t dns_resolve_context::buf_timeout |
This timeout is also used when a buffer is required from the buffer pools.
struct sockaddr dns_resolve_context::dns_server |
DNS server information
uint8_t dns_resolve_context::is_llmnr |
Is this server LLMNR one
uint8_t dns_resolve_context::is_mdns |
Is this server mDNS one
struct k_mutex dns_resolve_context::lock |
Prevent concurrent access
struct net_context* dns_resolve_context::net_ctx |
Connection to the DNS server
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] |
enum dns_resolve_context_state dns_resolve_context::state |
Is this context in use