diff options
author | peter <peter@FreeBSD.org> | 1996-02-23 21:01:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-02-23 21:01:35 +0000 |
commit | 76dbdac3af61758727869feeb30190ad67da1338 (patch) | |
tree | 38d71c8e6df75fd401442a5af11ac489c6b17911 /share/man | |
parent | f4937893f036d875ef427b357b3c8f9928c776d9 (diff) | |
download | FreeBSD-src-76dbdac3af61758727869feeb30190ad67da1338.zip FreeBSD-src-76dbdac3af61758727869feeb30190ad67da1338.tar.gz |
Attempt to document the recent in_pcb local port address changes..
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/ip.4 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index 0f95c4b..acefe0e 100644 --- a/share/man/man4/ip.4 +++ b/share/man/man4/ip.4 @@ -131,6 +131,40 @@ cmsg_len = sizeof(struct in_addr) cmsg_level = IPPROTO_IP cmsg_type = IP_RECVDSTADDR .Ed +.Pp +.Dv IP_PORTRANGE +may be used to set the port range used for selecting a local port number +on a socket with an unspecified (zero) port number. It has the following +possible values: +.Bl -tag -width IP_PORTRANGE_DEFAULT +.It Dv IP_PORTRANGE_DEFAULT +use the default range of values, normally +.Dv IPPORT_RESERVED +through +.Dv IPPORT_RESERVED . +This is adjustable through the sysctl setting: +.Nm net.inet.ip.portrange.first +and +.Nm net.inet.ip.portrange.last . +.It Dv IP_PORTRANGE_HIGH +use a high range of values, normally +.Dv IPPORT_HIFIRSTAUTO +and +.Dv IPPORT_HILASTAUTO . +This is adjustable through the sysctl setting: +.Nm net.inet.ip.portrange.hifirst +and +.Nm net.inet.ip.portrange.hilast . +.It Dv IP_PORTRANGE_LOW +use a low range of ports, which are normally restricted to +privileged processes on +.Ux +systems. The range is normally from +.Dv IPPORT_RESERVED +down to +.Li 1 +in descending order. This range is not sysctl configurable. +.El .Ss "Multicast Options" .Pp .Tn IP |