Searched refs:sin (Results 1 - 23 of 23) sorted by relevance

/tldk/app/nginx/src/core/
H A Dngx_inet.c185 struct sockaddr_in *sin; local
198 sin = (struct sockaddr_in *) sa;
199 p = (u_char *) &sin->sin_addr;
203 p[0], p[1], p[2], p[3], ntohs(sin->sin_port));
560 struct sockaddr_in *sin; local
606 sin = (struct sockaddr_in *) addr->sockaddr;
607 sin->sin_addr.s_addr = inaddr;
782 struct sockaddr_in *sin; local
788 sin = (struct sockaddr_in *) &u->sockaddr;
789 sin
1108 struct sockaddr_in *sin; local
1255 struct sockaddr_in *sin; local
1441 struct sockaddr_in *sin; local
1469 struct sockaddr_in *sin; local
[all...]
H A Dngx_resolver.h211 struct sockaddr_in sin; member in struct:ngx_resolver_ctx_s
H A Dngx_resolver.c385 temp->addr.sockaddr = (struct sockaddr *) &temp->sin;
387 ngx_memzero(&temp->sin, sizeof(struct sockaddr_in));
388 temp->sin.sin_family = AF_INET;
389 temp->sin.sin_addr.s_addr = addr;
658 ctx->addr.sockaddr = (struct sockaddr *) &ctx->sin;
660 ngx_memzero(&ctx->sin, sizeof(struct sockaddr_in));
661 ctx->sin.sin_family = AF_INET;
662 ctx->sin.sin_addr.s_addr = rn->u.addr;
925 struct sockaddr_in *sin; local
961 sin
3857 struct sockaddr_in *sin; local
4167 struct sockaddr_in *sin; local
[all...]
H A Dngx_connection.c1283 struct sockaddr_in *sin; local
1312 sin = (struct sockaddr_in *) c->local_sockaddr;
1313 addr = sin->sin_addr.s_addr;
/tldk/app/nginx/src/event/
H A Dngx_event_accept.c506 struct sockaddr_in *sin; local
509 sin = (struct sockaddr_in *) sockaddr;
510 sin->sin_addr = *addr;
522 struct sockaddr_in *sin;
525 sin = (struct sockaddr_in *) sockaddr;
526 sin->sin_addr = pkt->ipi_addr;
779 struct sockaddr_in *sin; local
815 sin = (struct sockaddr_in *) c->sockaddr;
816 if ((sin->sin_addr.s_addr & cidr[i].u.in.mask)
H A Dngx_event.c1081 struct sockaddr_in *sin; local
1155 sin = (struct sockaddr_in *) u.addrs[i].sockaddr;
1156 cidr[i].u.in.addr = sin->sin_addr.s_addr;
/tldk/app/nginx/src/http/modules/
H A Dngx_http_upstream_ip_hash_module.c100 struct sockaddr_in *sin; local
122 sin = (struct sockaddr_in *) r->connection->sockaddr;
123 iphp->addr = (u_char *) &sin->sin_addr.s_addr;
H A Dngx_http_geoip_module.c244 struct sockaddr_in *sin; local
284 sin = (struct sockaddr_in *) addr.sockaddr;
285 return ntohl(sin->sin_addr.s_addr);
298 struct sockaddr_in *sin; local
316 sin = (struct sockaddr_in *) addr.sockaddr;
317 addr4 = ntohl(sin->sin_addr.s_addr);
H A Dngx_http_access_module.c125 struct sockaddr_in *sin; local
139 sin = (struct sockaddr_in *) r->connection->sockaddr;
140 return ngx_http_access_inet(r, alcf, sin->sin_addr.s_addr);
H A Dngx_http_userid_filter_module.c460 struct sockaddr_in *sin; local
545 sin = (struct sockaddr_in *) c->local_sockaddr;
546 ctx->uid_set[0] = sin->sin_addr.s_addr;
H A Dngx_http_geo_module.c181 struct sockaddr_in *sin; local
219 sin = (struct sockaddr_in *) addr.sockaddr;
220 inaddr = ntohl(sin->sin_addr.s_addr);
248 struct sockaddr_in *sin; local
281 sin = (struct sockaddr_in *) addr.sockaddr;
282 inaddr = ntohl(sin->sin_addr.s_addr);
/tldk/app/nginx/src/stream/
H A Dngx_stream_geoip_module.c221 struct sockaddr_in *sin; local
254 sin = (struct sockaddr_in *) addr.sockaddr;
255 return ntohl(sin->sin_addr.s_addr);
267 struct sockaddr_in *sin; local
278 sin = (struct sockaddr_in *) addr.sockaddr;
279 addr4 = ntohl(sin->sin_addr.s_addr);
H A Dngx_stream_access_module.c121 struct sockaddr_in *sin; local
135 sin = (struct sockaddr_in *) s->connection->sockaddr;
136 return ngx_stream_access_inet(s, ascf, sin->sin_addr.s_addr);
H A Dngx_stream_handler.c30 struct sockaddr_in *sin; local
84 sin = (struct sockaddr_in *) sa;
91 if (addr[i].addr == sin->sin_addr.s_addr) {
H A Dngx_stream.c559 struct sockaddr_in *sin; local
573 sin = &addr[i].opt.sockaddr.sockaddr_in;
574 addrs[i].addr = sin->sin_addr.s_addr;
H A Dngx_stream_geo_module.c172 struct sockaddr_in *sin; local
210 sin = (struct sockaddr_in *) addr.sockaddr;
211 inaddr = ntohl(sin->sin_addr.s_addr);
239 struct sockaddr_in *sin; local
272 sin = (struct sockaddr_in *) addr.sockaddr;
273 inaddr = ntohl(sin->sin_addr.s_addr);
H A Dngx_stream_variables.c464 struct sockaddr_in *sin; local
485 sin = (struct sockaddr_in *) s->connection->sockaddr;
491 v->data = (u_char *) &sin->sin_addr;
/tldk/app/nginx/src/mail/
H A Dngx_mail.c389 struct sockaddr_in *sin; local
402 sin = &addr[i].opt.sockaddr.sockaddr_in;
403 addrs[i].addr = sin->sin_addr.s_addr;
H A Dngx_mail_handler.c31 struct sockaddr_in *sin; local
87 sin = (struct sockaddr_in *) sa;
94 if (addr[i].addr == sin->sin_addr.s_addr) {
/tldk/app/nginx/src/http/
H A Dngx_http.c1788 struct sockaddr_in *sin; local
1801 sin = &addr[i].opt.sockaddr.sockaddr_in;
1802 addrs[i].addr = sin->sin_addr.s_addr;
H A Dngx_http_variables.c1208 struct sockaddr_in *sin; local
1229 sin = (struct sockaddr_in *) r->connection->sockaddr;
1235 v->data = (u_char *) &sin->sin_addr;
H A Dngx_http_core_module.c2907 struct sockaddr_in *sin; local
2991 sin = &lsopt.sockaddr.sockaddr_in;
2993 sin->sin_family = AF_INET;
2995 sin->sin_port = htons(80);
2997 sin->sin_port = htons((getuid() == 0) ? 80 : 8000);
2999 sin->sin_addr.s_addr = INADDR_ANY;
H A Dngx_http_request.c203 struct sockaddr_in *sin; local
260 sin = (struct sockaddr_in *) c->local_sockaddr;
267 if (addr[i].addr == sin->sin_addr.s_addr) {

Completed in 45 milliseconds