KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Flags for ai_flags in struct addrinfo

Macros

#define AI_PASSIVE   0x00000001
 Address intended for bind(). More...
 
#define AI_CANONNAME   0x00000002
 Request canonical name. More...
 
#define AI_NUMERICHOST   0x00000004
 Inhibit host resolution. More...
 
#define AI_NUMERICSERV   0x00000008
 Inhibit service resolution. More...
 
#define AI_V4MAPPED   0x00000010
 Return v4-mapped IPv6 addrs. More...
 
#define AI_ALL   0x00000020
 Query for both IPv4 and IPv6. More...
 
#define AI_ADDRCONFIG   0x00000040
 Only query for IPv4/IPv6 addrs the system has a valid addr. More...
 

Detailed Description

These are the flags that can be set in the ai_flags field of struct addrinfo. These values can be bitwise ORed together.

Currently only AI_PASSIVE is actually supported by the getaddrinfo() function.

Macro Definition Documentation

#define AI_ADDRCONFIG   0x00000040

Only query for IPv4/IPv6 addrs the system has a valid addr.

#define AI_ALL   0x00000020

Query for both IPv4 and IPv6.

#define AI_CANONNAME   0x00000002

Request canonical name.

#define AI_NUMERICHOST   0x00000004

Inhibit host resolution.

#define AI_NUMERICSERV   0x00000008

Inhibit service resolution.

#define AI_PASSIVE   0x00000001

Address intended for bind().

#define AI_V4MAPPED   0x00000010

Return v4-mapped IPv6 addrs.