Lines Matching refs:permitted_opens
117 static ForwardPermission *permitted_opens = NULL; variable
2906 permitted_opens = xrealloc(permitted_opens,
2907 num_permitted_opens + 1, sizeof(*permitted_opens));
2908 permitted_opens[num_permitted_opens].host_to_connect = xstrdup(host_to_connect);
2909 permitted_opens[num_permitted_opens].port_to_connect = port_to_connect;
2910 permitted_opens[num_permitted_opens].listen_port = listen_port;
2929 if (permitted_opens[i].host_to_connect != NULL &&
2930 permitted_opens[i].listen_port == port)
2944 permitted_opens[i].listen_port = 0;
2945 permitted_opens[i].port_to_connect = 0;
2946 xfree(permitted_opens[i].host_to_connect);
2947 permitted_opens[i].host_to_connect = NULL;
3007 permitted_opens = xrealloc(permitted_opens,
3008 num_permitted_opens + 1, sizeof(*permitted_opens));
3009 permitted_opens[num_permitted_opens].host_to_connect = xstrdup(host);
3010 permitted_opens[num_permitted_opens].port_to_connect = port;
3035 if (permitted_opens[i].host_to_connect != NULL)
3036 xfree(permitted_opens[i].host_to_connect);
3038 xfree(permitted_opens);
3039 permitted_opens = NULL;
3177 if (permitted_opens[i].host_to_connect != NULL &&
3178 permitted_opens[i].listen_port == listen_port) {
3180 permitted_opens[i].host_to_connect,
3181 permitted_opens[i].port_to_connect, ctype, rname);
3198 if (permitted_opens[i].host_to_connect != NULL &&
3199 permitted_opens[i].port_to_connect == port &&
3200 strcmp(permitted_opens[i].host_to_connect, host) == 0)