|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Address info struct is passed to callback that gets all the results. More...
#include <dns_resolve.h>
Data Fields | ||
| uint8_t | ai_family | |
| Address family of the address information and discriminator. | ||
| union { | ||
| struct { | ||
| socklen_t ai_addrlen | ||
| Length of the ai_addr field or ai_canonname. More... | ||
| struct sockaddr ai_addr | ||
| char ai_canonname [20+1] | ||
| AF_LOCAL Canonical name of the address. More... | ||
| } | ||
| struct { | ||
| enum dns_resolve_extension ai_extension | ||
| union { | ||
| struct dns_resolve_txt ai_txt | ||
| struct dns_resolve_srv ai_srv | ||
| } | ||
| } | ||
| }; | ||
Address info struct is passed to callback that gets all the results.
| union { ... } dns_addrinfo |
| struct sockaddr dns_addrinfo::ai_addr |
| socklen_t dns_addrinfo::ai_addrlen |
Length of the ai_addr field or ai_canonname.
| char dns_addrinfo::ai_canonname[20+1] |
AF_LOCAL Canonical name of the address.
| enum dns_resolve_extension dns_addrinfo::ai_extension |
| uint8_t dns_addrinfo::ai_family |
Address family of the address information and discriminator.
| struct dns_resolve_srv dns_addrinfo::ai_srv |
| struct dns_resolve_txt dns_addrinfo::ai_txt |