Searched refs:sin6 (Results 1 - 20 of 20) sorted by relevance

/tldk/examples/l4fwd/
H A Dfwdtbl.h40 const struct sockaddr_in6 *sin6; local
49 sin6 = (const struct sockaddr_in6 *)sa;
50 key->k6.port = sin6->sin6_port;
51 key->k6.addr = sin6->sin6_addr;
/tldk/app/nginx/src/core/
H A Dngx_inet.c188 struct sockaddr_in6 *sin6; local
215 sin6 = (struct sockaddr_in6 *) sa;
223 n = ngx_inet6_ntop(sin6->sin6_addr.s6_addr, &text[n], len);
227 ntohs(sin6->sin6_port)) - text;
563 struct sockaddr_in6 *sin6; local
600 sin6 = (struct sockaddr_in6 *) addr->sockaddr;
601 ngx_memcpy(sin6->sin6_addr.s6_addr, inaddr6.s6_addr, 16);
784 struct sockaddr_in6 *sin6; local
948 sin6 = (struct sockaddr_in6 *) &u->sockaddr;
950 if (IN6_IS_ADDR_UNSPECIFIED(&sin6
978 struct sockaddr_in6 *sin6; local
1109 struct sockaddr_in6 *sin6; local
1443 struct sockaddr_in6 *sin6; local
1471 struct sockaddr_in6 *sin6; local
[all...]
H A Dngx_resolver.c929 struct sockaddr_in6 *sin6; local
936 sin6 = NULL;
946 sin6 = (struct sockaddr_in6 *) ctx->addr.sockaddr;
947 hash = ngx_crc32_short(sin6->sin6_addr.s6_addr, 16);
951 rn = ngx_resolver_lookup_addr6(r, &sin6->sin6_addr, hash);
1049 rn->addr6 = sin6->sin6_addr;
3859 struct sockaddr_in6 *sin6; local
3907 sin6 = (struct sockaddr_in6 *) addr->sockaddr;
3911 sin6->sin6_addr.s6_addr[n] & 0xf,
3912 (sin6
4171 struct sockaddr_in6 *sin6; local
[all...]
H A Dngx_connection.c1286 struct sockaddr_in6 *sin6; local
1296 sin6 = (struct sockaddr_in6 *) c->local_sockaddr;
1299 addr |= sin6->sin6_addr.s6_addr[i];
/tldk/app/nginx/src/http/modules/
H A Dngx_http_access_module.c130 struct sockaddr_in6 *sin6; local
147 sin6 = (struct sockaddr_in6 *) r->connection->sockaddr;
148 p = sin6->sin6_addr.s6_addr;
150 if (alcf->rules && IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) {
H A Dngx_http_upstream_ip_hash_module.c102 struct sockaddr_in6 *sin6; local
129 sin6 = (struct sockaddr_in6 *) r->connection->sockaddr;
130 iphp->addr = (u_char *) &sin6->sin6_addr.s6_addr;
H A Dngx_http_userid_filter_module.c464 struct sockaddr_in6 *sin6; local
533 sin6 = (struct sockaddr_in6 *) c->local_sockaddr;
537 *p++ = sin6->sin6_addr.s6_addr[12];
538 *p++ = sin6->sin6_addr.s6_addr[13];
539 *p++ = sin6->sin6_addr.s6_addr[14];
540 *p = sin6->sin6_addr.s6_addr[15];
H A Dngx_http_geoip_module.c299 struct sockaddr_in6 *sin6; local
329 sin6 = (struct sockaddr_in6 *) addr.sockaddr;
330 return sin6->sin6_addr;
/tldk/app/nginx/src/stream/
H A Dngx_stream_access_module.c126 struct sockaddr_in6 *sin6; local
143 sin6 = (struct sockaddr_in6 *) s->connection->sockaddr;
144 p = sin6->sin6_addr.s6_addr;
146 if (ascf->rules && IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) {
H A Dngx_stream_handler.c35 struct sockaddr_in6 *sin6; local
66 sin6 = (struct sockaddr_in6 *) sa;
73 if (ngx_memcmp(&addr6[i].addr6, &sin6->sin6_addr, 16) == 0) {
H A Dngx_stream.c609 struct sockaddr_in6 *sin6; local
623 sin6 = &addr[i].opt.sockaddr.sockaddr_in6;
624 addrs6[i].addr6 = sin6->sin6_addr;
H A Dngx_stream_geoip_module.c268 struct sockaddr_in6 *sin6; local
291 sin6 = (struct sockaddr_in6 *) addr.sockaddr;
292 return sin6->sin6_addr;
H A Dngx_stream_variables.c466 struct sockaddr_in6 *sin6; local
473 sin6 = (struct sockaddr_in6 *) s->connection->sockaddr;
479 v->data = sin6->sin6_addr.s6_addr;
/tldk/app/nginx/src/event/
H A Dngx_event_accept.c540 struct sockaddr_in6 *sin6; local
543 sin6 = (struct sockaddr_in6 *) sockaddr;
544 sin6->sin6_addr = pkt6->ipi6_addr;
783 struct sockaddr_in6 *sin6; local
797 sin6 = (struct sockaddr_in6 *) c->sockaddr;
799 if ((sin6->sin6_addr.s6_addr[n]
H A Dngx_event.c1083 struct sockaddr_in6 *sin6; local
1148 sin6 = (struct sockaddr_in6 *) u.addrs[i].sockaddr;
1149 cidr[i].u.in6.addr = sin6->sin6_addr;
/tldk/app/nginx/src/mail/
H A Dngx_mail.c438 struct sockaddr_in6 *sin6; local
451 sin6 = &addr[i].opt.sockaddr.sockaddr_in6;
452 addrs6[i].addr6 = sin6->sin6_addr;
H A Dngx_mail_handler.c39 struct sockaddr_in6 *sin6; local
69 sin6 = (struct sockaddr_in6 *) sa;
76 if (ngx_memcmp(&addr6[i].addr6, &sin6->sin6_addr, 16) == 0) {
/tldk/app/nginx/src/http/
H A Dngx_http.c1853 struct sockaddr_in6 *sin6; local
1866 sin6 = &addr[i].opt.sockaddr.sockaddr_in6;
1867 addrs6[i].addr6 = sin6->sin6_addr;
H A Dngx_http_variables.c1210 struct sockaddr_in6 *sin6; local
1217 sin6 = (struct sockaddr_in6 *) r->connection->sockaddr;
1223 v->data = sin6->sin6_addr.s6_addr;
H A Dngx_http_request.c209 struct sockaddr_in6 *sin6; local
242 sin6 = (struct sockaddr_in6 *) c->local_sockaddr;
249 if (ngx_memcmp(&addr6[i].addr6, &sin6->sin6_addr, 16) == 0) {

Completed in 27 milliseconds