addr 963 core/ngx_connection.c ngx_uint_t addr; addr 977 core/ngx_connection.c for (addr = 0, i = 0; addr == 0 && i < 16; i++) { addr 978 core/ngx_connection.c addr |= sin6->sin6_addr.s6_addr[i]; addr 986 core/ngx_connection.c addr = sin->sin_addr.s_addr; addr 990 core/ngx_connection.c if (addr == 0) { addr 455 core/ngx_cycle.c shm_zone[i].shm.addr = oshm_zone[n].shm.addr; addr 927 core/ngx_cycle.c sp = (ngx_slab_pool_t *) zn->shm.addr; addr 931 core/ngx_cycle.c if (sp == sp->addr) { addr 937 core/ngx_cycle.c &zn->shm.name, sp->addr, sp); addr 941 core/ngx_cycle.c sp->end = zn->shm.addr + zn->shm.size; addr 943 core/ngx_cycle.c sp->addr = zn->shm.addr; addr 20 core/ngx_inet.c in_addr_t addr; addr 23 core/ngx_inet.c addr = 0; addr 37 core/ngx_inet.c addr = (addr << 8) + octet; addr 51 core/ngx_inet.c addr = (addr << 8) + octet; addr 52 core/ngx_inet.c return htonl(addr); addr 62 core/ngx_inet.c ngx_inet6_addr(u_char *p, size_t len, u_char *addr) addr 91 core/ngx_inet.c *addr++ = (u_char) (word >> 8); addr 92 core/ngx_inet.c *addr++ = (u_char) (word & 0xff); addr 104 core/ngx_inet.c zero = addr; addr 123 core/ngx_inet.c *addr++ = (u_char) ((word >> 24) & 0xff); addr 124 core/ngx_inet.c *addr++ = (u_char) ((word >> 16) & 0xff); addr 152 core/ngx_inet.c *addr++ = (u_char) (word >> 8); addr 153 core/ngx_inet.c *addr++ = (u_char) (word & 0xff); addr 158 core/ngx_inet.c s = addr - 1; addr 249 core/ngx_inet.c ngx_inet_ntop(int family, void *addr, u_char *text, size_t len) addr 257 core/ngx_inet.c p = addr; addr 266 core/ngx_inet.c return ngx_inet6_ntop(addr, text, len); addr 360 core/ngx_inet.c u_char *addr, *mask, *last; addr 368 core/ngx_inet.c addr = text->data; addr 369 core/ngx_inet.c last = addr + text->len; addr 371 core/ngx_inet.c mask = ngx_strlchr(addr, last, '/'); addr 372 core/ngx_inet.c len = (mask ? mask : last) - addr; addr 374 core/ngx_inet.c cidr->u.in.addr = ngx_inet_addr(addr, len); addr 376 core/ngx_inet.c if (cidr->u.in.addr != INADDR_NONE) { addr 385 core/ngx_inet.c } else if (ngx_inet6_addr(addr, len, cidr->u.in6.addr.s6_addr) == NGX_OK) { addr 409 core/ngx_inet.c addr = cidr->u.in6.addr.s6_addr; addr 420 core/ngx_inet.c if (addr[i] != (addr[i] & mask[i])) { addr 422 core/ngx_inet.c addr[i] &= mask[i]; addr 439 core/ngx_inet.c if (cidr->u.in.addr == (cidr->u.in.addr & cidr->u.in.mask)) { addr 443 core/ngx_inet.c cidr->u.in.addr &= cidr->u.in.mask; addr 451 core/ngx_inet.c ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, size_t len) addr 483 core/ngx_inet.c addr->sockaddr = ngx_pcalloc(pool, len); addr 484 core/ngx_inet.c if (addr->sockaddr == NULL) { addr 488 core/ngx_inet.c addr->sockaddr->sa_family = (u_char) family; addr 489 core/ngx_inet.c addr->socklen = len; addr 495 core/ngx_inet.c sin6 = (struct sockaddr_in6 *) addr->sockaddr; addr 501 core/ngx_inet.c sin = (struct sockaddr_in *) addr->sockaddr; addr 43 core/ngx_inet.h in_addr_t addr; addr 51 core/ngx_inet.h struct in6_addr addr; addr 106 core/ngx_inet.h ngx_int_t ngx_inet6_addr(u_char *p, size_t len, u_char *addr); addr 111 core/ngx_inet.h size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); addr 113 core/ngx_inet.h ngx_int_t ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, addr 78 core/ngx_resolver.c in_addr_t addr); addr 94 core/ngx_resolver.c ngx_resolver_create(ngx_conf_t *cf, ngx_addr_t *addr) addr 143 core/ngx_resolver.c if (addr) { addr 151 core/ngx_resolver.c uc->sockaddr = addr->sockaddr; addr 152 core/ngx_resolver.c uc->socklen = addr->socklen; addr 153 core/ngx_resolver.c uc->server = addr->name; addr 227 core/ngx_resolver.c in_addr_t addr; addr 231 core/ngx_resolver.c addr = ngx_inet_addr(temp->name.data, temp->name.len); addr 233 core/ngx_resolver.c if (addr != INADDR_NONE) { addr 237 core/ngx_resolver.c temp->addrs = &temp->addr; addr 238 core/ngx_resolver.c temp->addr = addr; addr 374 core/ngx_resolver.c in_addr_t addr, *addrs; addr 403 core/ngx_resolver.c addr = 0; addr 411 core/ngx_resolver.c addr = rn->u.addr; addr 423 core/ngx_resolver.c ctx->addrs = (naddrs == 1) ? &ctx->addr : addrs; addr 424 core/ngx_resolver.c ctx->addr = addr; addr 591 core/ngx_resolver.c ctx->addr = ntohl(ctx->addr); addr 595 core/ngx_resolver.c rn = ngx_resolver_lookup_addr(r, ctx->addr); addr 650 core/ngx_resolver.c rn->node.key = ctx->addr; addr 724 core/ngx_resolver.c in_addr_t addr; addr 742 core/ngx_resolver.c rn = ngx_resolver_lookup_addr(r, ctx->addr); addr 760 core/ngx_resolver.c addr = ntohl(ctx->addr); addr 764 core/ngx_resolver.c (addr >> 24) & 0xff, (addr >> 16) & 0xff, addr 765 core/ngx_resolver.c (addr >> 8) & 0xff, addr & 0xff); addr 1123 core/ngx_resolver.c in_addr_t addr, *addrs; addr 1188 core/ngx_resolver.c addr = 0; addr 1240 core/ngx_resolver.c addr = htonl((buf[i] << 24) + (buf[i + 1] << 16) addr 1266 core/ngx_resolver.c rn->u.addr = addr; addr 1344 core/ngx_resolver.c ctx->addrs = (naddrs == 1) ? &ctx->addr : addrs; addr 1345 core/ngx_resolver.c ctx->addr = addr; addr 1422 core/ngx_resolver.c in_addr_t addr; addr 1434 core/ngx_resolver.c addr = 0; addr 1445 core/ngx_resolver.c addr += digit << mask; addr 1455 core/ngx_resolver.c rn = ngx_resolver_lookup_addr(r, addr); addr 1460 core/ngx_resolver.c (addr >> 24) & 0xff, (addr >> 16) & 0xff, addr 1461 core/ngx_resolver.c (addr >> 8) & 0xff, addr & 0xff); addr 1470 core/ngx_resolver.c ident, (addr >> 24) & 0xff, (addr >> 16) & 0xff, addr 1471 core/ngx_resolver.c (addr >> 8) & 0xff, addr & 0xff, qident); addr 1650 core/ngx_resolver.c ngx_resolver_lookup_addr(ngx_resolver_t *r, in_addr_t addr) addr 1659 core/ngx_resolver.c if (addr < node->key) { addr 1664 core/ngx_resolver.c if (addr > node->key) { addr 1840 core/ngx_resolver.c d = ngx_sprintf(&p[1], "%ud", (ctx->addr >> n) & 0xff); addr 62 core/ngx_resolver.h in_addr_t addr; addr 124 core/ngx_resolver.h in_addr_t addr; addr 138 core/ngx_resolver.h ngx_resolver_t *ngx_resolver_create(ngx_conf_t *cf, ngx_addr_t *addr); addr 15 core/ngx_shmtx.c ngx_shmtx_create(ngx_shmtx_t *mtx, void *addr, u_char *name) addr 17 core/ngx_shmtx.c mtx->lock = addr; addr 26 core/ngx_shmtx.c ngx_shmtx_create(ngx_shmtx_t *mtx, void *addr, u_char *name) addr 25 core/ngx_shmtx.h ngx_int_t ngx_shmtx_create(ngx_shmtx_t *mtx, void *addr, u_char *name); addr 42 core/ngx_slab.h void *addr; addr 519 event/ngx_event.c shared = shm.addr; addr 1087 event/ngx_event.c dc->addr = cidr.u.in.addr; addr 1101 event/ngx_event.c dc->addr = *(in_addr_t *)(h->h_addr_list[0]); addr 225 event/ngx_event.h in_addr_t addr; addr 261 event/ngx_event_accept.c if ((sin->sin_addr.s_addr & dc[i].mask) == dc[i].addr) { addr 1515 event/ngx_event_openssl.c shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 1592 event/ngx_event_openssl.c shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 1712 event/ngx_event_openssl.c shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 1819 event/ngx_event_openssl.c shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 14 http/modules/ngx_http_access_module.c in_addr_t addr; addr 21 http/modules/ngx_http_access_module.c struct in6_addr addr; addr 38 http/modules/ngx_http_access_module.c ngx_http_access_loc_conf_t *alcf, in_addr_t addr); addr 118 http/modules/ngx_http_access_module.c in_addr_t addr; addr 125 http/modules/ngx_http_access_module.c addr = p[12] << 24; addr 126 http/modules/ngx_http_access_module.c addr += p[13] << 16; addr 127 http/modules/ngx_http_access_module.c addr += p[14] << 8; addr 128 http/modules/ngx_http_access_module.c addr += p[15]; addr 129 http/modules/ngx_http_access_module.c return ngx_http_access_inet(r, alcf, htonl(addr)); addr 148 http/modules/ngx_http_access_module.c in_addr_t addr) addr 158 http/modules/ngx_http_access_module.c addr, rule[i].mask, rule[i].addr); addr 160 http/modules/ngx_http_access_module.c if ((addr & rule[i].mask) == rule[i].addr) { addr 191 http/modules/ngx_http_access_module.c al = ngx_inet6_ntop(rule6[i].addr.s6_addr, at, NGX_INET6_ADDRSTRLEN); addr 199 http/modules/ngx_http_access_module.c if ((p[n] & rule6[i].mask.s6_addr[n]) != rule6[i].addr.s6_addr[n]) { addr 292 http/modules/ngx_http_access_module.c rule6->addr = cidr.u.in6.addr; addr 318 http/modules/ngx_http_access_module.c rule->addr = cidr.u.in.addr; addr 183 http/modules/ngx_http_geo_module.c in_addr_t addr; addr 189 http/modules/ngx_http_geo_module.c addr = ngx_http_geo_addr(r, ctx); addr 191 http/modules/ngx_http_geo_module.c range = ctx->u.high.low[addr >> 16]; addr 194 http/modules/ngx_http_geo_module.c n = addr & 0xffff; addr 216 http/modules/ngx_http_geo_module.c in_addr_t addr; addr 221 http/modules/ngx_http_geo_module.c addr = ngx_http_geo_real_addr(r, ctx); addr 226 http/modules/ngx_http_geo_module.c return addr; addr 233 http/modules/ngx_http_geo_module.c if ((addr & proxies[i].mask) == proxies[i].addr) { addr 251 http/modules/ngx_http_geo_module.c return addr; addr 904 http/modules/ngx_http_geo_module.c cidr.u.in.addr = 0; addr 923 http/modules/ngx_http_geo_module.c if (ngx_radix32tree_delete(ctx->tree, cidr.u.in.addr, addr 942 http/modules/ngx_http_geo_module.c rc = ngx_radix32tree_insert(ctx->tree, cidr.u.in.addr, cidr.u.in.mask, addr 955 http/modules/ngx_http_geo_module.c ngx_radix32tree_find(ctx->tree, cidr.u.in.addr & cidr.u.in.mask); addr 961 http/modules/ngx_http_geo_module.c rc = ngx_radix32tree_delete(ctx->tree, cidr.u.in.addr, cidr.u.in.mask); addr 1044 http/modules/ngx_http_geo_module.c c->addr = cidr->u.in.addr; addr 1057 http/modules/ngx_http_geo_module.c cidr->u.in.addr = 0xffffffff; addr 1080 http/modules/ngx_http_geo_module.c cidr->u.in.addr = ntohl(cidr->u.in.addr); addr 1341 http/modules/ngx_http_geo_module.c p = ngx_cpymem(fm.addr, &ngx_http_geo_header, addr 1344 http/modules/ngx_http_geo_module.c p = ngx_http_geo_copy_values(fm.addr, p, ctx->rbtree.root, addr 1360 http/modules/ngx_http_geo_module.c ranges[i] = (ngx_http_geo_range_t *) (p - (u_char *) fm.addr); addr 1381 http/modules/ngx_http_geo_module.c header = fm.addr; addr 1382 http/modules/ngx_http_geo_module.c header->crc32 = ngx_crc32_long((u_char *) fm.addr addr 27 http/modules/ngx_http_geoip_module.c typedef const char *(*ngx_http_geoip_variable_handler_pt)(GeoIP *, u_long addr); addr 174 http/modules/ngx_http_geoip_module.c u_long addr; addr 190 http/modules/ngx_http_geoip_module.c addr = ntohl(sin->sin_addr.s_addr); addr 192 http/modules/ngx_http_geoip_module.c val = handler(gcf->country, addr); addr 367 http/modules/ngx_http_geoip_module.c u_long addr; addr 376 http/modules/ngx_http_geoip_module.c addr = ntohl(sin->sin_addr.s_addr); addr 378 http/modules/ngx_http_geoip_module.c return GeoIP_record_by_ipnum(gcf->city, addr); addr 507 http/modules/ngx_http_limit_req_module.c ctx->shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 175 http/modules/ngx_http_limit_zone_module.c shpool = (ngx_slab_pool_t *) lzcf->shm_zone->shm.addr; addr 311 http/modules/ngx_http_limit_zone_module.c shpool = (ngx_slab_pool_t *) lzcln->shm_zone->shm.addr; addr 357 http/modules/ngx_http_limit_zone_module.c shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 19 http/modules/ngx_http_realip_module.c in_addr_t addr; addr 222 http/modules/ngx_http_realip_module.c sin->sin_addr.s_addr, from[i].mask, from[i].addr); addr 224 http/modules/ngx_http_realip_module.c if ((sin->sin_addr.s_addr & from[i].mask) == from[i].addr) { addr 247 http/modules/ngx_http_realip_module.c ngx_addr_t addr; addr 262 http/modules/ngx_http_realip_module.c rc = ngx_parse_addr(c->pool, &addr, ip, len); addr 287 http/modules/ngx_http_realip_module.c c->sockaddr = addr.sockaddr; addr 288 http/modules/ngx_http_realip_module.c c->socklen = addr.socklen; addr 365 http/modules/ngx_http_realip_module.c from->addr = cidr.u.in.addr; addr 18 http/modules/ngx_http_upstream_ip_hash_module.c u_char addr[3]; addr 118 http/modules/ngx_http_upstream_ip_hash_module.c iphp->addr[0] = p[0]; addr 119 http/modules/ngx_http_upstream_ip_hash_module.c iphp->addr[1] = p[1]; addr 120 http/modules/ngx_http_upstream_ip_hash_module.c iphp->addr[2] = p[2]; addr 123 http/modules/ngx_http_upstream_ip_hash_module.c iphp->addr[0] = 0; addr 124 http/modules/ngx_http_upstream_ip_hash_module.c iphp->addr[1] = 0; addr 125 http/modules/ngx_http_upstream_ip_hash_module.c iphp->addr[2] = 0; addr 165 http/modules/ngx_http_upstream_ip_hash_module.c hash = (hash * 113 + iphp->addr[i]) % 6271; addr 27 http/ngx_http.c ngx_http_core_srv_conf_t *cscf, ngx_http_conf_addr_t *addr); addr 52 http/ngx_http.c ngx_http_core_main_conf_t *cmcf, ngx_http_conf_addr_t *addr); addr 60 http/ngx_http.c ngx_http_conf_addr_t *addr); addr 62 http/ngx_http.c ngx_http_conf_addr_t *addr); addr 65 http/ngx_http.c ngx_http_conf_addr_t *addr); addr 1220 http/ngx_http.c ngx_http_conf_addr_t *addr; addr 1259 http/ngx_http.c addr = port->addrs.elts; addr 1263 http/ngx_http.c if (ngx_memcmp(p, addr[i].opt.u.sockaddr_data + off, len) != 0) { addr 1269 http/ngx_http.c if (ngx_http_add_server(cf, cscf, &addr[i]) != NGX_OK) { addr 1274 http/ngx_http.c default_server = addr[i].opt.default_server; addr 1277 http/ngx_http.c ssl = lsopt->ssl || addr[i].opt.ssl; addr 1282 http/ngx_http.c if (addr[i].opt.set) { addr 1284 http/ngx_http.c "a duplicate listen options for %s", addr[i].opt.addr); addr 1288 http/ngx_http.c addr[i].opt = *lsopt; addr 1297 http/ngx_http.c "a duplicate default server for %s", addr[i].opt.addr); addr 1302 http/ngx_http.c addr[i].default_server = cscf; addr 1305 http/ngx_http.c addr[i].opt.default_server = default_server; addr 1307 http/ngx_http.c addr[i].opt.ssl = ssl; addr 1328 http/ngx_http.c ngx_http_conf_addr_t *addr; addr 1339 http/ngx_http.c addr = ngx_array_push(&port->addrs); addr 1340 http/ngx_http.c if (addr == NULL) { addr 1344 http/ngx_http.c addr->opt = *lsopt; addr 1345 http/ngx_http.c addr->hash.buckets = NULL; addr 1346 http/ngx_http.c addr->hash.size = 0; addr 1347 http/ngx_http.c addr->wc_head = NULL; addr 1348 http/ngx_http.c addr->wc_tail = NULL; addr 1350 http/ngx_http.c addr->nregex = 0; addr 1351 http/ngx_http.c addr->regex = NULL; addr 1353 http/ngx_http.c addr->default_server = cscf; addr 1354 http/ngx_http.c addr->servers.elts = NULL; addr 1356 http/ngx_http.c return ngx_http_add_server(cf, cscf, addr); addr 1364 http/ngx_http.c ngx_http_conf_addr_t *addr) addr 1369 http/ngx_http.c if (addr->servers.elts == NULL) { addr 1370 http/ngx_http.c if (ngx_array_init(&addr->servers, cf->temp_pool, 4, addr 1378 http/ngx_http.c server = addr->servers.elts; addr 1379 http/ngx_http.c for (i = 0; i < addr->servers.nelts; i++) { addr 1382 http/ngx_http.c "a duplicate listen %s", addr->opt.addr); addr 1388 http/ngx_http.c server = ngx_array_push(&addr->servers); addr 1405 http/ngx_http.c ngx_http_conf_addr_t *addr; addr 1422 http/ngx_http.c addr = port[p].addrs.elts; addr 1425 http/ngx_http.c if (addr[a].servers.nelts > 1 addr 1427 http/ngx_http.c || addr[a].default_server->captures addr 1431 http/ngx_http.c if (ngx_http_server_names(cf, cmcf, &addr[a]) != NGX_OK) { addr 1448 http/ngx_http.c ngx_http_conf_addr_t *addr) addr 1475 http/ngx_http.c cscfp = addr->servers.elts; addr 1477 http/ngx_http.c for (s = 0; s < addr->servers.nelts; s++) { addr 1500 http/ngx_http.c &name[n].name, addr->opt.addr); addr 1507 http/ngx_http.c &name[n].name, addr->opt.addr); addr 1519 http/ngx_http.c hash.hash = &addr->hash; addr 1542 http/ngx_http.c addr->wc_head = (ngx_hash_wildcard_t *) hash.hash; addr 1560 http/ngx_http.c addr->wc_tail = (ngx_hash_wildcard_t *) hash.hash; addr 1571 http/ngx_http.c addr->nregex = regex; addr 1572 http/ngx_http.c addr->regex = ngx_palloc(cf->pool, regex * sizeof(ngx_http_server_name_t)); addr 1573 http/ngx_http.c if (addr->regex == NULL) { addr 1579 http/ngx_http.c for (s = 0; s < addr->servers.nelts; s++) { addr 1585 http/ngx_http.c addr->regex[i++] = name[n]; addr 1649 http/ngx_http.c ngx_http_conf_addr_t *addr; addr 1651 http/ngx_http.c addr = port->addrs.elts; addr 1661 http/ngx_http.c if (addr[last - 1].opt.wildcard) { addr 1662 http/ngx_http.c addr[last - 1].opt.bind = 1; addr 1673 http/ngx_http.c if (bind_wildcard && !addr[i].opt.bind) { addr 1678 http/ngx_http.c ls = ngx_http_add_listening(cf, &addr[i]); addr 1702 http/ngx_http.c if (ngx_http_add_addrs6(cf, hport, addr) != NGX_OK) { addr 1708 http/ngx_http.c if (ngx_http_add_addrs(cf, hport, addr) != NGX_OK) { addr 1714 http/ngx_http.c addr++; addr 1723 http/ngx_http.c ngx_http_add_listening(ngx_conf_t *cf, ngx_http_conf_addr_t *addr) addr 1729 http/ngx_http.c ls = ngx_create_listening(cf, &addr->opt.u.sockaddr, addr->opt.socklen); addr 1738 http/ngx_http.c cscf = addr->default_server; addr 1759 http/ngx_http.c ls->backlog = addr->opt.backlog; addr 1760 http/ngx_http.c ls->rcvbuf = addr->opt.rcvbuf; addr 1761 http/ngx_http.c ls->sndbuf = addr->opt.sndbuf; addr 1764 http/ngx_http.c ls->accept_filter = addr->opt.accept_filter; addr 1768 http/ngx_http.c ls->deferred_accept = addr->opt.deferred_accept; addr 1772 http/ngx_http.c ls->ipv6only = addr->opt.ipv6only; addr 1776 http/ngx_http.c ls->setfib = addr->opt.setfib; addr 1785 http/ngx_http.c ngx_http_conf_addr_t *addr) addr 1802 http/ngx_http.c sin = &addr[i].opt.u.sockaddr_in; addr 1803 http/ngx_http.c addrs[i].addr = sin->sin_addr.s_addr; addr 1804 http/ngx_http.c addrs[i].conf.default_server = addr[i].default_server; addr 1806 http/ngx_http.c addrs[i].conf.ssl = addr[i].opt.ssl; addr 1809 http/ngx_http.c if (addr[i].hash.buckets == NULL addr 1810 http/ngx_http.c && (addr[i].wc_head == NULL addr 1811 http/ngx_http.c || addr[i].wc_head->hash.buckets == NULL) addr 1812 http/ngx_http.c && (addr[i].wc_tail == NULL addr 1813 http/ngx_http.c || addr[i].wc_tail->hash.buckets == NULL) addr 1815 http/ngx_http.c && addr[i].nregex == 0 addr 1829 http/ngx_http.c vn->names.hash = addr[i].hash; addr 1830 http/ngx_http.c vn->names.wc_head = addr[i].wc_head; addr 1831 http/ngx_http.c vn->names.wc_tail = addr[i].wc_tail; addr 1833 http/ngx_http.c vn->nregex = addr[i].nregex; addr 1834 http/ngx_http.c vn->regex = addr[i].regex; addr 1846 http/ngx_http.c ngx_http_conf_addr_t *addr) addr 1863 http/ngx_http.c sin6 = &addr[i].opt.u.sockaddr_in6; addr 1865 http/ngx_http.c addrs6[i].conf.default_server = addr[i].default_server; addr 1867 http/ngx_http.c addrs6[i].conf.ssl = addr[i].opt.ssl; addr 1870 http/ngx_http.c if (addr[i].hash.buckets == NULL addr 1871 http/ngx_http.c && (addr[i].wc_head == NULL addr 1872 http/ngx_http.c || addr[i].wc_head->hash.buckets == NULL) addr 1873 http/ngx_http.c && (addr[i].wc_tail == NULL addr 1874 http/ngx_http.c || addr[i].wc_tail->hash.buckets == NULL) addr 1876 http/ngx_http.c && addr[i].nregex == 0 addr 1890 http/ngx_http.c vn->names.hash = addr[i].hash; addr 1891 http/ngx_http.c vn->names.wc_head = addr[i].wc_head; addr 1892 http/ngx_http.c vn->names.wc_tail = addr[i].wc_tail; addr 1894 http/ngx_http.c vn->nregex = addr[i].nregex; addr 1895 http/ngx_http.c vn->regex = addr[i].regex; addr 2549 http/ngx_http_core_module.c (void) ngx_sock_ntop(&lsopt.u.sockaddr, lsopt.addr, addr 3473 http/ngx_http_core_module.c (void) ngx_sock_ntop(&lsopt.u.sockaddr, lsopt.addr, addr 3606 http/ngx_http_core_module.c "on addr \"%s\", ignored", lsopt.addr); addr 90 http/ngx_http_core_module.h u_char addr[NGX_SOCKADDR_STRLEN + 1]; addr 212 http/ngx_http_core_module.h in_addr_t addr; addr 105 http/ngx_http_file_cache.c cache->shpool = (ngx_slab_pool_t *) shm_zone->shm.addr; addr 171 http/ngx_http_header_filter_module.c u_char addr[NGX_SOCKADDR_STRLEN]; addr 329 http/ngx_http_header_filter_module.c host.data = addr; addr 245 http/ngx_http_request.c ngx_http_in_addr_t *addr; addr 352 http/ngx_http_request.c addr = port->addrs; addr 357 http/ngx_http_request.c if (addr[i].addr == sin->sin_addr.s_addr) { addr 362 http/ngx_http_request.c addr_conf = &addr[i].conf; addr 379 http/ngx_http_request.c addr = port->addrs; addr 380 http/ngx_http_request.c addr_conf = &addr[0].conf; addr 852 http/ngx_http_upstream.c in_addr_t addr; addr 856 http/ngx_http_upstream.c addr = ntohl(ur->addrs[i]); addr 860 http/ngx_http_upstream.c (addr >> 24) & 0xff, (addr >> 16) & 0xff, addr 861 http/ngx_http_upstream.c (addr >> 8) & 0xff, addr & 0xff); addr 992 http/ngx_http_variables.c u_char addr[NGX_SOCKADDR_STRLEN]; addr 995 http/ngx_http_variables.c s.data = addr; addr 1006 http/ngx_http_variables.c ngx_memcpy(s.data, addr, s.len); addr 18 mail/ngx_mail.c ngx_mail_conf_addr_t *addr); addr 21 mail/ngx_mail.c ngx_mail_conf_addr_t *addr); addr 249 mail/ngx_mail.c ngx_mail_conf_addr_t *addr; addr 301 mail/ngx_mail.c addr = ngx_array_push(&port->addrs); addr 302 mail/ngx_mail.c if (addr == NULL) { addr 306 mail/ngx_mail.c addr->sockaddr = (struct sockaddr *) &listen->sockaddr; addr 307 mail/ngx_mail.c addr->socklen = listen->socklen; addr 308 mail/ngx_mail.c addr->ctx = listen->ctx; addr 309 mail/ngx_mail.c addr->bind = listen->bind; addr 310 mail/ngx_mail.c addr->wildcard = listen->wildcard; addr 312 mail/ngx_mail.c addr->ssl = listen->ssl; addr 315 mail/ngx_mail.c addr->ipv6only = listen->ipv6only; addr 329 mail/ngx_mail.c ngx_mail_conf_addr_t *addr; addr 337 mail/ngx_mail.c addr = port[p].addrs.elts; addr 345 mail/ngx_mail.c if (addr[last - 1].wildcard) { addr 346 mail/ngx_mail.c addr[last - 1].bind = 1; addr 357 mail/ngx_mail.c if (bind_wildcard && !addr[i].bind) { addr 362 mail/ngx_mail.c ls = ngx_create_listening(cf, addr[i].sockaddr, addr[i].socklen); addr 377 mail/ngx_mail.c ls->ipv6only = addr[i].ipv6only; addr 398 mail/ngx_mail.c if (ngx_mail_add_addrs6(cf, mport, addr) != NGX_OK) { addr 404 mail/ngx_mail.c if (ngx_mail_add_addrs(cf, mport, addr) != NGX_OK) { addr 410 mail/ngx_mail.c addr++; addr 421 mail/ngx_mail.c ngx_mail_conf_addr_t *addr) addr 440 mail/ngx_mail.c sin = (struct sockaddr_in *) addr[i].sockaddr; addr 441 mail/ngx_mail.c addrs[i].addr = sin->sin_addr.s_addr; addr 443 mail/ngx_mail.c addrs[i].conf.ctx = addr[i].ctx; addr 445 mail/ngx_mail.c addrs[i].conf.ssl = addr[i].ssl; addr 448 mail/ngx_mail.c len = ngx_sock_ntop(addr[i].sockaddr, buf, NGX_SOCKADDR_STRLEN, 1); addr 469 mail/ngx_mail.c ngx_mail_conf_addr_t *addr) addr 488 mail/ngx_mail.c sin6 = (struct sockaddr_in6 *) addr[i].sockaddr; addr 491 mail/ngx_mail.c addrs6[i].conf.ctx = addr[i].ctx; addr 493 mail/ngx_mail.c addrs6[i].conf.ssl = addr[i].ssl; addr 496 mail/ngx_mail.c len = ngx_sock_ntop(addr[i].sockaddr, buf, NGX_SOCKADDR_STRLEN, 1); addr 55 mail/ngx_mail.h in_addr_t addr; addr 49 mail/ngx_mail_auth_http_module.c ngx_str_t addr; addr 571 mail/ngx_mail_auth_http_module.c ctx->addr.len = ctx->header_end - ctx->header_start; addr 572 mail/ngx_mail_auth_http_module.c ctx->addr.data = ctx->header_start; addr 747 mail/ngx_mail_auth_http_module.c if (ctx->addr.len == 0 || ctx->port.len == 0) { addr 798 mail/ngx_mail_auth_http_module.c sin->sin_addr.s_addr = ngx_inet_addr(ctx->addr.data, ctx->addr.len); addr 803 mail/ngx_mail_auth_http_module.c ctx->peer.name, &ctx->addr); addr 812 mail/ngx_mail_auth_http_module.c len = ctx->addr.len + 1 + ctx->port.len; addr 823 mail/ngx_mail_auth_http_module.c len = ctx->addr.len; addr 825 mail/ngx_mail_auth_http_module.c ngx_memcpy(peer->name.data, ctx->addr.data, len); addr 29 mail/ngx_mail_handler.c ngx_mail_in_addr_t *addr; addr 85 mail/ngx_mail_handler.c addr = port->addrs; addr 90 mail/ngx_mail_handler.c if (addr[i].addr == sin->sin_addr.s_addr) { addr 95 mail/ngx_mail_handler.c addr_conf = &addr[i].conf; addr 111 mail/ngx_mail_handler.c addr = port->addrs; addr 112 mail/ngx_mail_handler.c addr_conf = &addr[0].conf; addr 87 mail/ngx_mail_smtp_handler.c ctx->addr = sin->sin_addr.s_addr; addr 183 mail/ngx_mail_smtp_handler.c in_addr_t addr; addr 213 mail/ngx_mail_smtp_handler.c addr = ctx->addrs[i]; addr 217 mail/ngx_mail_smtp_handler.c (ntohl(addr) >> 24) & 0xff, addr 218 mail/ngx_mail_smtp_handler.c (ntohl(addr) >> 16) & 0xff, addr 219 mail/ngx_mail_smtp_handler.c (ntohl(addr) >> 8) & 0xff, addr 220 mail/ngx_mail_smtp_handler.c ntohl(addr) & 0xff); addr 222 mail/ngx_mail_smtp_handler.c if (addr == sin->sin_addr.s_addr) { addr 278 os/unix/ngx_files.c fm->addr = mmap(NULL, fm->size, PROT_READ|PROT_WRITE, MAP_SHARED, addr 280 os/unix/ngx_files.c if (fm->addr != MAP_FAILED) { addr 301 os/unix/ngx_files.c if (munmap(fm->addr, fm->size) == -1) { addr 23 os/unix/ngx_files.h void *addr; addr 16 os/unix/ngx_shmem.c shm->addr = (u_char *) mmap(NULL, shm->size, addr 20 os/unix/ngx_shmem.c if (shm->addr == MAP_FAILED) { addr 33 os/unix/ngx_shmem.c if (munmap((void *) shm->addr, shm->size) == -1) { addr 35 os/unix/ngx_shmem.c "munmap(%p, %uz) failed", shm->addr, shm->size); addr 54 os/unix/ngx_shmem.c shm->addr = (u_char *) mmap(NULL, shm->size, PROT_READ|PROT_WRITE, addr 57 os/unix/ngx_shmem.c if (shm->addr == MAP_FAILED) { addr 67 os/unix/ngx_shmem.c return (shm->addr == MAP_FAILED) ? NGX_ERROR : NGX_OK; addr 74 os/unix/ngx_shmem.c if (munmap((void *) shm->addr, shm->size) == -1) { addr 76 os/unix/ngx_shmem.c "munmap(%p, %uz) failed", shm->addr, shm->size); addr 101 os/unix/ngx_shmem.c shm->addr = shmat(id, NULL, 0); addr 103 os/unix/ngx_shmem.c if (shm->addr == (void *) -1) { addr 112 os/unix/ngx_shmem.c return (shm->addr == (void *) -1) ? NGX_ERROR : NGX_OK; addr 119 os/unix/ngx_shmem.c if (shmdt(shm->addr) == -1) { addr 121 os/unix/ngx_shmem.c "shmdt(%p) failed", shm->addr); addr 16 os/unix/ngx_shmem.h u_char *addr;