Home
last modified time | relevance | path

Searched refs:numLocalPorts (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/ipfw/
H A Dnat.c410 u_short numLocalPorts; in setup_redir_port() local
413 numLocalPorts = 0; in setup_redir_port()
434 numLocalPorts = 1; in setup_redir_port()
456 numLocalPorts = GETNUMPORTS(portRange); in setup_redir_port()
478 numLocalPorts = GETNUMPORTS(portRange); in setup_redir_port()
514 if (numLocalPorts != r->pport_cnt) in setup_redir_port()
519 if (r->rport_cnt != numLocalPorts && in setup_redir_port()
/freebsd/sbin/natd/
H A Dnatd.c1626 u_short numLocalPorts = 0; in SetupPortRedirect() local
1657 numLocalPorts = 1; in SetupPortRedirect()
1664 numLocalPorts = GETNUMPORTS(portRange); in SetupPortRedirect()
1716 if (numLocalPorts != numPublicPorts) in SetupPortRedirect()
1720 if (numRemotePorts != numLocalPorts && (numRemotePorts != 1 || remotePort != 0)) in SetupPortRedirect()