Lines Matching defs:listen_port

123 	int listen_port;		/* Remote side should listen port. */
2861 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
2892 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 &&
2935 * fwd->listen_port == 0 requests a dynamically allocated port -
2938 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 &&
2953 if (fwd->listen_port == 0 && allocated_listen_port != NULL &&
2957 c->listening_port = fwd->listen_port;
2962 fwd->listen_port);
3089 return channel_cancel_rport_listener_tcpip(fwd->listen_host, fwd->listen_port);
3160 return channel_cancel_lport_listener_tcpip(fwd->listen_host, fwd->listen_port, cport, fwd_opts);
3234 packet_put_int(fwd->listen_port);
3242 packet_put_int(fwd->listen_port);
3284 permitted_opens[idx].listen_port = PORT_STREAMLOCAL;
3289 permitted_opens[idx].listen_port = fwd->listen_port;
3324 if (allowed_open->listen_port != requestedport)
3344 if (allowed_open->listen_port != PORT_STREAMLOCAL)
3379 permitted_opens[i].listen_port = 0;
3416 permitted_opens[i].listen_port = 0;
3438 fwd->listen_port ? fwd->listen_port : fwd->allocated_port));
3455 fwd.listen_port = packet_get_int();
3464 if (fwd.listen_port < IPPORT_RESERVED && !is_root)
3467 fwd.listen_port);
3504 permitted_opens[num_permitted_opens].listen_port = 0;
3529 permitted_opens[idx].listen_port =
3532 permitted_opens[idx].listen_port = 0;
3555 permitted_adm_opens[num_adm_permitted_opens].listen_port = 0;
3769 u_short listen_port, char *ctype, char *rname)
3775 listen_port, 1)) {
3781 error("WARNING: Server requests forwarding for unknown listen_port %d",
3782 listen_port);