Home
last modified time | relevance | path

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

123

/linux-6.1.9/net/
Dcompat.c56 kmsg->msg_control_user = compat_ptr(msg->msg_control); in __get_compat_msghdr()
115 (struct compat_cmsghdr __user *)((msg)->msg_control) : \
128 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr()
213 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user_compat_to_kern()
227 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in put_cmsg_compat()
276 kmsg->msg_control += cmlen; in put_cmsg_compat()
291 (struct compat_cmsghdr __user *)msg->msg_control; in scm_detach_fds_compat()
315 msg->msg_control += cmlen; in scm_detach_fds_compat()
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h66 void *msg_control; member
84 void __user *msg_control; /* ancillary data */ member
127 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
131 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
164 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-6.1.9/include/linux/
Dsocket.h66 void *msg_control; member
84 void __user *msg_control; /* ancillary data */ member
127 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
131 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
164 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-6.1.9/net/core/
Dscm.c220 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg()
242 struct cmsghdr *cm = msg->msg_control; in put_cmsg()
251 msg->msg_control += cmlen; in put_cmsg()
300 (__force struct cmsghdr __user *)msg->msg_control; in scm_detach_fds()
333 msg->msg_control += cmlen; in scm_detach_fds()
/linux-6.1.9/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()
Dudpgso_bench_tx.c219 msg.msg_control = control; in flush_errqueue_recv()
325 msg.msg_control = control; in send_udp_sendmmsg()
346 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg()
389 msg.msg_control = control; in send_udp_segment()
Dipv6_flowlabel.c83 msg.msg_control = control; in do_send()
114 msg.msg_control = control; in do_recv()
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()
Dudpgso_bench_rx.c230 msg.msg_control = control; in recv_msg()
Dtxtimestamp.c384 msg.msg_control = ctrl; in recv_errmsg()
625 msg.msg_control = control; in do_test()
/linux-6.1.9/net/rxrpc/
Doutput.c203 msg.msg_control = NULL; in rxrpc_send_ack_packet()
312 msg.msg_control = NULL; in rxrpc_send_abort_packet()
397 msg.msg_control = NULL; in rxrpc_send_data_packet()
575 msg.msg_control = NULL; in rxrpc_reject_packets()
644 msg.msg_control = NULL; in rxrpc_send_keepalive()
Dlocal_event.c43 msg.msg_control = NULL; in rxrpc_send_version_request()
Dconn_event.c57 msg.msg_control = NULL; in rxrpc_conn_retransmit_call()
218 msg.msg_control = NULL; in rxrpc_abort_connection()
/linux-6.1.9/samples/seccomp/
Duser-trap.c44 msg.msg_control = buf; in send_fd()
73 msg.msg_control = buf; in recv_fd()
/linux-6.1.9/drivers/net/
Dtap.c630 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control, in tap_get_user() argument
675 if (msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) { in tap_get_user()
747 skb_zcopy_init(skb, msg_control); in tap_get_user()
748 } else if (msg_control) { in tap_get_user()
749 struct ubuf_info *uarg = msg_control; in tap_get_user()
1214 struct tun_msg_ctl *ctl = m->msg_control; in tap_sendmsg()
1235 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
/linux-6.1.9/include/net/
Dcompat.h15 compat_uptr_t msg_control; /* void * */ member
Dscm.h116 if (!msg->msg_control) { in scm_recv()
/linux-6.1.9/drivers/vhost/
Dnet.c476 msghdr->msg_control = &ctl; in vhost_tx_batch()
777 .msg_control = NULL, in handle_tx_copy()
830 msg.msg_control = NULL; in handle_tx_copy()
867 .msg_control = NULL, in handle_tx_zerocopy()
916 msg.msg_control = &ctl; in handle_tx_zerocopy()
924 msg.msg_control = NULL; in handle_tx_zerocopy()
1118 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx()
1184 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
/linux-6.1.9/arch/um/os-Linux/drivers/
Dtuntap_user.c98 msg.msg_control = buf; in tuntap_open_tramp()
/linux-6.1.9/fs/afs/
Drxrpc.c363 msg.msg_control = NULL; in afs_make_call()
826 msg.msg_control = NULL; in afs_send_empty_reply()
866 msg.msg_control = NULL; in afs_send_simple_reply()
/linux-6.1.9/include/uapi/linux/
Dtcp.h357 __u64 msg_control; /* ancillary data */ member
/linux-6.1.9/arch/um/drivers/
Dmconsole_user.c52 msg.msg_control = NULL; in mconsole_reply_v0()
/linux-6.1.9/arch/um/os-Linux/
Dfile.c519 msg.msg_control = buf; in os_rcv_fd()
661 .msg_control = u.control, in os_sendmsg_fds()

123