Lines Matching defs:req
223 remoteip_req_t *req = NULL;
372 if (!req) {
373 req = (remoteip_req_t *) apr_palloc(r->pool, sizeof(remoteip_req_t));
374 req->useragent_ip = r->useragent_ip;
381 req->useragent_ip, NULL);
384 proxy_ips = req->useragent_ip;
388 req->useragent_addr = temp_sa;
389 apr_sockaddr_ip_get(&req->useragent_ip, req->useragent_addr);
393 if (!req) {
397 req->proxied_remote = remote;
398 req->proxy_ips = proxy_ips;
400 if (req->proxied_remote) {
402 req->proxied_remote);
407 if (req->proxy_ips) {
408 apr_table_setn(r->notes, "remoteip-proxy-ip-list", req->proxy_ips);
411 req->proxy_ips);
415 r->useragent_addr = req->useragent_addr;
416 r->useragent_ip = req->useragent_ip;
419 req->proxy_ips
422 req->useragent_ip,
423 (req->proxy_ips ? req->proxy_ips : ""));