Lines Matching defs:listen_host

117 /*	XXX - can we use listen_host instead of listen_path? */
121 char *listen_host; /* Remote side should listen address. */
2836 fwd->listen_host : fwd->connect_host;
2848 addr = channel_fwd_bind_addr(fwd->listen_host, &wildcard,
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);
3196 channel_rfwd_bind_host(const char *listen_host)
3198 if (listen_host == NULL) {
3203 } else if (*listen_host == '\0' || strcmp(listen_host, "*") == 0) {
3209 return listen_host;
3233 packet_put_cstring(channel_rfwd_bind_host(fwd->listen_host));
3281 permitted_opens[idx].listen_host = NULL;
3286 permitted_opens[idx].listen_host =
3287 fwd->listen_host ? xstrdup(fwd->listen_host) : NULL;
3313 * need to translate between the configured-host (listen_host)
3326 if (!translate && allowed_open->listen_host == NULL &&
3330 channel_rfwd_bind_host(allowed_open->listen_host) :
3331 allowed_open->listen_host;
3383 free(permitted_opens[i].listen_host);
3384 permitted_opens[i].listen_host = NULL;
3420 permitted_opens[i].listen_host = NULL;
3437 return (channel_request_rforward_cancel_tcpip(fwd->listen_host,
3502 permitted_opens[num_permitted_opens].listen_host = NULL;
3536 free(permitted_opens[idx].listen_host);
3537 permitted_opens[idx].listen_host = NULL;
3553 permitted_adm_opens[num_adm_permitted_opens].listen_host = NULL;
3575 free(permitted_opens[i].listen_host);
3590 free(permitted_adm_opens[i].listen_host);
3768 channel_connect_by_listen_address(const char *listen_host,
3774 if (open_listen_match_tcpip(&permitted_opens[i], listen_host,