=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/netdb.h,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/include/netdb.h 2003/06/02 19:34:12 1.18 --- src/include/netdb.h 2004/04/14 07:06:15 1.19 *************** *** 1,4 **** ! /* $OpenBSD: netdb.h,v 1.18 2003/06/02 19:34:12 millert Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 --- 1,4 ---- ! /* $OpenBSD: netdb.h,v 1.19 2004/04/14 07:06:15 itojun Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 *************** *** 155,164 **** /* Values for getaddrinfo() and getnameinfo() */ #define AI_PASSIVE 1 /* socket address is intended for bind() */ #define AI_CANONNAME 2 /* request for canonical name */ ! #define AI_NUMERICHOST 4 /* don't ever try nameservice */ #define AI_EXT 8 /* enable non-portable extensions */ /* valid flags for addrinfo */ ! #define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST) #define NI_NUMERICHOST 1 /* return the host address, not the name */ #define NI_NUMERICSERV 2 /* return the service address, not the name */ --- 155,166 ---- /* Values for getaddrinfo() and getnameinfo() */ #define AI_PASSIVE 1 /* socket address is intended for bind() */ #define AI_CANONNAME 2 /* request for canonical name */ ! #define AI_NUMERICHOST 4 /* don't ever try hostname lookup */ #define AI_EXT 8 /* enable non-portable extensions */ + #define AI_NUMERICSERV 16 /* don't ever try servname lookup */ /* valid flags for addrinfo */ ! #define AI_MASK \ ! (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV) #define NI_NUMERICHOST 1 /* return the host address, not the name */ #define NI_NUMERICSERV 2 /* return the service address, not the name */