/Linux-v5.10/net/ipv6/ |
D | datagram.c | 525 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error() 578 put_cmsg(msg, SOL_IPV6, IPV6_PATHMTU, sizeof(mtu_info), &mtu_info); in ipv6_recv_rxpmtu() 609 put_cmsg(msg, SOL_IPV6, IPV6_PKTINFO, in ip6_datagram_recv_common_ctl() 623 put_cmsg(msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in ip6_datagram_recv_specific_ctl() 628 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in ip6_datagram_recv_specific_ctl() 634 put_cmsg(msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in ip6_datagram_recv_specific_ctl() 640 put_cmsg(msg, SOL_IPV6, IPV6_HOPOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl() 666 put_cmsg(msg, SOL_IPV6, IPV6_DSTOPTS, len, ptr); in ip6_datagram_recv_specific_ctl() 672 put_cmsg(msg, SOL_IPV6, IPV6_RTHDR, len, ptr); in ip6_datagram_recv_specific_ctl() 694 put_cmsg(msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in ip6_datagram_recv_specific_ctl() [all …]
|
D | ipv6_sockglue.c | 1000 if (level != SOL_IPV6) in ipv6_setsockopt() 1167 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1171 put_cmsg(&msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1176 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt() 1184 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1188 put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1193 put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in do_ipv6_getsockopt() 1474 if (level != SOL_IPV6) in ipv6_getsockopt()
|
D | raw.c | 1075 case SOL_IPV6: in rawv6_setsockopt() 1136 case SOL_IPV6: in rawv6_getsockopt()
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | ipv6_flowlabel.c | 56 cm->cmsg_level = SOL_IPV6; in do_send() 110 if (cm->cmsg_level != SOL_IPV6 || in do_recv() 160 if (setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req))) in flowlabel_get() 206 if (setsockopt(fdr, SOL_IPV6, IPV6_FLOWINFO, &one, sizeof(one))) in main()
|
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()
|
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()
|
D | nettest.c | 380 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVPKTINFO, &one, sizeof(one)); in set_recvpktinfo_v6() 404 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVERR, &one, sizeof(one)); in set_recverr_v6() 421 level = SOL_IPV6; in set_unicast_if() 619 } else if (cm->cmsg_level == SOL_IPV6 && in get_index_from_cmsg() 691 cm->cmsg_level = SOL_IPV6; in send_msg_cmsg()
|
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()
|
D | udpgso_bench_tx.c | 159 case SOL_IPV6: in flush_cmsg() 531 level = SOL_IPV6; in set_pmtu_discover()
|
D | so_txtime.c | 373 cfg_errq_level = SOL_IPV6; in main()
|
D | msg_zerocopy.c | 419 (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR) || in do_recv_completion()
|
/Linux-v5.10/samples/bpf/ |
D | tcp_tos_reflect_kern.c | 64 bpf_setsockopt(skops, SOL_IPV6, in bpf_basertt()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_tcpbpf_kern.c | 135 rv = bpf_setsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v, in bpf_testcb()
|
/Linux-v5.10/include/linux/ |
D | socket.h | 330 #define SOL_IPV6 41 macro
|
/Linux-v5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 330 #define SOL_IPV6 41 macro
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 168 err = setsockopt(fd, SOL_IPV6, IPV6_RECVORIGDSTADDR, &one, in make_server() 350 (cm->cmsg_level == SOL_IPV6 && in udp_recv_send()
|
/Linux-v5.10/net/sunrpc/ |
D | svcsock.c | 174 cmh->cmsg_level = SOL_IPV6; in svc_set_cmsg_data() 414 case SOL_IPV6: in svc_udp_get_dest_address()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1244 cmsg->cmsg_level = SOL_IPV6; in init_pktinfo()
|
/Linux-v5.10/net/mptcp/ |
D | protocol.c | 2232 ret = tcp_setsockopt(ssock->sk, SOL_IPV6, optname, optval, optlen); in mptcp_setsockopt_v6() 2266 if (level == SOL_IPV6) in mptcp_setsockopt()
|
/Linux-v5.10/net/ipv4/ |
D | ip_sockglue.c | 254 cmsg->cmsg_level == SOL_IPV6 && in ip_cmsg_send()
|
/Linux-v5.10/net/core/ |
D | filter.c | 4806 } else if (level == SOL_IPV6) { in _bpf_setsockopt() 4972 } else if (level == SOL_IPV6) { in _bpf_getsockopt()
|