Go to the documentation of this file.
56 #ifndef EAI_ADDRFAMILY
57 #define EAI_ADDRFAMILY 1
59 #define EAI_BADFLAGS 3
66 #define EAI_SOCKTYPE 10
68 #define EAI_BADHINTS 12
69 #define EAI_PROTOCOL 13
77 #define AI_PASSIVE 0x00000001
78 #define AI_CANONNAME 0x00000002
79 #define AI_NUMERICHOST 0x00000004
81 #define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
83 #define AI_ALL 0x00000100
84 #define AI_V4MAPPED_CFG 0x00000200
85 #define AI_ADDRCONFIG 0x00000400
86 #define AI_V4MAPPED 0x00000800
88 #define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG)
95 #define NI_MAXHOST 1025
103 #define NI_NOFQDN 0x00000001
104 #define NI_NUMERICHOST 0x00000002
105 #define NI_NAMEREQD 0x00000004
106 #define NI_NUMERICSERV 0x00000008
107 #define NI_DGRAM 0x00000010
117 struct sockaddr *ai_addr;
118 struct addrinfo *ai_next;
123 #define EAI_BADHINTS 10012
126 #define EAI_PROTOCOL 10013
130 #define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
150 int su_getnameinfo(
const union su_sockaddr_u *su,
size_t sulen,
151 char *host,
size_t hostlen,
152 char *serv,
size_t servlen,
Sofia-SIP 1.12.11devel -
Copyright (C) 2006 Nokia Corporation. All rights reserved.
Licensed under the terms of the GNU Lesser General Public License.