Searched refs:srv_addr6 (Results 1 – 1 of 1) sorted by relevance
621 struct sockaddr srv_addr6 = { 0 }; in test_ipv4_mapped_to_ipv6_disabled() local633 srv_addr6.sa_family = AF_INET6; in test_ipv4_mapped_to_ipv6_disabled()634 net_sin6(&srv_addr6)->sin6_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_disabled()636 &net_sin6(&srv_addr6)->sin6_addr); in test_ipv4_mapped_to_ipv6_disabled()651 ret = zsock_bind(sock_s6, &srv_addr6, ADDR_SIZE(AF_INET6)); in test_ipv4_mapped_to_ipv6_disabled()667 struct sockaddr srv_addr6 = { 0 }; in test_ipv4_mapped_to_ipv6_enabled() local682 srv_addr6.sa_family = AF_INET6; in test_ipv4_mapped_to_ipv6_enabled()683 net_sin6(&srv_addr6)->sin6_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_enabled()685 &net_sin6(&srv_addr6)->sin6_addr); in test_ipv4_mapped_to_ipv6_enabled()692 ret = zsock_bind(sock_s6, &srv_addr6, ADDR_SIZE(AF_INET6)); in test_ipv4_mapped_to_ipv6_enabled()[all …]