/Zephyr-latest/samples/net/sockets/echo_service/src/ |
D | main.c | 123 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/ |
D | socket_echo.c | 45 ret = getsockopt(serv, IPPROTO_IPV6, IPV6_V6ONLY, &opt, &optlen); in main() 51 ret = setsockopt(serv, IPPROTO_IPV6, IPV6_V6ONLY, in main()
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | transport.c | 97 zsock_setsockopt(port->socket[0], IPPROTO_IPV6, in transport_join_multicast() 160 IPPROTO_IPV6, in transport_udp_ipv6_open() 168 if (zsock_setsockopt(socket, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &hops, sizeof(hops))) { in transport_udp_ipv6_open() 173 if (zsock_getsockopt(socket, IPPROTO_IPV6, IPV6_TCLASS, &tclass, &length)) { in transport_udp_ipv6_open() 181 if (zsock_setsockopt(socket, IPPROTO_IPV6, IPV6_TCLASS, &tclass, length)) { in transport_udp_ipv6_open()
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | udp.c | 84 (void)setsockopt(data->udp.sock, IPPROTO_IPV6, in start_udp_proto() 93 (void)setsockopt(data->udp.sock, IPPROTO_IPV6, IPV6_V6ONLY, in start_udp_proto()
|
D | tcp.c | 107 (void)setsockopt(data->tcp.sock, IPPROTO_IPV6, in start_tcp_proto() 116 (void)setsockopt(data->tcp.sock, IPPROTO_IPV6, IPV6_V6ONLY, in start_tcp_proto()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netinet_in_h.c | 69 zexpect_not_equal(-1, IPPROTO_IPV6); in ZTEST()
|
/Zephyr-latest/tests/net/mld/src/ |
D | main.c | 1037 ret = zsock_setsockopt(fd, IPPROTO_IPV6, option, in socket_group_with_index() 1042 ret = zsock_setsockopt(fd, IPPROTO_IPV6, option, in socket_group_with_index() 1048 ret = zsock_setsockopt(fd, IPPROTO_IPV6, option, in socket_group_with_index() 1057 ret = zsock_setsockopt(fd, IPPROTO_IPV6, option, in socket_group_with_index()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_common.c | 160 if (zsock_setsockopt(sock, IPPROTO_IPV6, IPV6_TCLASS, in zperf_prepare_upload_sock()
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 682 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/modules/thrift/src/thrift/transport/ |
D | TSSLServerSocket.cpp | 152 if (-1 == setsockopt(serverSocket_, IPPROTO_IPV6, IPV6_V6ONLY, in listen()
|
/Zephyr-latest/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 164 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE)); in main()
|
/Zephyr-latest/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 143 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE));
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 1822 if (cmsg->cmsg_level == IPPROTO_IPV6 && in run_ancillary_recvmsg_test() 2110 ret = zsock_setsockopt(sock_c, IPPROTO_IPV6, option, in test_check_ttl() 2281 ret = zsock_setsockopt(client_sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &opt, in ZTEST() 2286 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &verify, in ZTEST() 2294 ret = zsock_setsockopt(client_sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &mcast_hops, in ZTEST() 2299 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &verify, in ZTEST() 2347 ret = zsock_setsockopt(client_sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &hops, in ZTEST() 2352 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &verify, in ZTEST() 2477 ret = zsock_setsockopt(sock, IPPROTO_IPV6, IPV6_ADDR_PREFERENCES, in check_ipv6_address_preferences() 2482 ret = zsock_getsockopt(sock, IPPROTO_IPV6, IPV6_ADDR_PREFERENCES, in check_ipv6_address_preferences() [all …]
|
/Zephyr-latest/drivers/net/ |
D | nsos_adapt.c | 136 *proto = IPPROTO_IPV6; in socket_proto_from_nsos_mid() 173 case IPPROTO_IPV6: in socket_proto_to_nsos_mid() 737 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()
|
D | nsos_sockets.c | 109 case IPPROTO_IPV6: in socket_proto_to_nsos_mid() 983 *proto = IPPROTO_IPV6; in socket_proto_from_nsos_mid() 1190 case IPPROTO_IPV6: in nsos_getsockopt() 1359 case IPPROTO_IPV6: in nsos_setsockopt()
|
/Zephyr-latest/tests/net/pmtu/src/ |
D | main.c | 839 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_MTU, &optval, &optlen); in ZTEST() 846 ret = zsock_setsockopt(client_sock, IPPROTO_IPV6, IPV6_MTU, &optval, optlen); in ZTEST() 853 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_MTU, &optval, &optlen); in ZTEST()
|
/Zephyr-latest/subsys/net/l2/virtual/ipip/ |
D | ipip.c | 150 nexthdr = IPPROTO_IPV6; in interface_send() 159 AF_INET6, IPPROTO_IPV6, in interface_send()
|
/Zephyr-latest/samples/net/sockets/echo_client/src/ |
D | tcp.c | 168 (void)setsockopt(data->tcp.sock, IPPROTO_IPV6, in start_tcp_proto()
|
D | udp.c | 238 (void)setsockopt(data->udp.sock, IPPROTO_IPV6, in start_udp_proto()
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv6.h | 148 ((nexthdr == IPPROTO_IPV6) || (nexthdr == IPPROTO_IPIP)))); in net_ipv6_is_nexthdr_upper_layer()
|
D | ipv4.c | 413 case IPPROTO_IPV6: in net_ipv4_input()
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 990 outer = create_outer(attached, AF_INET6, IPPROTO_IPV6, in test_virtual_recv_data_from_tunnel() 1014 inner = create_inner(iface, AF_INET6, IPPROTO_IPV6, in test_virtual_recv_data_from_tunnel() 1024 next_header = IPPROTO_IPV6; in test_virtual_recv_data_from_tunnel()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | llmnr_responder.c | 361 (void)set_ttl_hop_limit(sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255); in create_ipv6_answer()
|
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 714 (void)zsock_getsockopt(v6, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &ttl, &optlen); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_inet.c | 1022 ret = insert_pktinfo(msg, IPPROTO_IPV6, IPV6_RECVPKTINFO, in add_pktinfo() 1981 case IPPROTO_IPV6: in zsock_getsockopt_ctx() 2599 case IPPROTO_IPV6: in zsock_setsockopt_ctx()
|