Home
last modified time | relevance | path

Searched refs:IPPROTO_IPV6 (Results 1 – 25 of 30) sorted by relevance

12

/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/subsys/net/lib/ptp/
Dtransport.c97 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/
Dudp.c84 (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()
Dtcp.c107 (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/
Dnetinet_in_h.c69 zexpect_not_equal(-1, IPPROTO_IPV6); in ZTEST()
/Zephyr-latest/tests/net/mld/src/
Dmain.c1037 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/
Dzperf_common.c160 if (zsock_setsockopt(sock, IPPROTO_IPV6, IPV6_TCLASS, in zperf_prepare_upload_sock()
/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/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp152 if (-1 == setsockopt(serverSocket_, IPPROTO_IPV6, IPV6_V6ONLY, in listen()
/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c164 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE)); in main()
/Zephyr-latest/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c143 res = setsockopt(serv6, IPPROTO_IPV6, IPV6_V6ONLY, &TRUE, sizeof(TRUE));
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c1822 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/
Dnsos_adapt.c136 *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()
Dnsos_sockets.c109 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/
Dmain.c839 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/
Dipip.c150 nexthdr = IPPROTO_IPV6; in interface_send()
159 AF_INET6, IPPROTO_IPV6, in interface_send()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dtcp.c168 (void)setsockopt(data->tcp.sock, IPPROTO_IPV6, in start_tcp_proto()
Dudp.c238 (void)setsockopt(data->udp.sock, IPPROTO_IPV6, in start_udp_proto()
/Zephyr-latest/subsys/net/ip/
Dipv6.h148 ((nexthdr == IPPROTO_IPV6) || (nexthdr == IPPROTO_IPIP)))); in net_ipv6_is_nexthdr_upper_layer()
Dipv4.c413 case IPPROTO_IPV6: in net_ipv4_input()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c990 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/
Dllmnr_responder.c361 (void)set_ttl_hop_limit(sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255); in create_ipv6_answer()
/Zephyr-latest/tests/net/lib/dns_sd/src/
Dmain.c714 (void)zsock_getsockopt(v6, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &ttl, &optlen); in ZTEST()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1022 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()

12