Lines Matching refs:allowed_open
3660 open_match(ForwardPermission *allowed_open, const char *requestedhost, argument
3663 if (allowed_open->host_to_connect == NULL)
3665 if (allowed_open->port_to_connect != FWD_PERMIT_ANY_PORT &&
3666 allowed_open->port_to_connect != requestedport)
3668 if (strcmp(allowed_open->host_to_connect, FWD_PERMIT_ANY_HOST) != 0 &&
3669 strcmp(allowed_open->host_to_connect, requestedhost) != 0)
3681 open_listen_match_tcpip(ForwardPermission *allowed_open, argument
3686 if (allowed_open->host_to_connect == NULL)
3688 if (allowed_open->listen_port != requestedport)
3690 if (!translate && allowed_open->listen_host == NULL &&
3694 channel_rfwd_bind_host(allowed_open->listen_host) :
3695 allowed_open->listen_host;
3703 open_listen_match_streamlocal(ForwardPermission *allowed_open, argument
3706 if (allowed_open->host_to_connect == NULL)
3708 if (allowed_open->listen_port != PORT_STREAMLOCAL)
3710 if (allowed_open->listen_path == NULL ||
3711 strcmp(allowed_open->listen_path, requestedpath) != 0)