Home
last modified time | relevance | path

Searched refs:cmsg_level (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/net/
A Dcmsg_sender.c230 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 Dtxtimestamp.c318 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 Dmsg_zerocopy.c178 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 Dipv6_flowlabel.c79 cm->cmsg_level = SOL_IPV6; in do_send()
136 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
A Dudpgso_bench_tx.c147 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 Dso_txtime.c100 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 Drxtimestamp.c209 if (cmsg->cmsg_level != SOL_SOCKET) in do_recv()
211 cmsg->cmsg_level); in do_recv()
A Dtimestamping.c176 switch (cmsg->cmsg_level) { in printpacket()
252 cmsg->cmsg_level, in printpacket()
A Dtcp_inq.c167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
A Dudpgso_bench_rx.c237 if (cmsg->cmsg_level == SOL_UDP in recv_msg()
A Dnettest.c902 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 Dcsum.c692 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 Dscm.c150 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 Dcompat.c193 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 Dcompat.h27 compat_int_t cmsg_level; member
/linux-6.3-rc2/arch/um/os-Linux/drivers/
A Dtuntap_user.c117 if ((cmsg->cmsg_level != SOL_SOCKET) || in tuntap_open_tramp()
/linux-6.3-rc2/tools/testing/selftests/landlock/
A Dcommon.h251 cmsg->cmsg_level = SOL_SOCKET; in send_fd()
/linux-6.3-rc2/arch/um/os-Linux/
A Dfile.c535 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 Duser-trap.c47 cmsg->cmsg_level = SOL_SOCKET; in send_fd()
/linux-6.3-rc2/net/sunrpc/
A Dsvcsock.c153 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 Dtls.rst147 cmsg->cmsg_level = SOL_TLS;
190 if (cmsg->cmsg_level == SOL_TLS &&
/linux-6.3-rc2/net/rxrpc/
A Dsendmsg.c482 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 Dsend.c906 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 Dsocket.h106 int cmsg_level; /* originating protocol */ member
/linux-6.3-rc2/include/linux/
A Dsocket.h106 int cmsg_level; /* originating protocol */ member

Completed in 46 milliseconds

12