Home
last modified time | relevance | path

Searched refs:msg_controllen (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.3-rc2/net/
A Dcompat.c57 kmsg->msg_controllen = msg->msg_controllen; in __get_compat_msghdr()
122 ((mhdr)->msg_controllen - \
130 msg->msg_controllen) in cmsg_compat_nxthdr()
215 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user_compat_to_kern()
264 cmlen = kmsg->msg_controllen; in put_cmsg_compat()
275 if (kmsg->msg_controllen < cmlen) in put_cmsg_compat()
276 cmlen = kmsg->msg_controllen; in put_cmsg_compat()
278 kmsg->msg_controllen -= cmlen; in put_cmsg_compat()
314 if (msg->msg_controllen < cmlen) in scm_detach_fds_compat()
315 cmlen = msg->msg_controllen; in scm_detach_fds_compat()
[all …]
/linux-6.3-rc2/net/core/
A Dscm.c220 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg()
224 if (msg->msg_controllen < cmlen) { in put_cmsg()
226 cmlen = msg->msg_controllen; in put_cmsg()
252 cmlen = min(CMSG_SPACE(len), msg->msg_controllen); in put_cmsg()
254 msg->msg_controllen -= cmlen; in put_cmsg()
294 if (msg->msg_controllen <= sizeof(struct cmsghdr)) in scm_max_fds()
296 return (msg->msg_controllen - sizeof(struct cmsghdr)) / sizeof(int); in scm_max_fds()
333 if (msg->msg_controllen < cmlen) in scm_detach_fds()
334 cmlen = msg->msg_controllen; in scm_detach_fds()
336 msg->msg_controllen -= cmlen; in scm_detach_fds()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dudpgso_bench_tx.c221 msg.msg_controllen = sizeof(control); in flush_errqueue_recv()
332 size_t msg_controllen = 0; in send_udp_sendmmsg() local
342 msg.msg_controllen = sizeof(control); in send_udp_sendmmsg()
345 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg()
361 if (msg_controllen) { in send_udp_sendmmsg()
363 mmsgs[i].msg_hdr.msg_controllen = msg_controllen; in send_udp_sendmmsg()
395 size_t msg_controllen; in send_udp_segment() local
406 msg.msg_controllen = sizeof(control); in send_udp_segment()
409 msg_controllen = CMSG_SPACE(sizeof(cfg_mss)); in send_udp_segment()
413 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_segment()
[all …]
A Dipv6_flowlabel.c84 msg.msg_controllen = sizeof(control); in do_send()
115 msg.msg_controllen = sizeof(control); in do_recv()
A Dso_txtime.c93 msg.msg_controllen = sizeof(control); in do_send_one()
171 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
219 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
A Dmsg_zerocopy.c198 msg->msg_controllen = CMSG_SPACE(sizeof(cookie)); in do_sendmsg()
220 msg->msg_controllen = 0; in do_sendmsg()
369 msg.msg_controllen = sizeof(cmsgbuf); in do_recvmsg_completion()
405 msg.msg_controllen = sizeof(control); in do_recv_completion()
A Dtimestamping.c171 msg->msg_controllen); in printpacket()
298 msg.msg_controllen = sizeof(control); in recvpacket()
A Dtcp_inq.c154 msg.msg_controllen = sizeof(cmsgbuf); in main()
A Dcmsg_sender.c310 msg->msg_controllen = cmsg_len; in cs_write_cmsg()
339 msg->msg_controllen = cbuf_sz; in cs_read_cmsg()
/linux-6.3-rc2/tools/perf/trace/beauty/include/linux/
A Dsocket.h75 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member
88 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member
130 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
133 ((mhdr)->msg_controllen - \
167 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-6.3-rc2/include/linux/
A Dsocket.h75 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member
88 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member
130 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
133 ((mhdr)->msg_controllen - \
167 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-6.3-rc2/samples/seccomp/
A Duser-trap.c45 msg.msg_controllen = sizeof(buf); in send_fd()
51 msg.msg_controllen = cmsg->cmsg_len; in send_fd()
74 msg.msg_controllen = sizeof(buf); in recv_fd()
/linux-6.3-rc2/net/rxrpc/
A Doutput.c205 msg.msg_controllen = 0; in rxrpc_send_ack_packet()
287 msg.msg_controllen = 0; in rxrpc_send_abort_packet()
352 msg.msg_controllen = 0; in rxrpc_send_data_packet()
540 msg.msg_controllen = 0; in rxrpc_send_conn_abort()
603 msg.msg_controllen = 0; in rxrpc_reject_packet()
662 msg.msg_controllen = 0; in rxrpc_send_keepalive()
A Dlocal_event.c44 msg.msg_controllen = 0; in rxrpc_send_version_request()
/linux-6.3-rc2/tools/testing/selftests/landlock/
A Dcommon.h212 .msg_controllen = sizeof(cmsg_rx.buf), in recv_fd()
246 .msg_controllen = sizeof(cmsg_tx.buf), in send_fd()
/linux-6.3-rc2/include/net/
A Dcompat.h16 compat_size_t msg_controllen; member
A Dscm.h87 if (msg->msg_controllen <= 0) in scm_send()
/linux-6.3-rc2/tools/testing/selftests/net/mptcp/
A Dmptcp_connect.c515 .msg_controllen = sizeof(msg_buf), in do_recvmsg_cmsg()
536 if (msg.msg_controllen && !cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg()
538 (unsigned long)msg.msg_controllen); in do_recvmsg_cmsg()
540 if (msg.msg_controllen == 0 && cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg()
543 if (msg.msg_controllen) in do_recvmsg_cmsg()
A Dmptcp_inq.c340 .msg_controllen = sizeof(msg_buf), in process_one_client()
376 if (msg.msg_controllen == 0) in process_one_client()
/linux-6.3-rc2/io_uring/
A Dnet.c355 msg.msg_controllen = 0; in io_send()
461 iomsg->controllen = msg.msg_controllen; in __io_recvmsg_copy_hdr()
514 iomsg->controllen = msg.msg_controllen; in __io_compat_recvmsg_copy_hdr()
661 kmsg->msg.msg_controllen = kmsg->controllen; in io_recvmsg_prep_multishot()
697 .controllen = kmsg->controllen - kmsg->msg.msg_controllen, in io_recvmsg_multishot()
881 msg.msg_controllen = 0; in io_recv()
1095 msg.msg_controllen = 0; in io_send_zc()
/linux-6.3-rc2/Documentation/networking/
A Dtls.rst145 msg.msg_controllen = sizeof(buf);
151 msg.msg_controllen = cmsg->cmsg_len;
178 msg.msg_controllen = sizeof(cmsg);
/linux-6.3-rc2/arch/um/os-Linux/drivers/
A Dtuntap_user.c99 msg.msg_controllen = sizeof(buf); in tuntap_open_tramp()
/linux-6.3-rc2/fs/afs/
A Drxrpc.c366 msg.msg_controllen = 0; in afs_make_call()
834 msg.msg_controllen = 0; in afs_send_empty_reply()
875 msg.msg_controllen = 0; in afs_send_simple_reply()
/linux-6.3-rc2/arch/um/drivers/
A Dmconsole_user.c53 msg.msg_controllen = 0; in mconsole_reply_v0()
/linux-6.3-rc2/include/uapi/linux/
A Dtcp.h364 __u64 msg_controllen; member

Completed in 40 milliseconds

123