Home
last modified time | relevance | path

Searched refs:sock_s6 (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c589 int sock_s4, sock_s6; in test_ipv4_mapped_to_ipv6_disabled() local
618 sock_s6 = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_disabled()
619 zassert_true(sock_s6 >= 0, "socket open failed"); in test_ipv4_mapped_to_ipv6_disabled()
621 ret = zsock_bind(sock_s6, &srv_addr6, ADDR_SIZE(AF_INET6)); in test_ipv4_mapped_to_ipv6_disabled()
626 ret = zsock_close(sock_s6); in test_ipv4_mapped_to_ipv6_disabled()
635 int sock_s4, sock_s6; in test_ipv4_mapped_to_ipv6_enabled() local
659 sock_s6 = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_enabled()
660 zassert_true(sock_s6 >= 0, "socket open failed"); in test_ipv4_mapped_to_ipv6_enabled()
662 ret = zsock_bind(sock_s6, &srv_addr6, ADDR_SIZE(AF_INET6)); in test_ipv4_mapped_to_ipv6_enabled()
665 ret = zsock_listen(sock_s6, 1); in test_ipv4_mapped_to_ipv6_enabled()
[all …]