PORT_STREAMLOCAL
port_open_helper(ssh, c, port_to_connect == PORT_STREAMLOCAL ?
} else if (c->host_port == PORT_STREAMLOCAL) {
if (c->host_port != PORT_STREAMLOCAL)
port = PORT_STREAMLOCAL;
port = PORT_STREAMLOCAL;
c->listening_port = PORT_STREAMLOCAL;
port_to_connect = PORT_STREAMLOCAL;
listen_port = PORT_STREAMLOCAL;
if (allowed_open->listen_port != PORT_STREAMLOCAL)
if (port == PORT_STREAMLOCAL) {
if (open_match(perm, path, PORT_STREAMLOCAL)) {
if (open_match(perm, path, PORT_STREAMLOCAL)) {
return connect_to(ssh, path, PORT_STREAMLOCAL, ctype, rname);
if (_cport == (u_int)PORT_STREAMLOCAL)
cport = PORT_STREAMLOCAL;
if (cport == PORT_STREAMLOCAL) {
(lport != (u_int)PORT_STREAMLOCAL && lport > 65535) ||
(cport != (u_int)PORT_STREAMLOCAL && cport > 65535)) {
if (fwd.listen_port == PORT_STREAMLOCAL)
if (fwd.connect_port == PORT_STREAMLOCAL)
if (fwd.listen_port != PORT_STREAMLOCAL && fwd.listen_port >= 65536) {
if ((fwd.connect_port != PORT_STREAMLOCAL &&
(lport != (u_int)PORT_STREAMLOCAL && lport > 65535) ||
(cport != (u_int)PORT_STREAMLOCAL && cport > 65535)) {
if (fwd.listen_port == PORT_STREAMLOCAL)
if (fwd.connect_port == PORT_STREAMLOCAL)
fwd->listen_port = PORT_STREAMLOCAL;
fwd->listen_port = PORT_STREAMLOCAL;
fwd->connect_port = PORT_STREAMLOCAL;
fwd->connect_port = PORT_STREAMLOCAL;
fwd->listen_port = PORT_STREAMLOCAL;
fwd->connect_port = PORT_STREAMLOCAL;
if (fwd->listen_port == PORT_STREAMLOCAL)
if (fwd->connect_port == PORT_STREAMLOCAL)
fwd.listen_port == PORT_STREAMLOCAL ?