Searched refs:addr6 (Results 1 – 7 of 7) sorted by relevance
/libuv/test/ |
H A D | test-udp-ipv6.c | 89 const struct sockaddr_in6* addr6; in is_from_client() local 96 addr6 = (struct sockaddr_in6*) addr; in is_from_client() 100 if (addr6->sin6_port != client_port) in is_from_client() 146 struct sockaddr_in6 addr6; in do_test() local 154 ASSERT_OK(uv_ip6_addr("::0", TEST_PORT, &addr6)); in do_test() 159 r = uv_udp_bind(&server, (const struct sockaddr*) &addr6, bind_flags); in do_test() 162 addr6_len = sizeof(addr6); in do_test() 164 (struct sockaddr*) &addr6, in do_test() 166 ASSERT_OK(uv_inet_ntop(addr6.sin6_family, in do_test() 167 &addr6.sin6_addr, in do_test() [all …]
|
H A D | test-ip-name.c | 31 struct sockaddr_in6 addr6; member 40 struct sockaddr_in6* addr6 = &test_addr.addr6; in TEST_IMPL() local 51 ASSERT_OK(uv_ip6_addr("fe80::2acf:daff:fedd:342a", TEST_PORT, addr6)); in TEST_IMPL() 52 ASSERT_OK(uv_ip6_name(addr6, dst, INET6_ADDRSTRLEN)); in TEST_IMPL()
|
H A D | test-connect-unspecified.c | 39 struct sockaddr_in6 addr6; in TEST_IMPL() local 53 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &addr6)); in TEST_IMPL() 56 (const struct sockaddr*) &addr6, in TEST_IMPL()
|
H A D | test-getnameinfo.c | 34 static struct sockaddr_in6 addr6; variable 102 r = uv_ip6_addr(address_ip6, port, &addr6); in TEST_IMPL() 108 (const struct sockaddr*)&addr6, in TEST_IMPL()
|
H A D | echo-server.c | 286 struct sockaddr_in6 addr6; in tcp6_echo_start() local 289 ASSERT_OK(uv_ip6_addr("::1", port, &addr6)); in tcp6_echo_start() 302 r = uv_tcp_bind(&tcpServer, (const struct sockaddr*) &addr6, 0); in tcp6_echo_start()
|
/libuv/src/win/ |
H A D | udp.c | 611 struct sockaddr_in6 addr6; in uv__udp_set_membership6() local 627 if (uv_ip6_addr(interface_addr, 0, &addr6)) in uv__udp_set_membership6() 629 mreq.ipv6mr_interface = addr6.sin6_scope_id; in uv__udp_set_membership6() 717 struct sockaddr_in6 addr6; in uv__udp_set_source_membership6() local 738 err = uv_ip6_addr(interface_addr, 0, &addr6); in uv__udp_set_source_membership6() 741 mreq.gsr_interface = addr6.sin6_scope_id; in uv__udp_set_source_membership6() 773 struct sockaddr_in6 addr6; in uv_udp_set_membership() local 831 struct sockaddr_in6* addr6; in uv_udp_set_multicast_interface() local 834 addr6 = (struct sockaddr_in6*) &addr_st; in uv_udp_set_multicast_interface() 840 addr6->sin6_scope_id = 0; in uv_udp_set_multicast_interface() [all …]
|
/libuv/src/unix/ |
H A D | udp.c | 711 struct sockaddr_in6 addr6; in uv__udp_set_membership6() local 716 if (uv_ip6_addr(interface_addr, 0, &addr6)) in uv__udp_set_membership6() 718 mreq.ipv6mr_interface = addr6.sin6_scope_id; in uv__udp_set_membership6() 809 struct sockaddr_in6 addr6; in uv__udp_set_source_membership6() local 820 err = uv_ip6_addr(interface_addr, 0, &addr6); in uv__udp_set_source_membership6() 823 mreq.gsr_interface = addr6.sin6_scope_id; in uv__udp_set_source_membership6() 920 struct sockaddr_in6 addr6; in uv_udp_set_membership() local 1128 struct sockaddr_in6* addr6; in uv_udp_set_multicast_interface() local 1131 addr6 = (struct sockaddr_in6*) &addr_st; in uv_udp_set_multicast_interface() 1137 addr6->sin6_scope_id = 0; in uv_udp_set_multicast_interface() [all …]
|
Completed in 59 milliseconds