Home
last modified time | relevance | path

Searched refs:msg_control (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h69 void *msg_control; member
87 void __user *msg_control; /* ancillary data */ member
130 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
134 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
167 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/Linux-v6.6/include/linux/
Dsocket.h69 void *msg_control; member
87 void __user *msg_control; /* ancillary data */ member
130 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
134 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
167 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/Linux-v6.6/tools/testing/selftests/net/
Dmsg_zerocopy.c174 if (!msg->msg_control) in add_zcopy_cookie()
176 cm = (void *)msg->msg_control; in add_zcopy_cookie()
197 memset(&msg->msg_control, 0, sizeof(msg->msg_control)); in do_sendmsg()
199 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg()
219 msg->msg_control = NULL; in do_sendmsg()
368 msg.msg_control = cmsgbuf; in do_recvmsg_completion()
404 msg.msg_control = control; in do_recv_completion()
Dipv6_flowlabel.c83 msg.msg_control = control; in do_send()
114 msg.msg_control = control; in do_recv()
Dudpgso_bench_tx.c220 msg.msg_control = control; in flush_errqueue_recv()
341 msg.msg_control = control; in send_udp_sendmmsg()
362 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg()
405 msg.msg_control = control; in send_udp_segment()
Dcmsg_sender.c242 msg->msg_control = cbuf; in cs_write_cmsg()
312 msg->msg_control = NULL; in cs_write_cmsg()
338 msg->msg_control = cbuf; in cs_read_cmsg()
Dso_txtime.c92 msg.msg_control = &control; in do_send_one()
170 msg.msg_control = control; in do_recv_errqueue_timeout()
Dtcp_inq.c153 msg.msg_control = cmsgbuf; in main()
/Linux-v6.6/net/core/
Dscm.c221 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg()
245 struct cmsghdr *cm = msg->msg_control; in put_cmsg()
257 msg->msg_control += cmlen; in put_cmsg()
/Linux-v6.6/net/rxrpc/
Doutput.c204 msg.msg_control = NULL; in rxrpc_send_ack_packet()
286 msg.msg_control = NULL; in rxrpc_send_abort_packet()
351 msg.msg_control = NULL; in rxrpc_send_data_packet()
539 msg.msg_control = NULL; in rxrpc_send_conn_abort()
602 msg.msg_control = NULL; in rxrpc_reject_packet()
661 msg.msg_control = NULL; in rxrpc_send_keepalive()
Dlocal_event.c52 msg.msg_control = NULL; in rxrpc_send_version_request()
/Linux-v6.6/tools/testing/selftests/landlock/
Dcommon.h211 .msg_control = &cmsg_rx.buf, in recv_fd()
245 .msg_control = &cmsg_tx.buf, in send_fd()
/Linux-v6.6/samples/seccomp/
Duser-trap.c44 msg.msg_control = buf; in send_fd()
73 msg.msg_control = buf; in recv_fd()
/Linux-v6.6/drivers/net/
Dtap.c637 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control, in tap_get_user() argument
682 if (msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) { in tap_get_user()
754 skb_zcopy_init(skb, msg_control); in tap_get_user()
755 } else if (msg_control) { in tap_get_user()
756 struct ubuf_info *uarg = msg_control; in tap_get_user()
1235 struct tun_msg_ctl *ctl = m->msg_control; in tap_sendmsg()
1256 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
/Linux-v6.6/include/net/
Dcompat.h15 compat_uptr_t msg_control; /* void * */ member
Dscm.h163 if (!msg->msg_control) { in __scm_recv_common()
/Linux-v6.6/net/handshake/
Dalert.c52 msg.msg_control = buf; in tls_alert_send()
/Linux-v6.6/drivers/vhost/
Dnet.c477 msghdr->msg_control = &ctl; in vhost_tx_batch()
778 .msg_control = NULL, in handle_tx_copy()
831 msg.msg_control = NULL; in handle_tx_copy()
868 .msg_control = NULL, in handle_tx_zerocopy()
917 msg.msg_control = &ctl; in handle_tx_zerocopy()
925 msg.msg_control = NULL; in handle_tx_zerocopy()
1124 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx()
1190 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
/Linux-v6.6/io_uring/
Dnet.c68 void __user *msg_control; member
210 sr->msg_control = iomsg->msg.msg_control_user; in io_sendmsg_copy_hdr()
309 kmsg->msg.msg_control_user = sr->msg_control; in io_sendmsg()
334 kmsg->msg.msg_control = NULL; in io_sendmsg()
367 msg.msg_control = NULL; in io_send()
891 msg.msg_control = NULL; in io_recv()
1119 msg.msg_control = NULL; in io_send_zc()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dlwt_reroute.c95 .msg_control = control_buf, in overflow_fq()
/Linux-v6.6/arch/um/os-Linux/drivers/
Dtuntap_user.c98 msg.msg_control = buf; in tuntap_open_tramp()
/Linux-v6.6/fs/afs/
Drxrpc.c364 msg.msg_control = NULL; in afs_make_call()
830 msg.msg_control = NULL; in afs_send_empty_reply()
871 msg.msg_control = NULL; in afs_send_simple_reply()
/Linux-v6.6/arch/um/drivers/
Dmconsole_user.c52 msg.msg_control = NULL; in mconsole_reply_v0()
/Linux-v6.6/include/uapi/linux/
Dtcp.h363 __u64 msg_control; /* ancillary data */ member
/Linux-v6.6/arch/um/os-Linux/
Dfile.c519 msg.msg_control = buf; in os_rcv_fd()
661 .msg_control = u.control, in os_sendmsg_fds()

123