/Linux-v4.19/include/linux/ |
D | socket.h | 52 void *msg_control; /* ancillary data */ member 63 void __user *msg_control; /* ancillary data */ member 103 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 107 ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 140 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/Linux-v4.19/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 | tcp_inq.c | 163 msg.msg_control = cmsgbuf; in main()
|
D | udpgso_bench_tx.c | 226 msg.msg_control = control; in send_udp_segment()
|
/Linux-v4.19/net/core/ |
D | scm.c | 219 = (__force struct cmsghdr __user *)msg->msg_control; in put_cmsg() 247 msg->msg_control += cmlen; in put_cmsg() 258 = (__force struct cmsghdr __user*)msg->msg_control; in scm_detach_fds() 317 msg->msg_control += cmlen; in scm_detach_fds()
|
/Linux-v4.19/net/ |
D | compat.c | 58 kmsg->msg_control = compat_ptr(msg.msg_control); in get_compat_msghdr() 99 (struct compat_cmsghdr __user *)((msg)->msg_control) : \ 106 ((char *)(ucmsg) - (char *)(mhdr)->msg_control))) 112 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr() 196 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user_compat_to_kern() 210 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in put_cmsg_compat() 259 kmsg->msg_control += cmlen; in put_cmsg_compat() 266 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in scm_detach_fds_compat() 304 kmsg->msg_control += cmlen; in scm_detach_fds_compat()
|
D | socket.c | 1775 msg.msg_control = NULL; in __sys_sendto() 1835 msg.msg_control = NULL; in __sys_recvfrom() 2000 kmsg->msg_control = (void __force *)msg.msg_control; in copy_msghdr_from_user() 2077 ctl_buf = msg_sys->msg_control; in ___sys_sendmsg() 2094 (void __user __force *)msg_sys->msg_control, in ___sys_sendmsg() 2097 msg_sys->msg_control = ctl_buf; in ___sys_sendmsg() 2270 cmsg_ptr = (unsigned long)msg_sys->msg_control; in ___sys_recvmsg() 2295 err = __put_user((unsigned long)msg_sys->msg_control - cmsg_ptr, in ___sys_recvmsg() 2298 err = __put_user((unsigned long)msg_sys->msg_control - cmsg_ptr, in ___sys_recvmsg()
|
/Linux-v4.19/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-v4.19/net/rxrpc/ |
D | output.c | 146 msg.msg_control = NULL; in rxrpc_send_ack_packet() 272 msg.msg_control = NULL; in rxrpc_send_abort_packet() 354 msg.msg_control = NULL; in rxrpc_send_data_packet() 537 msg.msg_control = NULL; in rxrpc_reject_packets() 606 msg.msg_control = NULL; in rxrpc_send_keepalive()
|
D | local_event.c | 47 msg.msg_control = NULL; in rxrpc_send_version_request()
|
D | conn_event.c | 61 msg.msg_control = NULL; in rxrpc_conn_retransmit_call() 220 msg.msg_control = NULL; in rxrpc_abort_connection()
|
/Linux-v4.19/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-v4.19/drivers/net/ |
D | tap.c | 666 if (m && m->msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) { in tap_get_user() 727 skb_shinfo(skb)->destructor_arg = m->msg_control; in tap_get_user() 730 } else if (m && m->msg_control) { in tap_get_user() 731 struct ubuf_info *uarg = m->msg_control; in tap_get_user() 1160 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
|
D | tun.c | 1698 void *msg_control, struct iov_iter *from, in tun_get_user() argument 1755 if (msg_control) { in tun_get_user() 1872 skb_shinfo(skb)->destructor_arg = msg_control; in tun_get_user() 1875 } else if (msg_control) { in tun_get_user() 1876 struct ubuf_info *uarg = msg_control; in tun_get_user() 2362 ret = tun_get_user(tun, tfile, m->msg_control, &m->msg_iter, in tun_sendmsg() 2374 void *ptr = m->msg_control; in tun_recvmsg()
|
/Linux-v4.19/drivers/vhost/ |
D | net.c | 552 .msg_control = NULL, in handle_tx_copy() 619 .msg_control = NULL, in handle_tx_zerocopy() 667 msg.msg_control = ubuf; in handle_tx_zerocopy() 673 msg.msg_control = NULL; in handle_tx_zerocopy() 907 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx() 970 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
|
/Linux-v4.19/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 98 msg.msg_control = buf; in tuntap_open_tramp()
|
/Linux-v4.19/Documentation/networking/ |
D | tls.txt | 126 msg.msg_control = buf; 157 msg.msg_control = cmsg;
|
/Linux-v4.19/fs/afs/ |
D | rxrpc.c | 406 msg.msg_control = NULL; in afs_make_call() 829 msg.msg_control = NULL; in afs_send_empty_reply() 868 msg.msg_control = NULL; in afs_send_simple_reply()
|
/Linux-v4.19/arch/um/drivers/ |
D | mconsole_user.c | 52 msg.msg_control = NULL; in mconsole_reply_v0()
|
/Linux-v4.19/tools/testing/selftests/networking/timestamping/ |
D | rxtimestamp.c | 189 hdr.msg_control = cmsg_buf; in do_recv()
|
D | timestamping.c | 298 msg.msg_control = &control; in recvpacket()
|
D | txtimestamp.c | 255 msg.msg_control = ctrl; in recv_errmsg()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1041 hdr.msg_control = &control4; in sendmsg_to_server() 1044 hdr.msg_control = &control6; in sendmsg_to_server()
|
/Linux-v4.19/arch/um/os-Linux/ |
D | file.c | 514 msg.msg_control = buf; in os_rcv_fd()
|