Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Add AI_ADDRCONFIG
details: https://anonhg.NetBSD.org/src/rev/801f12640720
branches: trunk
changeset: 778152:801f12640720
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 17 21:57:48 2012 +0000
description:
Add AI_ADDRCONFIG
diffstat:
include/netdb.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 6b86de6736e8 -r 801f12640720 include/netdb.h
--- a/include/netdb.h Sat Mar 17 21:56:40 2012 +0000
+++ b/include/netdb.h Sat Mar 17 21:57:48 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netdb.h,v 1.64 2010/05/05 17:12:29 christos Exp $ */
+/* $NetBSD: netdb.h,v 1.65 2012/03/17 21:57:48 christos Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -269,7 +269,9 @@
#define AI_NUMERICSERV 0x00000008 /* prevent service name resolution */
/* valid flags for addrinfo (not a standard def, apps should not use it) */
#define AI_MASK \
- (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV)
+ (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | \
+ AI_ADDRCONFIG)
+#define AI_ADDRCONFIG 0x00000400 /* only if any address is assigned */
#endif
#if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 520 || \
Home |
Main Index |
Thread Index |
Old Index