/openbmc/linux/net/ipv6/ |
H A D | datagram.c | 532 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error() 616 put_cmsg(msg, SOL_IPV6, IPV6_PKTINFO, in ip6_datagram_recv_common_ctl() 630 put_cmsg(msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in ip6_datagram_recv_specific_ctl() 635 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in ip6_datagram_recv_specific_ctl() 647 put_cmsg(msg, SOL_IPV6, IPV6_HOPOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl() 673 put_cmsg(msg, SOL_IPV6, IPV6_DSTOPTS, len, ptr); in ip6_datagram_recv_specific_ctl() 679 put_cmsg(msg, SOL_IPV6, IPV6_RTHDR, len, ptr); in ip6_datagram_recv_specific_ctl() 709 put_cmsg(msg, SOL_IPV6, IPV6_2292HOPOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl() 713 put_cmsg(msg, SOL_IPV6, IPV6_2292DSTOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl() 721 put_cmsg(msg, SOL_IPV6, IPV6_2292DSTOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl() [all …]
|
H A D | ipv6_sockglue.c | 1009 if (level != SOL_IPV6) in ipv6_setsockopt() 1180 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1184 put_cmsg(&msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1189 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt() 1197 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1201 put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1206 put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in do_ipv6_getsockopt() 1487 if (level != SOL_IPV6) in ipv6_getsockopt()
|
H A D | raw.c | 1042 case SOL_IPV6: in rawv6_setsockopt() 1103 case SOL_IPV6: in rawv6_getsockopt()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ipv6_flowlabel.c | 79 cm->cmsg_level = SOL_IPV6; in do_send() 136 if (cm->cmsg_level != SOL_IPV6 || in do_recv() 188 if (setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req))) in flowlabel_get() 243 if (setsockopt(fdr, SOL_IPV6, IPV6_FLOWINFO, &one, sizeof(one))) in main() 259 if (setsockopt(fdt, SOL_IPV6, IPV6_FLOWINFO_SEND, &one, in main()
|
H A D | cmsg_sender.c | 248 SOL_IPV6, IPV6_DONTFRAG, &opt.v6.dontfrag); in cs_write_cmsg() 250 SOL_IPV6, IPV6_TCLASS, &opt.v6.tclass); in cs_write_cmsg() 252 SOL_IPV6, IPV6_HOPLIMIT, &opt.v6.hlimit); in cs_write_cmsg() 303 cmsg->cmsg_level = SOL_IPV6; in cs_write_cmsg() 364 (cmsg->cmsg_level == SOL_IPV6 && in cs_read_cmsg() 402 setsockopt(fd, SOL_IPV6, IPV6_DONTFRAG, in ca_set_sockopts() 406 setsockopt(fd, SOL_IPV6, IPV6_TCLASS, in ca_set_sockopts() 410 setsockopt(fd, SOL_IPV6, IPV6_UNICAST_HOPS, in ca_set_sockopts()
|
H A D | ipv6_flowlabel_mgr.c | 61 return setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req)); in flowlabel_get() 71 return setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req)); in flowlabel_put()
|
H A D | nettest.c | 438 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVPKTINFO, &one, sizeof(one)); in set_recvpktinfo_v6() 462 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVERR, &one, sizeof(one)); in set_recverr_v6() 479 level = SOL_IPV6; in set_unicast_if() 537 if (setsockopt(sd, SOL_IPV6, IPV6_FREEBIND, &one, sizeof(one))) { in set_freebind() 601 if (setsockopt(sd, SOL_IPV6, IPV6_TCLASS, &dsfield, in set_dsfield() 923 } else if (cm->cmsg_level == SOL_IPV6 && in get_index_from_cmsg() 995 cm->cmsg_level = SOL_IPV6; in send_msg_cmsg() 1468 level = SOL_IPV6; in config_xfrm_policy()
|
H A D | txtimestamp.c | 323 (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg() 340 } else if (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg() 553 if (setsockopt(fd, SOL_IPV6, IPV6_RECVPKTINFO, in do_test()
|
H A D | udpgso.c | 328 level = SOL_IPV6; in set_pmtu_discover() 347 ret = getsockopt(fd, SOL_IPV6, IPV6_MTU, &mtu, &vallen); in get_path_mtu()
|
H A D | udpgso_bench_tx.c | 160 case SOL_IPV6: in flush_cmsg() 559 level = SOL_IPV6; in set_pmtu_discover()
|
H A D | so_txtime.c | 456 cfg_errq_level = SOL_IPV6; in parse_opts()
|
H A D | msg_zerocopy.c | 422 (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR) || in do_recv_completion()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | sockopt_qos_to_cc.c | 23 if (ctx->level != SOL_IPV6 || ctx->optname != IPV6_TCLASS) in sockopt_qos_to_cc()
|
H A D | test_tcpbpf_kern.c | 114 rv = bpf_setsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v, in bpf_testcb()
|
/openbmc/linux/samples/bpf/ |
H A D | tcp_tos_reflect_kern.c | 64 bpf_setsockopt(skops, SOL_IPV6, in bpf_basertt()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_qos_to_cc.c | 15 err = setsockopt(sock_fd, SOL_IPV6, IPV6_TCLASS, &buf, sizeof(buf)); in run_setsockopt_test()
|
H A D | sk_lookup.c | 166 err = setsockopt(fd, SOL_IPV6, IPV6_RECVORIGDSTADDR, &one, in make_server() 390 (cm->cmsg_level == SOL_IPV6 && in udp_recv_send()
|
/openbmc/linux/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 350 #define SOL_IPV6 41 macro
|
/openbmc/linux/include/linux/ |
H A D | socket.h | 350 #define SOL_IPV6 41 macro
|
/openbmc/linux/net/mptcp/ |
H A D | sockopt.c | 405 ret = tcp_setsockopt(ssk, SOL_IPV6, optname, optval, optlen); in mptcp_setsockopt_v6() 481 if (level == SOL_IPV6) { in mptcp_supported_sockopt() 884 if (level == SOL_IPV6) in mptcp_setsockopt()
|
/openbmc/linux/net/sunrpc/ |
H A D | svcsock.c | 177 cmh->cmsg_level = SOL_IPV6; in svc_set_cmsg_data() 545 case SOL_IPV6: in svc_udp_get_dest_address()
|
/openbmc/qemu/io/ |
H A D | channel-socket.c | 768 cm->cmsg_level != SOL_IPV6 && cm->cmsg_type != IPV6_RECVERR) { in qio_channel_socket_flush()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sock_addr.c | 1019 cmsg->cmsg_level = SOL_IPV6; in init_pktinfo()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_sockglue.c | 256 cmsg->cmsg_level == SOL_IPV6 && in ip_cmsg_send()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 5409 return ipv6_bpf_stub->ipv6_getsockopt(sk, SOL_IPV6, optname, in sol_ipv6_sockopt() 5413 return ipv6_bpf_stub->ipv6_setsockopt(sk, SOL_IPV6, optname, in sol_ipv6_sockopt() 5427 else if (IS_ENABLED(CONFIG_IPV6) && level == SOL_IPV6) in __bpf_setsockopt() 5459 else if (IS_ENABLED(CONFIG_IPV6) && level == SOL_IPV6) in __bpf_getsockopt()
|