Searched refs:allowed_open (Results 1 – 1 of 1) sorted by relevance
4171 remote_open_match(struct permission *allowed_open, struct Forward *fwd) in remote_open_match() argument4180 if (fwd->listen_host == NULL || allowed_open->listen_host == NULL) in remote_open_match()4183 if (allowed_open->listen_port != FWD_PERMIT_ANY_PORT && in remote_open_match()4184 allowed_open->listen_port != fwd->listen_port) in remote_open_match()4190 ret = match_pattern(lhost, allowed_open->listen_host); in remote_open_match()4345 open_match(struct permission *allowed_open, const char *requestedhost, in open_match() argument4348 if (allowed_open->host_to_connect == NULL) in open_match()4350 if (allowed_open->port_to_connect != FWD_PERMIT_ANY_PORT && in open_match()4351 allowed_open->port_to_connect != requestedport) in open_match()4353 if (strcmp(allowed_open->host_to_connect, FWD_PERMIT_ANY_HOST) != 0 && in open_match()[all …]