Lines Matching defs:ip
92 apr_ipsubnet_t **ip;
96 /* The 'ip' provider will allow the configuration to specify a list of
97 ip addresses to check rather than a single address. This is different
105 return "'require ip' requires an argument";
107 ip = apr_pcalloc(p, sizeof(apr_ipsubnet_t *) * (count + 1));
108 *parsed_require_line = ip;
117 (*ip = apr_hash_get(parsed_subnets, w, APR_HASH_KEY_STRING)) != NULL)
120 ip++;
127 rv = apr_ipsubnet_create(ip, addr, mask, p);
131 return apr_psprintf(p, "ip address '%s' appears to be invalid", w);
134 return apr_psprintf(p, "ip address '%s' appears to be invalid: %pm",
139 apr_hash_set(parsed_subnets, w, APR_HASH_KEY_STRING, *ip);
140 ip++;
151 apr_ipsubnet_t **ip = (apr_ipsubnet_t **)parsed_require_line;
153 while (*ip) {
154 if (apr_ipsubnet_test(*ip, r->useragent_addr))
156 ip++;
309 ap_register_auth_provider(p, AUTHZ_PROVIDER_GROUP, "ip",