Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dns_addrinfo Struct Reference

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 { 
      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 
      } 
   } 
}; 

Detailed Description

Address info struct is passed to callback that gets all the results.

Field Documentation

◆ [union]

union { ... } dns_addrinfo

◆ ai_addr

struct sockaddr dns_addrinfo::ai_addr

◆ ai_addrlen

socklen_t dns_addrinfo::ai_addrlen

Length of the ai_addr field or ai_canonname.

◆ ai_canonname

char dns_addrinfo::ai_canonname[20+1]

AF_LOCAL Canonical name of the address.

◆ ai_extension

enum dns_resolve_extension dns_addrinfo::ai_extension

◆ ai_family

uint8_t dns_addrinfo::ai_family

Address family of the address information and discriminator.

◆ ai_srv

struct dns_resolve_srv dns_addrinfo::ai_srv

◆ ai_txt

struct dns_resolve_txt dns_addrinfo::ai_txt

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