Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/sockets/echo_service/src/
Dmain.c123 ret = getsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in setup_tcp_socket()
128 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, optlen); in setup_tcp_socket()
160 ret = getsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in setup_udp_socket()
165 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, &opt, optlen); in setup_udp_socket()
/Zephyr-latest/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-latest/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp149 #ifdef IPV6_V6ONLY in listen()
152 if (-1 == setsockopt(serverSocket_, IPPROTO_IPV6, IPV6_V6ONLY, in listen()
/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c159 #ifdef IPV6_V6ONLY in main()
164 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE)); in main()
/Zephyr-latest/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-latest/tests/posix/headers/src/
Dnetinet_in_h.c87 zexpect_not_equal(-1, IPV6_V6ONLY); in ZTEST()
/Zephyr-latest/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-latest/samples/net/sockets/echo_server/src/
Dudp.c93 (void)setsockopt(data->udp.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-latest/include/zephyr/net/
Dsocket.h1039 #define IPV6_V6ONLY 26 macro
/Zephyr-latest/drivers/net/
Dnsos_adapt.c737 return nsos_adapt_getsockopt_int(fd, IPPROTO_IPV6, IPV6_V6ONLY, in nsos_adapt_getsockopt()
842 return nsos_adapt_setsockopt_int(fd, IPPROTO_IPV6, IPV6_V6ONLY, in nsos_adapt_setsockopt()
Dnsos_sockets.c1192 case IPV6_V6ONLY: in nsos_getsockopt()
1361 case IPV6_V6ONLY: in nsos_setsockopt()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c172 (void)zsock_setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &optval, in http_server_init()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1997 case IPV6_V6ONLY: in zsock_getsockopt_ctx()
2615 case IPV6_V6ONLY: in zsock_setsockopt_ctx()
/Zephyr-latest/subsys/net/ip/
DKconfig180 that IPV6_V6ONLY socket option is always on. If you enable this
182 via the IPV6_V6ONLY option at runtime.
/Zephyr-latest/doc/releases/
Drelease-notes-3.6.rst894 * Added support for :c:macro:`IPV6_V6ONLY` socket option.