summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2002-04-09 18:01:26 +0000
committersilby <silby@FreeBSD.org>2002-04-09 18:01:26 +0000
commit5339bdcf65d36dc5d915628cfbc4f2b777a338de (patch)
treef182de94bd31ce283274b3d1039e5579554d30bb /sys/netinet
parenteeb34873c0b41e7c8d88b1efdd247bad651b3129 (diff)
downloadFreeBSD-src-5339bdcf65d36dc5d915628cfbc4f2b777a338de.zip
FreeBSD-src-5339bdcf65d36dc5d915628cfbc4f2b777a338de.tar.gz
Update comments to reflect the recent ephemeral port range
change. Noticed by: ru MFC After: 1 day
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index df7d738..893cc9b 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -167,8 +167,8 @@
*
* When a user does a bind(2) or connect(2) with a port number of zero,
* a non-conflicting local port address is chosen.
- * The default range is IPPORT_RESERVED through
- * IPPORT_USERRESERVED, although that is settable by sysctl.
+ * The default range is IPPORT_HIFIRSTAUTO through
+ * IPPORT_HILASTAUTO, although that is settable by sysctl.
*
* A user may set the IPPROTO_IP option IP_PORTRANGE to change this
* default assignment range.
@@ -177,7 +177,8 @@
*
* The value IP_PORTRANGE_HIGH changes the range of candidate port numbers
* into the "high" range. These are reserved for client outbound connections
- * which do not want to be filtered by any firewalls.
+ * which do not want to be filtered by any firewalls. Note that by default
+ * this is the same as IP_PORTRANGE_DEFAULT.
*
* The value IP_PORTRANGE_LOW changes the range to the "low" are
* that is (by convention) restricted to privileged processes. This
OpenPOWER on IntegriCloud