Home
last modified time | relevance | path

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

123

/linux-5.19.10/net/
Dcompat.c60 kmsg->msg_control_user = compat_ptr(msg.msg_control); in __get_compat_msghdr()
118 (struct compat_cmsghdr __user *)((msg)->msg_control) : \
131 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr()
216 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user_compat_to_kern()
230 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in put_cmsg_compat()
279 kmsg->msg_control += cmlen; in put_cmsg_compat()
294 (struct compat_cmsghdr __user *)msg->msg_control; in scm_detach_fds_compat()
318 msg->msg_control += cmlen; in scm_detach_fds_compat()
/linux-5.19.10/tools/perf/trace/beauty/include/linux/
Dsocket.h64 void *msg_control; member
79 void __user *msg_control; /* ancillary data */ member
122 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
126 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
159 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-5.19.10/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-5.19.10/include/linux/
Dsocket.h64 void *msg_control; member
79 void __user *msg_control; /* ancillary data */ member
122 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
126 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
159 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
/linux-5.19.10/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.c60 msg.msg_control = control; in do_send()
91 msg.msg_control = control; in do_recv()
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()
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-5.19.10/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-5.19.10/samples/seccomp/
Duser-trap.c44 msg.msg_control = buf; in send_fd()
73 msg.msg_control = buf; in recv_fd()
/linux-5.19.10/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-5.19.10/include/net/
Dcompat.h15 compat_uptr_t msg_control; /* void * */ member
Dscm.h116 if (!msg->msg_control) { in scm_recv()
/linux-5.19.10/drivers/vhost/
Dnet.c475 msghdr->msg_control = &ctl; in vhost_tx_batch()
776 .msg_control = NULL, in handle_tx_copy()
829 msg.msg_control = NULL; in handle_tx_copy()
866 .msg_control = NULL, in handle_tx_zerocopy()
915 msg.msg_control = &ctl; in handle_tx_zerocopy()
923 msg.msg_control = NULL; in handle_tx_zerocopy()
1117 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx()
1183 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
/linux-5.19.10/samples/bpf/
Dxdpsock_ctrl_proc.c81 msg.msg_control = cmsgbuf; in send_xsks_map_fd()
/linux-5.19.10/arch/um/os-Linux/drivers/
Dtuntap_user.c98 msg.msg_control = buf; in tuntap_open_tramp()
/linux-5.19.10/fs/afs/
Drxrpc.c359 msg.msg_control = NULL; in afs_make_call()
823 msg.msg_control = NULL; in afs_send_empty_reply()
863 msg.msg_control = NULL; in afs_send_simple_reply()
/linux-5.19.10/include/uapi/linux/
Dtcp.h357 __u64 msg_control; /* ancillary data */ member
/linux-5.19.10/arch/um/drivers/
Dmconsole_user.c52 msg.msg_control = NULL; in mconsole_reply_v0()
/linux-5.19.10/arch/um/os-Linux/
Dfile.c519 msg.msg_control = buf; in os_rcv_fd()
661 .msg_control = u.control, in os_sendmsg_fds()
/linux-5.19.10/Documentation/networking/
Dtls.rst144 msg.msg_control = buf;
177 msg.msg_control = cmsg;

123