Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 IPV6PORT_* aren't in the reserved namespace eit...
details: https://anonhg.NetBSD.org/src/rev/8c1688592207
branches: trunk
changeset: 526902:8c1688592207
user: kleink <kleink%NetBSD.org@localhost>
date: Mon May 13 14:25:13 2002 +0000
description:
IPV6PORT_* aren't in the reserved namespace either.
diffstat:
sys/netinet6/in6.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r ad3dee43fdc9 -r 8c1688592207 sys/netinet6/in6.h
--- a/sys/netinet6/in6.h Mon May 13 14:15:34 2002 +0000
+++ b/sys/netinet6/in6.h Mon May 13 14:25:13 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.h,v 1.36 2002/05/13 14:15:34 kleink Exp $ */
+/* $NetBSD: in6.h,v 1.37 2002/05/13 14:25:13 kleink Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -108,11 +108,13 @@
* The range is IPPORT_RESERVEDMIN to IPPORT_RESERVEDMAX.
*/
+#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
#define IPV6PORT_RESERVED 1024
#define IPV6PORT_ANONMIN 49152
#define IPV6PORT_ANONMAX 65535
#define IPV6PORT_RESERVEDMIN 600
#define IPV6PORT_RESERVEDMAX (IPV6PORT_RESERVED-1)
+#endif
/*
* IPv6 address
Home |
Main Index |
Thread Index |
Old Index