Searched refs:srv_addr4 (Results 1 – 1 of 1) sorted by relevance
620 struct sockaddr srv_addr4 = { 0 }; in test_ipv4_mapped_to_ipv6_disabled() local627 srv_addr4.sa_family = AF_INET; in test_ipv4_mapped_to_ipv6_disabled()628 net_sin(&srv_addr4)->sin_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_disabled()630 &net_sin(&srv_addr4)->sin_addr); in test_ipv4_mapped_to_ipv6_disabled()642 ret = zsock_bind(sock_s4, &srv_addr4, ADDR_SIZE(AF_INET)); in test_ipv4_mapped_to_ipv6_disabled()666 struct sockaddr srv_addr4 = { 0 }; in test_ipv4_mapped_to_ipv6_enabled() local676 srv_addr4.sa_family = AF_INET; in test_ipv4_mapped_to_ipv6_enabled()677 net_sin(&srv_addr4)->sin_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_enabled()679 &net_sin(&srv_addr4)->sin_addr); in test_ipv4_mapped_to_ipv6_enabled()703 ret = zsock_bind(sock_s4, &srv_addr4, ADDR_SIZE(AF_INET)); in test_ipv4_mapped_to_ipv6_enabled()[all …]