Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib/libnetinet default portalgo to random_start...
details: https://anonhg.NetBSD.org/src/rev/24a7305c4d65
branches: trunk
changeset: 787090:24a7305c4d65
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Jun 01 11:02:42 2013 +0000
description:
default portalgo to random_start, for less connections from port 65535
diffstat:
sys/rump/net/lib/libnetinet/Makefile.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 4d2552a2f529 -r 24a7305c4d65 sys/rump/net/lib/libnetinet/Makefile.inc
--- a/sys/rump/net/lib/libnetinet/Makefile.inc Sat Jun 01 11:01:48 2013 +0000
+++ b/sys/rump/net/lib/libnetinet/Makefile.inc Sat Jun 01 11:02:42 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 2013/06/01 10:54:24 pooka Exp $
+# $NetBSD: Makefile.inc,v 1.10 2013/06/01 11:02:42 pooka Exp $
#
.PATH: ${.CURDIR}/../../../../netinet ${.CURDIR}/../../../../netinet6
@@ -27,6 +27,9 @@
CPPFLAGS+= -I${.CURDIR}/opt -I${.CURDIR}/../libnet/opt
+CPPFLAGS+= -DPORTALGO_INET4_DEFAULT=PORTALGO_RANDOM_START
+CPPFLAGS+= -DPORTALGO_INET6_DEFAULT=PORTALGO_RANDOM_START
+
# TCP debugging
#SRCS+= tcp_debug.c
#CPPFLAGS+= -DTCP_DEBUG
Home |
Main Index |
Thread Index |
Old Index