/Linux-v5.4/include/linux/ |
D | socket.h | 53 void *msg_control; /* ancillary data */ member 64 void __user *msg_control; /* ancillary data */ member 104 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 108 ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 141 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 175 if (!msg->msg_control) in add_zcopy_cookie() 177 cm = (void *)msg->msg_control; in add_zcopy_cookie() 198 memset(&msg->msg_control, 0, sizeof(msg->msg_control)); in do_sendmsg() 200 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg() 220 msg->msg_control = NULL; in do_sendmsg() 369 msg.msg_control = cmsgbuf; in do_recvmsg_completion() 405 msg.msg_control = control; in do_recv_completion()
|
D | ipv6_flowlabel.c | 60 msg.msg_control = control; in do_send() 91 msg.msg_control = control; in do_recv()
|
D | udpgso_bench_tx.c | 219 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()
|
D | tcp_inq.c | 153 msg.msg_control = cmsgbuf; in main()
|
D | so_txtime.c | 73 msg.msg_control = &control; in do_send_one()
|
D | udpgso_bench_rx.c | 227 msg.msg_control = control; in recv_msg()
|
/Linux-v5.4/net/ |
D | compat.c | 59 kmsg->msg_control = compat_ptr(msg.msg_control); in get_compat_msghdr() 101 (struct compat_cmsghdr __user *)((msg)->msg_control) : \ 108 ((char *)(ucmsg) - (char *)(mhdr)->msg_control))) 114 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr() 198 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user_compat_to_kern() 212 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in put_cmsg_compat() 261 kmsg->msg_control += cmlen; in put_cmsg_compat() 268 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in scm_detach_fds_compat() 306 kmsg->msg_control += cmlen; in scm_detach_fds_compat()
|
D | socket.c | 1939 msg.msg_control = NULL; in __sys_sendto() 1999 msg.msg_control = NULL; in __sys_recvfrom() 2194 kmsg->msg_control = (void __force *)msg.msg_control; in copy_msghdr_from_user() 2272 ctl_buf = msg_sys->msg_control; in ___sys_sendmsg() 2289 (void __user __force *)msg_sys->msg_control, in ___sys_sendmsg() 2292 msg_sys->msg_control = ctl_buf; in ___sys_sendmsg() 2472 cmsg_ptr = (unsigned long)msg_sys->msg_control; in ___sys_recvmsg() 2497 err = __put_user((unsigned long)msg_sys->msg_control - cmsg_ptr, in ___sys_recvmsg() 2500 err = __put_user((unsigned long)msg_sys->msg_control - cmsg_ptr, in ___sys_recvmsg()
|
/Linux-v5.4/net/core/ |
D | scm.c | 216 = (__force struct cmsghdr __user *)msg->msg_control; in put_cmsg() 244 msg->msg_control += cmlen; in put_cmsg() 281 = (__force struct cmsghdr __user*)msg->msg_control; in scm_detach_fds() 340 msg->msg_control += cmlen; in scm_detach_fds()
|
/Linux-v5.4/include/net/ |
D | compat.h | 17 compat_uptr_t msg_control; /* void * */ member
|
D | scm.h | 116 if (!msg->msg_control) { in scm_recv()
|
/Linux-v5.4/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 138 msgh.msg_control = &cmsg_b; in sendtosocket() 191 msgh.msg_control = &cmsg_b; in receivefromsocket()
|
/Linux-v5.4/net/rxrpc/ |
D | output.c | 157 msg.msg_control = NULL; in rxrpc_send_ack_packet() 283 msg.msg_control = NULL; in rxrpc_send_abort_packet() 364 msg.msg_control = NULL; in rxrpc_send_data_packet() 561 msg.msg_control = NULL; in rxrpc_reject_packets() 630 msg.msg_control = NULL; in rxrpc_send_keepalive()
|
D | local_event.c | 43 msg.msg_control = NULL; in rxrpc_send_version_request()
|
D | conn_event.c | 57 msg.msg_control = NULL; in rxrpc_conn_retransmit_call() 218 msg.msg_control = NULL; in rxrpc_abort_connection()
|
/Linux-v5.4/samples/seccomp/ |
D | user-trap.c | 44 msg.msg_control = buf; in send_fd() 73 msg.msg_control = buf; in recv_fd()
|
/Linux-v5.4/drivers/net/ |
D | tap.c | 622 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control, in tap_get_user() argument 666 if (msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) { in tap_get_user() 727 skb_shinfo(skb)->destructor_arg = msg_control; in tap_get_user() 730 } else if (msg_control) { in tap_get_user() 731 struct ubuf_info *uarg = msg_control; in tap_get_user() 1214 struct tun_msg_ctl *ctl = m->msg_control; in tap_sendmsg() 1234 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
|
/Linux-v5.4/drivers/vhost/ |
D | net.c | 474 msghdr->msg_control = &ctl; in vhost_tx_batch() 766 .msg_control = NULL, in handle_tx_copy() 819 msg.msg_control = NULL; in handle_tx_copy() 855 .msg_control = NULL, in handle_tx_zerocopy() 904 msg.msg_control = &ctl; in handle_tx_zerocopy() 912 msg.msg_control = NULL; in handle_tx_zerocopy() 1104 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx() 1170 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
|
/Linux-v5.4/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 98 msg.msg_control = buf; in tuntap_open_tramp()
|
/Linux-v5.4/arch/um/os-Linux/ |
D | file.c | 515 msg.msg_control = buf; in os_rcv_fd() 648 .msg_control = u.control, in os_sendmsg_fds()
|
/Linux-v5.4/Documentation/networking/ |
D | tls.rst | 144 msg.msg_control = buf; 177 msg.msg_control = cmsg;
|
/Linux-v5.4/arch/um/drivers/ |
D | mconsole_user.c | 52 msg.msg_control = NULL; in mconsole_reply_v0()
|
/Linux-v5.4/fs/afs/ |
D | rxrpc.c | 437 msg.msg_control = NULL; in afs_make_call() 912 msg.msg_control = NULL; in afs_send_empty_reply() 952 msg.msg_control = NULL; in afs_send_simple_reply()
|
/Linux-v5.4/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 289 msg.msg_control = ctrl; in recv_errmsg() 512 msg.msg_control = control; in do_test()
|