IPPORT_RESERVED
if (!anyport && SOCK_PORT(from) >= IPPORT_RESERVED) {
is_priv = ntohs(peer_sin->sin_port) < IPPORT_RESERVED;
is_priv = ntohs(peer_sin6->sin6_port) < IPPORT_RESERVED;
(port >= (in_port_t)IPPORT_RESERVED) ||
(port < (in_port_t)(IPPORT_RESERVED/2)));
if (ntohs(from->sin_port) > IPPORT_RESERVED) {
bad_port = (port >= IPPORT_RESERVED ||
port < (uint_t)(IPPORT_RESERVED/2));
lport = IPPORT_RESERVED - 1;
if (!krb5auth_flag && (port >= IPPORT_RESERVED)) {
if ((op == PMAPPROC_SET) && (reg.pm_port < IPPORT_RESERVED) &&
(ntohs(who->sin_port) >= IPPORT_RESERVED)) {
int rport = IPPORT_RESERVED - 1;
if (port < IPPORT_RESERVED) {
(ntohs(port) > IPPORT_RESERVED)) {
*is_priv = ntohs(sin_peer.sin_port) < IPPORT_RESERVED;
if ((sockfd < 0) || (port >= IPPORT_RESERVED)) {
if (port < IPPORT_RESERVED)
#define ENDPORT (IPPORT_RESERVED - 1)
#define ENDPORT (IPPORT_RESERVED - 1)
if (ntohs(sin->sin_port) >= IPPORT_RESERVED) {
if (ntohs(sin6->sin6_port) >= IPPORT_RESERVED) {
port = IPPORT_RESERVED - 1;
rsvdport = (IPPORT_RESERVED / 2) - 1;
if (++rsvdport >= IPPORT_RESERVED)
p = rsvdport = IPPORT_RESERVED / 2;
IPPORT_RESERVED) ||
IPPORT_RESERVED)) {
IPPORT_RESERVED) ||
IPPORT_RESERVED)) {
static in_port_t next_priv_port = IPPORT_RESERVED - 1;
next_priv_port >= IPPORT_RESERVED) {
next_priv_port = IPPORT_RESERVED - 1;
loopmax = IPPORT_RESERVED -
static in_port_t next_priv_port = IPPORT_RESERVED - 1;
next_priv_port >= IPPORT_RESERVED) {
next_priv_port = IPPORT_RESERVED - 1;
loopmax = IPPORT_RESERVED - us->us_min_anonpriv_port;
#define RESERVED_PORTSPACE (IPPORT_RESERVED - (IPPORT_RESERVED/2))
#define NONRESERVED_PORTSPACE (0xFFFF - IPPORT_RESERVED)
#define MAX_PRIV (IPPORT_RESERVED-1)
#define MIN_PRIV (IPPORT_RESERVED/2)