/httpd/test/ |
H A D | test_limits.c | 88 char *addr = "localhost"; local 107 addr = optarg; 123 if ((he = gethostbyname(addr)) == NULL) { 148 fprintf(stderr, "Testing like a plague of locusts on %s\n", addr);
|
/httpd/modules/aaa/ |
H A D | mod_authz_host.c | 112 char *addr = apr_pstrdup(ptemp, w); local 124 if ((mask = ap_strchr(addr, '/'))) 127 rv = apr_ipsubnet_create(ip, addr, mask, p);
|
H A D | mod_authnz_fcgi.c | 86 apr_status_t rv = APR_EINVAL; /* returned if no backend addr was provided 89 apr_sockaddr_t *addr = backend_addrs; local 91 while (addr && !connected) { 92 int loglevel = addr->next ? APLOG_DEBUG : APLOG_ERR; 93 rv = apr_socket_create(newsock, addr->family, 99 addr->family, backend_name); 100 addr = addr->next; 108 rv = apr_socket_connect(*newsock, addr); 113 "failed", addr, backend_nam [all...] |
/httpd/modules/cluster/ |
H A D | mod_heartbeat.c | 167 void *dconf, const char *addr) 190 rv = apr_parse_addr_port(&host_str, &scope_id, &port, addr, cmd->temp_pool); 166 cmd_hb_address(cmd_parms *cmd, void *dconf, const char *addr) argument
|
/httpd/modules/ssl/ |
H A D | ssl_engine_init.c | 1576 char *addr; local 1584 apr_sockaddr_ip_get(&addr, s->addrs->host_addr); 1585 key = apr_psprintf(p, "%s:%u", addr, s->addrs->host_port);
|
/httpd/server/ |
H A D | listen.c | 407 static const char *alloc_listener(process_rec *process, char *addr, argument 429 ((!addr && !sa->hostname) || 430 ((addr && sa->hostname) && !strcmp(sa->hostname, addr)))) { 450 if ((status = apr_sockaddr_info_get(&sa, addr, APR_UNSPEC, port, 0, 455 addr); 485 if (status != APR_SUCCESS && !addr && 493 addr); 509 /* Evaluates to true if the (apr_sockaddr_t *) addr argument is the 511 #define IS_INADDR_ANY(addr) ((add 690 server_addr_rec *addr; local [all...] |
H A D | util_expr_eval.c | 1395 apr_sockaddr_t *addr = c->client_addr; local 1396 if (addr->family == AF_INET6 1397 && !IN6_IS_ADDR_V4MAPPED((struct in6_addr *)addr->ipaddr_ptr)) 1652 const char *addr = parms->arg; local 1663 mask = ap_strchr_c(addr, '/'); 1665 addr = apr_pstrmemdup(parms->ptemp, addr, mask - addr); 1669 ret = apr_ipsubnet_create(&subnet, addr, mask, parms->pool);
|
H A D | core.c | 3207 const char *addr, *mask, *err; local 3218 addr = argv[0]; 3219 mask = ap_strchr_c(addr, '/'); 3221 addr = apr_pstrmemdup(cmd->temp_pool, addr, mask - addr); 3224 ret = apr_ipsubnet_create(&entry->subnet, addr, mask, cmd->pool);
|
/httpd/modules/arch/netware/ |
H A D | mod_nw_ssl.c | 115 char *addr; member in struct:seclisten_rec 122 char *addr; member in struct:seclistenup_rec 238 ((strcmp(sl->addr, "0.0.0.0") == 0) || 239 (strcmp(sl->addr, c->local_ip) == 0))) { 251 char addr[MAX_ADDRESS]; local 257 apr_snprintf(addr, sizeof(addr), "address %s port %d", 260 apr_snprintf(addr, sizeof(addr), "port %d", ntohs(server->sin_port)); 277 addr); 473 char *ports, *addr; local 568 char *ports, *addr; local 755 char *addr = secwalk->addr; local [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy.c | 1448 struct apr_sockaddr_t *addr; local 1450 if (APR_SUCCESS == apr_sockaddr_info_get(&addr, arg, APR_UNSPEC, 0, 0, 1452 psf->source_address = addr; 1890 struct apr_sockaddr_t *addr; local 1905 if (APR_SUCCESS == apr_sockaddr_info_get(&addr, new->name, APR_UNSPEC, 0, 0, parms->pool)) { 1906 new->addr = addr; 1909 new->addr = NULL; 1946 "Parsed addr %s", inet_ntoa(New->addr)); [all...] |
H A D | mod_proxy.h | 120 struct in_addr addr, mask; member in struct:dirconn_entry 127 struct apr_sockaddr_t *addr; member in struct:noproxy_entry 242 apr_pool_t *pool; /* Subpool for hostname and addr data */ 244 apr_sockaddr_t *addr; /* Preparsed remote address info */ member in struct:__anon281 268 apr_sockaddr_t *addr; /* Preparsed remote address info */ member in struct:proxy_conn_pool 578 * @param addr resolved address of hostname, or NULL if not known 582 const char *hostname, apr_sockaddr_t *addr); 909 * @param p pool to make the sock addr
|
H A D | proxy_util.c | 313 char *addr, *scope_id, *strp, *host, *url = *urlp; local 364 rv = apr_parse_addr_port(&addr, &scope_id, &tmp_port, host, p); 365 if (rv != APR_SUCCESS || addr == NULL || scope_id != NULL) { 372 ap_str_tolower(addr); /* DNS names are case-insensitive */ 375 *hostp = addr; 429 /* Return TRUE if addr represents an IP address (or an IP network address) */ 432 const char *addr = This->name; local 443 * if (proxy_readmask(This->name, &This->addr.s_addr, &This->mask.s_addr) == 0) 444 * addr and mask were set by proxy_readmask() 449 * Parse IP addr manuall 554 struct in_addr addr, *ip; local 641 char *addr = This->name; local 702 struct apr_sockaddr_t *addr; local 781 ap_proxy_checkproxyblock(request_rec *r, proxy_server_conf *conf, const char *hostname, apr_sockaddr_t *addr) argument [all...] |
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 1920 apr_sockaddr_t *addr = r->useragent_addr; local 1921 flag = (addr->family == AF_INET6 && 1922 !IN6_IS_ADDR_V4MAPPED((struct in6_addr *)addr->ipaddr_ptr));
|