/linux-6.3-rc2/tools/testing/selftests/net/ |
A 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()
|
A 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()
|
A 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()
|
A D | ipv6_flowlabel.c | 79 cm->cmsg_level = SOL_IPV6; in do_send() 136 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
|
A D | udpgso_bench_tx.c | 147 switch (cmsg->cmsg_level) { in flush_cmsg() 206 cmsg->cmsg_level); in flush_cmsg() 318 cm->cmsg_level = SOL_SOCKET; in send_ts_cmsg() 382 cm->cmsg_level = SOL_UDP; in send_udp_segment_cmsg()
|
A 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()
|
A D | rxtimestamp.c | 209 if (cmsg->cmsg_level != SOL_SOCKET) in do_recv() 211 cmsg->cmsg_level); in do_recv()
|
A D | timestamping.c | 176 switch (cmsg->cmsg_level) { in printpacket() 252 cmsg->cmsg_level, in printpacket()
|
A D | tcp_inq.c | 167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
|
A D | udpgso_bench_rx.c | 237 if (cmsg->cmsg_level == SOL_UDP in recv_msg()
|
A D | nettest.c | 902 if (cm->cmsg_level == SOL_IP && in get_index_from_cmsg() 909 } else if (cm->cmsg_level == SOL_IPV6 && in get_index_from_cmsg() 970 cm->cmsg_level = SOL_IP; in send_msg_cmsg() 981 cm->cmsg_level = SOL_IPV6; in send_msg_cmsg()
|
A D | csum.c | 692 if (cm->cmsg_level != SOL_PACKET || in recv_verify_packet_csum() 695 cm->cmsg_level, cm->cmsg_type); in recv_verify_packet_csum()
|
/linux-6.3-rc2/net/core/ |
A D | scm.c | 150 if (cmsg->cmsg_level != SOL_SOCKET) in __scm_send() 238 unsafe_put_user(level, &cm->cmsg_level, efault_end); in put_cmsg() 246 cm->cmsg_level = level; in put_cmsg() 326 err = put_user(SOL_SOCKET, &cm->cmsg_level); in scm_detach_fds()
|
/linux-6.3-rc2/net/ |
A D | compat.c | 193 kcmsg->cmsg_level = cmsg.cmsg_level; in cmsghdr_from_user_compat_to_kern() 266 cmhdr.cmsg_level = level; in put_cmsg_compat() 307 err = put_user(SOL_SOCKET, &cm->cmsg_level); in scm_detach_fds_compat()
|
/linux-6.3-rc2/include/net/ |
A D | compat.h | 27 compat_int_t cmsg_level; member
|
/linux-6.3-rc2/arch/um/os-Linux/drivers/ |
A D | tuntap_user.c | 117 if ((cmsg->cmsg_level != SOL_SOCKET) || in tuntap_open_tramp()
|
/linux-6.3-rc2/tools/testing/selftests/landlock/ |
A D | common.h | 251 cmsg->cmsg_level = SOL_SOCKET; in send_fd()
|
/linux-6.3-rc2/arch/um/os-Linux/ |
A 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.3-rc2/samples/seccomp/ |
A D | user-trap.c | 47 cmsg->cmsg_level = SOL_SOCKET; in send_fd()
|
/linux-6.3-rc2/net/sunrpc/ |
A D | svcsock.c | 153 cmh->cmsg_level = SOL_IP; in svc_set_cmsg_data() 166 cmh->cmsg_level = SOL_IPV6; in svc_set_cmsg_data() 400 switch (cmh->cmsg_level) { in svc_udp_get_dest_address() 524 cmh->cmsg_level, cmh->cmsg_type); in svc_udp_recvfrom()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | tls.rst | 147 cmsg->cmsg_level = SOL_TLS; 190 if (cmsg->cmsg_level == SOL_TLS &&
|
/linux-6.3-rc2/net/rxrpc/ |
A D | sendmsg.c | 482 cmsg->cmsg_level, cmsg->cmsg_type, len); in rxrpc_sendmsg_cmsg() 484 if (cmsg->cmsg_level != SOL_RXRPC) in rxrpc_sendmsg_cmsg()
|
/linux-6.3-rc2/net/rds/ |
A 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.3-rc2/tools/perf/trace/beauty/include/linux/ |
A D | socket.h | 106 int cmsg_level; /* originating protocol */ member
|
/linux-6.3-rc2/include/linux/ |
A D | socket.h | 106 int cmsg_level; /* originating protocol */ member
|