Home
last modified time | relevance | path

Searched refs:sock_s4 (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
609 sock_s4 = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_disabled()
610 zassert_true(sock_s4 >= 0, "socket open failed"); in test_ipv4_mapped_to_ipv6_disabled()
612 ret = zsock_bind(sock_s4, &srv_addr4, ADDR_SIZE(AF_INET)); in test_ipv4_mapped_to_ipv6_disabled()
615 ret = zsock_listen(sock_s4, 1); in test_ipv4_mapped_to_ipv6_disabled()
624 ret = zsock_close(sock_s4); in test_ipv4_mapped_to_ipv6_disabled()
635 int sock_s4, sock_s6; in test_ipv4_mapped_to_ipv6_enabled() local
669 sock_s4 = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_enabled()
670 zassert_true(sock_s4 >= 0, "socket open failed"); in test_ipv4_mapped_to_ipv6_enabled()
673 ret = zsock_bind(sock_s4, &srv_addr4, ADDR_SIZE(AF_INET)); in test_ipv4_mapped_to_ipv6_enabled()
[all …]