Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dns_resolve_context::dns_server Struct Reference

List of configured DNS servers. More...

#include <dns_resolve.h>

Data Fields

struct sockaddr dns_server
 DNS server information.
 
int sock
 Connection to the DNS server.
 
int if_index
 Network interface index if the DNS resolving should be done via this interface.
 
uint8_t is_mdns: 1
 Is this server mDNS one.
 
uint8_t is_llmnr: 1
 Is this server LLMNR one.
 

Detailed Description

List of configured DNS servers.

Field Documentation

◆ dns_server

struct sockaddr dns_resolve_context::dns_server::dns_server

DNS server information.

◆ if_index

int dns_resolve_context::dns_server::if_index

Network interface index if the DNS resolving should be done via this interface.

Value 0 indicates any interface can be used.

◆ is_llmnr

uint8_t dns_resolve_context::dns_server::is_llmnr

Is this server LLMNR one.

◆ is_mdns

uint8_t dns_resolve_context::dns_server::is_mdns

Is this server mDNS one.

◆ sock

int dns_resolve_context::dns_server::sock

Connection to the DNS server.


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