/linux-6.1.9/tools/testing/selftests/net/ |
D | cmsg_sender.c | 230 cmsg->cmsg_level = level; in ca_write_cmsg_u32() 273 cmsg->cmsg_level = SOL_SOCKET; in cs_write_cmsg() 291 cmsg->cmsg_level = SOL_SOCKET; in cs_write_cmsg() 303 cmsg->cmsg_level = SOL_IPV6; in cs_write_cmsg() 355 if (cmsg->cmsg_level == SOL_SOCKET && in cs_read_cmsg() 362 if ((cmsg->cmsg_level == SOL_IP && in cs_read_cmsg() 364 (cmsg->cmsg_level == SOL_IPV6 && in cs_read_cmsg()
|
D | txtimestamp.c | 318 if (cm->cmsg_level == SOL_SOCKET && in __recv_errmsg_cmsg() 321 } else if ((cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg() 323 (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg() 325 (cm->cmsg_level == SOL_PACKET && in __recv_errmsg_cmsg() 335 } else if (cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg() 340 } else if (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg() 347 cm->cmsg_level, cm->cmsg_type); in __recv_errmsg_cmsg() 629 cmsg->cmsg_level = SOL_SOCKET; in do_test()
|
D | msg_zerocopy.c | 178 cm->cmsg_level = SOL_RDS; in add_zcopy_cookie() 378 if (cmsg->cmsg_level == SOL_RDS && in do_recvmsg_completion() 387 cmsg->cmsg_level, cmsg->cmsg_type); in do_recvmsg_completion() 418 if (!((cm->cmsg_level == SOL_IP && cm->cmsg_type == IP_RECVERR) || in do_recv_completion() 419 (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR) || in do_recv_completion() 420 (cm->cmsg_level == SOL_PACKET && cm->cmsg_type == PACKET_TX_TIMESTAMP))) in do_recv_completion() 422 cm->cmsg_level, cm->cmsg_type); in do_recv_completion()
|
D | udpgso_bench_tx.c | 146 switch (cmsg->cmsg_level) { in flush_cmsg() 205 cmsg->cmsg_level); in flush_cmsg() 302 cm->cmsg_level = SOL_SOCKET; in send_ts_cmsg() 366 cm->cmsg_level = SOL_UDP; in send_udp_segment_cmsg()
|
D | ipv6_flowlabel.c | 79 cm->cmsg_level = SOL_IPV6; in do_send() 136 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
|
D | so_txtime.c | 100 cm->cmsg_level = SOL_SOCKET; in do_send_one() 185 if (cm->cmsg_level != cfg_errq_level || in do_recv_errqueue_timeout() 188 cm->cmsg_level, cm->cmsg_type); in do_recv_errqueue_timeout()
|
D | rxtimestamp.c | 209 if (cmsg->cmsg_level != SOL_SOCKET) in do_recv() 211 cmsg->cmsg_level); in do_recv()
|
D | timestamping.c | 176 switch (cmsg->cmsg_level) { in printpacket() 252 cmsg->cmsg_level, in printpacket()
|
D | tcp_inq.c | 167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
|
D | udpgso_bench_rx.c | 238 if (cmsg->cmsg_level == SOL_UDP in recv_msg()
|
D | nettest.c | 871 if (cm->cmsg_level == SOL_IP && in get_index_from_cmsg() 878 } else if (cm->cmsg_level == SOL_IPV6 && in get_index_from_cmsg() 939 cm->cmsg_level = SOL_IP; in send_msg_cmsg() 950 cm->cmsg_level = SOL_IPV6; in send_msg_cmsg()
|
/linux-6.1.9/net/core/ |
D | scm.c | 150 if (cmsg->cmsg_level != SOL_SOCKET) in __scm_send() 236 unsafe_put_user(level, &cm->cmsg_level, efault_end); in put_cmsg() 244 cm->cmsg_level = level; in put_cmsg() 324 err = put_user(SOL_SOCKET, &cm->cmsg_level); in scm_detach_fds()
|
/linux-6.1.9/net/ |
D | compat.c | 192 kcmsg->cmsg_level = cmsg.cmsg_level; in cmsghdr_from_user_compat_to_kern() 265 cmhdr.cmsg_level = level; in put_cmsg_compat() 306 err = put_user(SOL_SOCKET, &cm->cmsg_level); in scm_detach_fds_compat()
|
/linux-6.1.9/include/net/ |
D | compat.h | 27 compat_int_t cmsg_level; member
|
/linux-6.1.9/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 117 if ((cmsg->cmsg_level != SOL_SOCKET) || in tuntap_open_tramp()
|
/linux-6.1.9/arch/um/os-Linux/ |
D | file.c | 535 if ((cmsg->cmsg_level != SOL_SOCKET) || in os_rcv_fd() 670 cmsg->cmsg_level = SOL_SOCKET; in os_sendmsg_fds()
|
/linux-6.1.9/samples/seccomp/ |
D | user-trap.c | 47 cmsg->cmsg_level = SOL_SOCKET; in send_fd()
|
/linux-6.1.9/net/sunrpc/ |
D | svcsock.c | 152 cmh->cmsg_level = SOL_IP; in svc_set_cmsg_data() 165 cmh->cmsg_level = SOL_IPV6; in svc_set_cmsg_data() 400 switch (cmh->cmsg_level) { in svc_udp_get_dest_address() 523 cmh->cmsg_level, cmh->cmsg_type); in svc_udp_recvfrom()
|
/linux-6.1.9/Documentation/networking/ |
D | tls.rst | 147 cmsg->cmsg_level = SOL_TLS; 190 if (cmsg->cmsg_level == SOL_TLS &&
|
/linux-6.1.9/tools/testing/selftests/landlock/ |
D | base_test.c | 304 cmsg->cmsg_level = SOL_SOCKET; in TEST()
|
/linux-6.1.9/net/rxrpc/ |
D | sendmsg.c | 512 cmsg->cmsg_level, cmsg->cmsg_type, len); in rxrpc_sendmsg_cmsg() 514 if (cmsg->cmsg_level != SOL_RXRPC) in rxrpc_sendmsg_cmsg()
|
/linux-6.1.9/net/rds/ |
D | send.c | 906 if (cmsg->cmsg_level != SOL_RDS) in rds_rm_size() 995 if (cmsg->cmsg_level != SOL_RDS) in rds_cmsg_send() 1087 if (cmsg->cmsg_level != SOL_RDS) in rds_rdma_bytes()
|
/linux-6.1.9/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 103 int cmsg_level; /* originating protocol */ member
|
/linux-6.1.9/include/linux/ |
D | socket.h | 103 int cmsg_level; /* originating protocol */ member
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 389 if ((cm->cmsg_level == SOL_IP && in udp_recv_send() 391 (cm->cmsg_level == SOL_IPV6 && in udp_recv_send() 397 cm->cmsg_level, cm->cmsg_type); in udp_recv_send()
|