|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Address info struct is passed to callback that gets all the results. More...
#include <zephyr/net/dns_resolve.h>
Data Fields | |
| uint8_t | ai_family |
| Address family of the address information and discriminator. | |
| union { | |
| struct { | |
| net_socklen_t ai_addrlen | |
| Length of the ai_addr field or ai_canonname. More... | |
| struct net_sockaddr ai_addr | |
| NET_AF_INET or NET_AF_INET6 address info. More... | |
| char ai_canonname [20+1] | |
| NET_AF_LOCAL Canonical name of the address. More... | |
| } | |
| A or AAAA records. | |
| struct { | |
| enum dns_resolve_extension ai_extension | |
| What kind of extension is returned. More... | |
| union { | |
| struct dns_resolve_txt ai_txt | |
| TXT record info. More... | |
| struct dns_resolve_srv ai_srv | |
| SRV record info. More... | |
| } | |
| } | |
| SRV or TXT records (NET_AF_UNSPEC extension). | |
| }; | |
Address info struct is passed to callback that gets all the results.
| union { ... } dns_addrinfo |
| struct net_sockaddr dns_addrinfo::ai_addr |
NET_AF_INET or NET_AF_INET6 address info.
| net_socklen_t dns_addrinfo::ai_addrlen |
Length of the ai_addr field or ai_canonname.
| char dns_addrinfo::ai_canonname[20+1] |
NET_AF_LOCAL Canonical name of the address.
| enum dns_resolve_extension dns_addrinfo::ai_extension |
What kind of extension is returned.
| uint8_t dns_addrinfo::ai_family |
Address family of the address information and discriminator.
| struct dns_resolve_srv dns_addrinfo::ai_srv |
SRV record info.
| struct dns_resolve_txt dns_addrinfo::ai_txt |
TXT record info.