|
Zephyr Project API 3.5.0
A Scalable Open Source RTOS
|
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... | ||
| struct net_context * net_ctx | ||
| 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] | |
| 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. | ||
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.