Searched refs:sock_c6 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 708 int sock_c4, sock_c6, sock_s6, new_sock; in test_ipv4_mapped_to_ipv6_server() local 818 sock_c6 = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_server() 819 zassert_true(sock_c6 >= 0, "socket open failed"); in test_ipv4_mapped_to_ipv6_server() 821 ret = zsock_connect(sock_c6, &connect_addr6, ADDR_SIZE(AF_INET6)); in test_ipv4_mapped_to_ipv6_server() 831 ret = zsock_recv(sock_c6, buf, sizeof(buf), 0); in test_ipv4_mapped_to_ipv6_server() 834 ret = zsock_close(sock_c6); in test_ipv4_mapped_to_ipv6_server()
|