IPPORT_RESERVED
(socket_get_port(data_dest) < IPPORT_RESERVED) ||
(socket_get_port(data_dest) < IPPORT_RESERVED) ||
if (port < IPPORT_RESERVED) {
priv_port1 = priv_port2 = IPPORT_RESERVED-1;
return ntohs(port) < IPPORT_RESERVED;
int priv_port = IPPORT_RESERVED - 1;
#define ENDPORT (IPPORT_RESERVED - 1)
#define ENDPORT (IPPORT_RESERVED - 1)
if (*alport < IPPORT_RESERVED - 1) {
for (timo = 1, lport = IPPORT_RESERVED - 1;;) {
if (aport >= IPPORT_RESERVED || aport < IPPORT_RESERVED / 2) {
if (ntohs(clnt_sin.sin_port) >= IPPORT_RESERVED) {
#define IPPORT_RESERVEDMAX (IPPORT_RESERVED-1)
if (rval == 0 || rval >= IPPORT_RESERVED) {
if (remoteport >= IPPORT_RESERVED) {
if (remoteport >= IPPORT_RESERVED) {
if (ntohs(from->sin_port) > IPPORT_RESERVED) {
myaddr.sin_port = htons(IPPORT_RESERVED-1);
if (port >= IPPORT_RESERVED &&
ntohs(saddr->sin_port) >= IPPORT_RESERVED) ||
ntohs(saddr6->sin6_port) >= IPPORT_RESERVED))) {
VNET_DEFINE(int, ipport_lowfirstauto) = IPPORT_RESERVED - 1; /* 1023 */
VNET_DEFINE(int, ipport_reservedhigh) = IPPORT_RESERVED - 1; /* 1023 */
RANGECHK(V_ipport_lowfirstauto, 1, IPPORT_RESERVED - 1);
RANGECHK(V_ipport_lowlastauto, 1, IPPORT_RESERVED - 1);
RANGECHK(V_ipport_firstauto, IPPORT_RESERVED, IPPORT_MAX);
RANGECHK(V_ipport_lastauto, IPPORT_RESERVED, IPPORT_MAX);
RANGECHK(V_ipport_hifirstauto, IPPORT_RESERVED, IPPORT_MAX);
RANGECHK(V_ipport_hilastauto, IPPORT_RESERVED, IPPORT_MAX);
if (la->true_port < IPPORT_RESERVED)
org_port < IPPORT_RESERVED)
if (ntohs(lport) < IPPORT_RESERVED &&
tport = IPPORT_RESERVED;
tport > IPPORT_RESERVED / 2);
if (snum < IPPORT_RESERVED &&
int s, timo = 1, lport = IPPORT_RESERVED - 1;
if (atoi(serv) >= IPPORT_RESERVED) {
if (sport >= IPPORT_RESERVED && resvport_only) {
if (sport >= IPPORT_RESERVED && resvport_only) {
if (sport >= IPPORT_RESERVED && resvport_only) {
if (sport >= IPPORT_RESERVED) {
(ntohs(sin->sin_port) < IPPORT_RESERVED));
if (ntohs(fromsin->sin_port) >= IPPORT_RESERVED) {
if ((ypsecuremode && (ntohs(raddrp->sin_port) >= IPPORT_RESERVED))) {
ntohs(rqhost->sin_port) >= IPPORT_RESERVED) {