Lines Matching defs:listen_port

123 	int listen_port;		/* Remote side should listen port. */
2858 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
2889 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 &&
2932 * fwd->listen_port == 0 requests a dynamically allocated port -
2935 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 &&
2950 if (fwd->listen_port == 0 && allocated_listen_port != NULL &&
2954 c->listening_port = fwd->listen_port;
2959 fwd->listen_port);
3086 return channel_cancel_rport_listener_tcpip(fwd->listen_host, fwd->listen_port);
3157 return channel_cancel_lport_listener_tcpip(fwd->listen_host, fwd->listen_port, cport, fwd_opts);
3231 packet_put_int(fwd->listen_port);
3239 packet_put_int(fwd->listen_port);
3281 permitted_opens[idx].listen_port = PORT_STREAMLOCAL;
3286 permitted_opens[idx].listen_port = fwd->listen_port;
3320 if (allowed_open->listen_port != requestedport)
3340 if (allowed_open->listen_port != PORT_STREAMLOCAL)
3375 permitted_opens[i].listen_port = 0;
3412 permitted_opens[i].listen_port = 0;
3434 fwd->listen_port ? fwd->listen_port : fwd->allocated_port));
3451 fwd.listen_port = packet_get_int();
3460 if (fwd.listen_port < IPPORT_RESERVED && !is_root)
3463 fwd.listen_port);
3500 permitted_opens[num_permitted_opens].listen_port = 0;
3525 permitted_opens[idx].listen_port =
3528 permitted_opens[idx].listen_port = 0;
3551 permitted_adm_opens[num_adm_permitted_opens].listen_port = 0;
3765 u_short listen_port, char *ctype, char *rname)
3771 listen_port, 1)) {
3777 error("WARNING: Server requests forwarding for unknown listen_port %d",
3778 listen_port);