Searched refs:msg_control (Results 1 - 25 of 63) sorted by relevance

123

/linux-master/include/net/
H A Dcompat.h15 compat_uptr_t msg_control; /* void * */ member in struct:compat_msghdr
H A Dscm.h165 if (!msg->msg_control) {
/linux-master/tools/testing/vsock/
H A Dmsg_zerocopy_common.c35 msg.msg_control = cmsg_data;
H A Dvsock_test_zerocopy.c332 msg.msg_control = cmsg_data;
/linux-master/include/linux/
H A Dsocket.h65 * recv* side when msg_control_is_user is set, msg_control is the kernel
69 void *msg_control; member in union:msghdr::__anon454
87 void __user *msg_control; /* ancillary data */ member in struct:user_msghdr
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);
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h65 * recv* side when msg_control_is_user is set, msg_control is the kernel
69 void *msg_control; member in union:msghdr::__anon515
87 void __user *msg_control; /* ancillary data */ member in struct:user_msghdr
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);
/linux-master/tools/testing/selftests/net/
H A Dmsg_zerocopy.c174 if (!msg->msg_control)
176 cm = (void *)msg->msg_control;
197 memset(&msg->msg_control, 0, sizeof(msg->msg_control));
199 msg->msg_control = (struct cmsghdr *)ckbuf;
219 msg->msg_control = NULL;
368 msg.msg_control = cmsgbuf;
404 msg.msg_control = control;
H A Dipv6_flowlabel.c83 msg.msg_control = control;
114 msg.msg_control = control;
H A Dtcp_inq.c153 msg.msg_control = cmsgbuf;
H A Dudpgso_bench_tx.c220 msg.msg_control = control;
341 msg.msg_control = control;
362 mmsgs[i].msg_hdr.msg_control = control;
405 msg.msg_control = control;
H A Dcmsg_sender.c250 msg->msg_control = cbuf;
320 msg->msg_control = NULL;
346 msg->msg_control = cbuf;
H A Dso_txtime.c92 msg.msg_control = &control;
173 msg.msg_control = control;
/linux-master/net/rxrpc/
H A Dlocal_event.c52 msg.msg_control = NULL;
H A Doutput.c194 msg.msg_control = NULL;
289 msg.msg_control = NULL;
459 msg.msg_control = NULL;
538 msg.msg_control = NULL;
601 msg.msg_control = NULL;
660 msg.msg_control = NULL;
/linux-master/net/handshake/
H A Dalert.c52 msg.msg_control = buf;
/linux-master/samples/seccomp/
H A Duser-trap.c45 msg.msg_control = buf;
76 msg.msg_control = buf;
/linux-master/tools/testing/selftests/landlock/
H A Dcommon.h171 .msg_control = &cmsg_rx.buf,
205 .msg_control = &cmsg_tx.buf,
/linux-master/net/core/
H A Dscm.c232 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) {
256 struct cmsghdr *cm = msg->msg_control;
268 msg->msg_control += cmlen;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_reroute.c96 .msg_control = control_buf,
/linux-master/io_uring/
H A Dnet.c69 void __user *msg_control; member in struct:io_sr_msg
253 unsafe_get_user(msg->msg_control, &sr->umsg->msg_control, ua_end);
318 /* save msg_control as sys_sendmsg() overwrites it */
319 sr->msg_control = iomsg->msg.msg_control_user;
435 kmsg->msg.msg_control_user = sr->msg_control;
460 kmsg->msg.msg_control = NULL;
489 msg.msg_control = NULL;
948 msg.msg_control = NULL;
1178 msg.msg_control
[all...]
/linux-master/drivers/net/
H A Dtap.c637 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control, argument
682 if (msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) {
754 skb_zcopy_init(skb, msg_control);
755 } else if (msg_control) {
756 struct ubuf_info *uarg = msg_control;
1235 struct tun_msg_ctl *ctl = m->msg_control;
1256 struct sk_buff *skb = m->msg_control;
/linux-master/drivers/vhost/
H A Dnet.c475 msghdr->msg_control = &ctl;
746 .msg_control = NULL,
799 msg.msg_control = NULL;
836 .msg_control = NULL,
875 /* use msg_control to pass vhost zerocopy ubuf info to skb */
885 msg.msg_control = &ctl;
893 msg.msg_control = NULL;
1092 .msg_control = NULL, /* FIXME: get and handle RX aux data. */
1158 msg.msg_control = vhost_net_buf_consume(&nvq->rxq);
/linux-master/arch/um/drivers/
H A Dmconsole_user.c52 msg.msg_control = NULL;
/linux-master/arch/um/os-Linux/drivers/
H A Dtuntap_user.c98 msg.msg_control = buf;
/linux-master/arch/um/os-Linux/
H A Dfile.c519 msg.msg_control = buf;
661 .msg_control = u.control,

Completed in 401 milliseconds

123