Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/net/sockets/echo_service/src/
Dmain.c127 ret = getsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in setup_tcp_socket()
132 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, optlen); in setup_tcp_socket()
164 ret = getsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in setup_udp_socket()
169 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, optlen); in setup_udp_socket()
/Zephyr-Core-3.7.0/samples/net/sockets/echo/src/
Dsocket_echo.c45 ret = getsockopt(serv, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in main()
51 ret = setsockopt(serv, IPPROTO_IPV6, IPV6_V6ONLY, in main()
/Zephyr-Core-3.7.0/tests/posix/headers/src/
Dnetinet_in_h.c72 zassert_not_equal(-1, IPV6_V6ONLY); in ZTEST()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async/src/
Dsocket_echo.c155 #ifdef IPV6_V6ONLY in main()
160 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE)); in main()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c138 #ifdef IPV6_V6ONLY
143 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE));
/Zephyr-Core-3.7.0/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp149 #ifdef IPV6_V6ONLY in listen()
152 if (-1 == setsockopt(serverSocket_, IPPROTO_IPV6, IPV6_V6ONLY, in listen()
/Zephyr-Core-3.7.0/tests/net/socket/misc/src/
Dmain.c682 ret = zsock_setsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, sizeof(off)); in test_ipv4_mapped_to_ipv6_enabled()
685 ret = zsock_getsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, &optlen); in test_ipv4_mapped_to_ipv6_enabled()
759 ret = zsock_getsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, &optlen); in test_ipv4_mapped_to_ipv6_server()
767 ret = zsock_setsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, sizeof(off)); in test_ipv4_mapped_to_ipv6_server()
770 ret = zsock_getsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, &optlen); in test_ipv4_mapped_to_ipv6_server()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_server/src/
Dudp.c93 (void)setsockopt(data->tcp.sock, IPPROTO_IPV6, IPV6_V6ONLY, in start_udp_proto()
Dtcp.c116 (void)setsockopt(data->tcp.sock, IPPROTO_IPV6, IPV6_V6ONLY, in start_tcp_proto()
/Zephyr-Core-3.7.0/drivers/net/
Dnsos_adapt.c651 return nsos_adapt_getsockopt_int(fd, IPPROTO_IPV6, IPV6_V6ONLY, in nsos_adapt_getsockopt()
756 return nsos_adapt_setsockopt_int(fd, IPPROTO_IPV6, IPV6_V6ONLY, in nsos_adapt_setsockopt()
Dnsos_sockets.c1123 case IPV6_V6ONLY: in nsos_getsockopt()
1292 case IPV6_V6ONLY: in nsos_setsockopt()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dsocket.h1293 #define IPV6_V6ONLY 26 macro
/Zephyr-Core-3.7.0/subsys/net/ip/
DKconfig164 that IPV6_V6ONLY socket option is always on. If you enable this
166 via the IPV6_V6ONLY option at runtime.
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/
Dsockets.c2814 case IPV6_V6ONLY: in zsock_getsockopt_ctx()
3423 case IPV6_V6ONLY: in zsock_setsockopt_ctx()
/Zephyr-Core-3.7.0/doc/releases/
Drelease-notes-3.6.rst894 * Added support for :c:macro:`IPV6_V6ONLY` socket option.