1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Totally nuke IPPORT_USERRESERVED, it is no longer used anywhere, update

remaining comments to reflect new ephemeral port range.

Reminded by:	Maxim Konovalov <maxim@macomnet.ru>
MFC after:	3 days
This commit is contained in:
Mike Silbersack 2002-04-10 19:30:58 +00:00
parent a989d30598
commit f2697d4d75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94379

View File

@ -211,14 +211,12 @@
/* /*
* Ports < IPPORT_RESERVED are reserved for * Ports < IPPORT_RESERVED are reserved for
* privileged processes (e.g. root). (IP_PORTRANGE_LOW) * privileged processes (e.g. root). (IP_PORTRANGE_LOW)
* Ports > IPPORT_USERRESERVED are reserved
* for servers, not necessarily privileged. (IP_PORTRANGE_DEFAULT)
*/ */
#define IPPORT_RESERVED 1024 #define IPPORT_RESERVED 1024
#define IPPORT_USERRESERVED 5000
/* /*
* Default local port range to use by setting IP_PORTRANGE_HIGH * Default local port range, used by both IP_PORTRANGE_DEFAULT
* and IP_PORTRANGE_HIGH.
*/ */
#define IPPORT_HIFIRSTAUTO 49152 #define IPPORT_HIFIRSTAUTO 49152
#define IPPORT_HILASTAUTO 65535 #define IPPORT_HILASTAUTO 65535