Lines Matching refs:sin6_addr

209 			if (net_sin6_ptr(&contexts[i].local)->sin6_addr == NULL ||  in check_used_port()
215 net_sin6_ptr(&contexts[i].local)->sin6_addr) || in check_used_port()
217 &net_sin6(local_addr)->sin6_addr))) { in check_used_port()
227 net_sin6_ptr(&contexts[i].local)->sin6_addr) && in check_used_port()
229 &net_sin6(local_addr)->sin6_addr))) { in check_used_port()
244 sin6_addr, in check_used_port()
246 local_addr)->sin6_addr)) { in check_used_port()
720 if (net_sin6_ptr(&context->local)->sin6_addr) { in bind_default()
725 memcpy(&addr6.sin6_addr, net_ipv6_unspecified_address(), in bind_default()
726 sizeof(addr6.sin6_addr)); in bind_default()
872 if (net_ipv6_is_addr_mcast(&addr6->sin6_addr)) { in net_context_bind()
886 maddr = net_if_ipv6_maddr_lookup(&addr6->sin6_addr, in net_context_bind()
894 } else if (net_ipv6_is_addr_unspecified(&addr6->sin6_addr)) { in net_context_bind()
897 &net_sin6(&context->remote)->sin6_addr); in net_context_bind()
905 &addr6->sin6_addr, in net_context_bind()
916 net_sprint_ipv6_addr(&addr6->sin6_addr)); in net_context_bind()
926 net_sin6_ptr(&context->local)->sin6_addr = ptr; in net_context_bind()
1290 struct sockaddr_in6_ptr *)&context->local)->sin6_addr); in net_context_create_ipv6_new()
1292 src = ((struct sockaddr_in6_ptr *)&context->local)->sin6_addr; in net_context_create_ipv6_new()
1373 net_ipv6_is_addr_mcast(&addr6->sin6_addr)) { in net_context_connect()
1378 memcpy(&addr6->sin6_addr, &net_sin6(addr)->sin6_addr, in net_context_connect()
1384 if (!net_ipv6_is_addr_unspecified(&addr6->sin6_addr)) { in net_context_connect()
1408 if (net_sin6_ptr(&context->local)->sin6_addr) { in net_context_connect()
1409 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in net_context_connect()
1410 net_sin6_ptr(&context->local)->sin6_addr); in net_context_connect()
1937 &net_sin6(&context->remote)->sin6_addr); in get_context_mtu()
2086 NULL, &addr6->sin6_addr); in context_setup_udp_packet()
2269 if (net_ipv6_is_addr_unspecified(&addr6->sin6_addr)) { in context_sendto()
2275 if (net_ipv6_is_addr_mcast(&addr6->sin6_addr) && in context_sendto()
2293 &net_sin6(&context->remote)->sin6_addr) && in context_sendto()
2295 iface = net_if_ipv6_select_src_iface(&addr6->sin6_addr); in context_sendto()
2321 net_ipv6_addr_is_v4_mapped(&net_sin6(dst_addr)->sin6_addr)) { in context_sendto()
2327 (struct in_addr *)(&addr6->sin6_addr.s6_addr32[3])); in context_sendto()
2815 if (net_sin6_ptr(&context->local)->sin6_addr) { in recv_udp()
2816 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in recv_udp()
2817 net_sin6_ptr(&context->local)->sin6_addr); in recv_udp()
3391 &net_sin6(&context->remote)->sin6_addr); in set_context_ipv6_mtu()
3777 memcpy(&net_sin6(addr)->sin6_addr, in net_context_get_local_addr()
3778 net_sin6_ptr(&ctx->local)->sin6_addr, in net_context_get_local_addr()