rlcf 83 http/modules/ngx_http_random_index_module.c ngx_http_random_index_loc_conf_t *rlcf; rlcf 93 http/modules/ngx_http_random_index_module.c rlcf = ngx_http_get_module_loc_conf(r, ngx_http_random_index_module); rlcf 95 http/modules/ngx_http_random_index_module.c if (!rlcf->enable) { rlcf 119 http/modules/ngx_http_realip_module.c ngx_http_realip_loc_conf_t *rlcf; rlcf 127 http/modules/ngx_http_realip_module.c rlcf = ngx_http_get_module_loc_conf(r, ngx_http_realip_module); rlcf 129 http/modules/ngx_http_realip_module.c if (rlcf->from == NULL rlcf 131 http/modules/ngx_http_realip_module.c && !rlcf->unixsock rlcf 138 http/modules/ngx_http_realip_module.c switch (rlcf->type) { rlcf 176 http/modules/ngx_http_realip_module.c hash = rlcf->hash; rlcf 177 http/modules/ngx_http_realip_module.c len = rlcf->header.len; rlcf 178 http/modules/ngx_http_realip_module.c p = rlcf->header.data; rlcf 217 http/modules/ngx_http_realip_module.c from = rlcf->from->elts; rlcf 218 http/modules/ngx_http_realip_module.c for (i = 0; i < rlcf->from->nelts; i++) { rlcf 232 http/modules/ngx_http_realip_module.c if (c->sockaddr->sa_family == AF_UNIX && rlcf->unixsock) { rlcf 314 http/modules/ngx_http_realip_module.c ngx_http_realip_loc_conf_t *rlcf = conf; rlcf 326 http/modules/ngx_http_realip_module.c rlcf->unixsock = 1; rlcf 332 http/modules/ngx_http_realip_module.c if (rlcf->from == NULL) { rlcf 333 http/modules/ngx_http_realip_module.c rlcf->from = ngx_array_create(cf->pool, 2, rlcf 335 http/modules/ngx_http_realip_module.c if (rlcf->from == NULL) { rlcf 340 http/modules/ngx_http_realip_module.c from = ngx_array_push(rlcf->from); rlcf 374 http/modules/ngx_http_realip_module.c ngx_http_realip_loc_conf_t *rlcf = conf; rlcf 381 http/modules/ngx_http_realip_module.c rlcf->type = NGX_HTTP_REALIP_XREALIP; rlcf 386 http/modules/ngx_http_realip_module.c rlcf->type = NGX_HTTP_REALIP_XFWD; rlcf 390 http/modules/ngx_http_realip_module.c rlcf->type = NGX_HTTP_REALIP_HEADER; rlcf 391 http/modules/ngx_http_realip_module.c rlcf->hash = ngx_hash_strlow(value[1].data, value[1].data, value[1].len); rlcf 392 http/modules/ngx_http_realip_module.c rlcf->header = value[1]; rlcf 43 http/modules/ngx_http_referer_module.c ngx_http_referer_conf_t *rlcf, ngx_str_t *name, ngx_regex_t *regex); rlcf 100 http/modules/ngx_http_referer_module.c ngx_http_referer_conf_t *rlcf; rlcf 103 http/modules/ngx_http_referer_module.c rlcf = ngx_http_get_module_loc_conf(r, ngx_http_referer_module); rlcf 105 http/modules/ngx_http_referer_module.c if (rlcf->hash.hash.buckets == NULL rlcf 106 http/modules/ngx_http_referer_module.c && rlcf->hash.wc_head == NULL rlcf 107 http/modules/ngx_http_referer_module.c && rlcf->hash.wc_tail == NULL rlcf 109 http/modules/ngx_http_referer_module.c && rlcf->regex == NULL rlcf 117 http/modules/ngx_http_referer_module.c if (rlcf->no_referer) { rlcf 140 http/modules/ngx_http_referer_module.c if (rlcf->blocked_referer) { rlcf 164 http/modules/ngx_http_referer_module.c uri = ngx_hash_find_combined(&rlcf->hash, key, buf, p - ref); rlcf 172 http/modules/ngx_http_referer_module.c if (rlcf->regex) { rlcf 179 http/modules/ngx_http_referer_module.c rc = ngx_regex_exec_array(rlcf->regex, &referer, r->connection->log); rlcf 357 http/modules/ngx_http_referer_module.c ngx_http_referer_conf_t *rlcf = conf; rlcf 376 http/modules/ngx_http_referer_module.c if (rlcf->keys == NULL) { rlcf 377 http/modules/ngx_http_referer_module.c rlcf->keys = ngx_pcalloc(cf->temp_pool, sizeof(ngx_hash_keys_arrays_t)); rlcf 378 http/modules/ngx_http_referer_module.c if (rlcf->keys == NULL) { rlcf 382 http/modules/ngx_http_referer_module.c rlcf->keys->pool = cf->pool; rlcf 383 http/modules/ngx_http_referer_module.c rlcf->keys->temp_pool = cf->pool; rlcf 385 http/modules/ngx_http_referer_module.c if (ngx_hash_keys_array_init(rlcf->keys, NGX_HASH_SMALL) != NGX_OK) { rlcf 400 http/modules/ngx_http_referer_module.c rlcf->no_referer = 1; rlcf 405 http/modules/ngx_http_referer_module.c rlcf->blocked_referer = 1; rlcf 421 http/modules/ngx_http_referer_module.c if (ngx_http_add_regex_referer(cf, rlcf, &sn[n].name, rlcf 432 http/modules/ngx_http_referer_module.c if (ngx_http_add_referer(cf, rlcf->keys, &sn[n].name, &uri) rlcf 443 http/modules/ngx_http_referer_module.c if (ngx_http_add_regex_referer(cf, rlcf, &value[i], NULL) != NGX_OK) rlcf 459 http/modules/ngx_http_referer_module.c if (ngx_http_add_referer(cf, rlcf->keys, &value[i], &uri) != NGX_OK) { rlcf 508 http/modules/ngx_http_referer_module.c ngx_http_add_regex_referer(ngx_conf_t *cf, ngx_http_referer_conf_t *rlcf, rlcf 521 http/modules/ngx_http_referer_module.c if (rlcf->regex == NGX_CONF_UNSET_PTR) { rlcf 522 http/modules/ngx_http_referer_module.c rlcf->regex = ngx_array_create(cf->pool, 2, sizeof(ngx_regex_elt_t)); rlcf 523 http/modules/ngx_http_referer_module.c if (rlcf->regex == NULL) { rlcf 528 http/modules/ngx_http_referer_module.c re = ngx_array_push(rlcf->regex); rlcf 140 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_loc_conf_t *rlcf; rlcf 142 http/modules/ngx_http_rewrite_module.c rlcf = ngx_http_get_module_loc_conf(r, ngx_http_rewrite_module); rlcf 144 http/modules/ngx_http_rewrite_module.c if (rlcf->codes == NULL) { rlcf 154 http/modules/ngx_http_rewrite_module.c rlcf->stack_size * sizeof(ngx_http_variable_value_t)); rlcf 159 http/modules/ngx_http_rewrite_module.c e->ip = rlcf->codes->elts; rlcf 162 http/modules/ngx_http_rewrite_module.c e->log = rlcf->log; rlcf 188 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_loc_conf_t *rlcf; rlcf 190 http/modules/ngx_http_rewrite_module.c rlcf = ngx_http_get_module_loc_conf(r, ngx_http_rewrite_module); rlcf 192 http/modules/ngx_http_rewrite_module.c if (rlcf->uninitialized_variable_warn == 0) {