Browse Source

Added some protocol independent interfaces (supposedly IPv6 support APIs, but

ones that are useful for all protocols, not just IPv6).
OPENBSD_2_6
cmetz 25 years ago
parent
commit
6acf79f4a8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/netdb.h

+ 2
- 1
src/include/netdb.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: netdb.h,v 1.5 1999/06/05 23:47:07 deraadt Exp $ */
/* $OpenBSD: netdb.h,v 1.6 1999/06/23 21:55:29 cmetz Exp $ */
/* /*
* ++Copyright++ 1980, 1983, 1988, 1993 * ++Copyright++ 1980, 1983, 1988, 1993
@ -141,6 +141,7 @@ struct protoent {
#define AI_PASSIVE 1 /* socket address is intended for bind() */ #define AI_PASSIVE 1 /* socket address is intended for bind() */
#define AI_CANONNAME 2 /* request for canonical name */ #define AI_CANONNAME 2 /* request for canonical name */
#define AI_NUMERICHOST 4 /* don't ever try nameservice */ #define AI_NUMERICHOST 4 /* don't ever try nameservice */
#define AI_EXT 8 /* enable non-portable extensions */
#define NI_NUMERICHOST 1 /* return the host address, not the name */ #define NI_NUMERICHOST 1 /* return the host address, not the name */
#define NI_NUMERICSERV 2 /* return the service address, not the name */ #define NI_NUMERICSERV 2 /* return the service address, not the name */


Loading…
Cancel
Save