Home
last modified time | relevance | path

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

1234

/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/fping/fping/
H A D0001-fping-Initialize-msghdr-struct-in-a-portable-way.patch29 - &msg_control,
30 - sizeof(msg_control),
38 + recv_msghdr.msg_control = &msg_control;
39 + recv_msghdr.msg_controllen = sizeof(msg_control);
/openbmc/qemu/contrib/ivshmem-server/
H A Divshmem-server.c40 } msg_control; in ivshmem_server_send_one_msg() local
53 memset(&msg_control, 0, sizeof(msg_control)); in ivshmem_server_send_one_msg()
54 msg.msg_control = &msg_control; in ivshmem_server_send_one_msg()
55 msg.msg_controllen = sizeof(msg_control); in ivshmem_server_send_one_msg()
/openbmc/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h69 void *msg_control; member
87 void __user *msg_control; /* ancillary data */ member
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); in cmsg_nxthdr()
/openbmc/linux/include/linux/
H A Dsocket.h69 void *msg_control; member
87 void __user *msg_control; /* ancillary data */ member
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); in cmsg_nxthdr()
/openbmc/linux/tools/testing/selftests/net/
H A Dmsg_zerocopy.c176 if (!msg->msg_control) in add_zcopy_cookie()
178 cm = (void *)msg->msg_control; in add_zcopy_cookie()
199 memset(&msg->msg_control, 0, sizeof(msg->msg_control)); in do_sendmsg()
201 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg()
222 msg->msg_control = NULL; in do_sendmsg()
371 msg.msg_control = cmsgbuf; in do_recvmsg_completion()
407 msg.msg_control = control; in do_recv_completion()
H A Dipv6_flowlabel.c83 msg.msg_control = control; in do_send()
114 msg.msg_control = control; in do_recv()
H A Dudpgso_bench_tx.c220 msg.msg_control = control; in flush_errqueue_recv()
341 msg.msg_control = control; in send_udp_sendmmsg()
362 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg()
405 msg.msg_control = control; in send_udp_segment()
H A 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()
H A Dtcp_inq.c153 msg.msg_control = cmsgbuf; in main()
/openbmc/qemu/contrib/ivshmem-client/
H A Divshmem-client.c34 } msg_control; in ivshmem_client_read_one_msg() local
43 msg.msg_control = &msg_control; in ivshmem_client_read_one_msg()
44 msg.msg_controllen = sizeof(msg_control); in ivshmem_client_read_one_msg()
/openbmc/linux/net/core/
H A Dscm.c227 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg()
251 struct cmsghdr *cm = msg->msg_control; in put_cmsg()
263 msg->msg_control += cmlen; in put_cmsg()
/openbmc/linux/tools/testing/selftests/landlock/
H A Dcommon.h211 .msg_control = &cmsg_rx.buf, in recv_fd()
245 .msg_control = &cmsg_tx.buf, in send_fd()
/openbmc/linux/net/rxrpc/
H A Doutput.c204 msg.msg_control = NULL; in rxrpc_send_ack_packet()
286 msg.msg_control = NULL; in rxrpc_send_abort_packet()
351 msg.msg_control = NULL; in rxrpc_send_data_packet()
537 msg.msg_control = NULL; in rxrpc_send_conn_abort()
600 msg.msg_control = NULL; in rxrpc_reject_packet()
659 msg.msg_control = NULL; in rxrpc_send_keepalive()
H A Dlocal_event.c52 msg.msg_control = NULL; in rxrpc_send_version_request()
/openbmc/linux/samples/seccomp/
H A Duser-trap.c44 msg.msg_control = buf; in send_fd()
73 msg.msg_control = buf; in recv_fd()
/openbmc/linux/include/net/
H A Dcompat.h15 compat_uptr_t msg_control; /* void * */ member
/openbmc/qemu/crypto/
H A Dafalg.c103 g_free(afalg->msg->msg_control); in qcrypto_afalg_comm_free()
/openbmc/linux/net/handshake/
H A Dalert.c52 msg.msg_control = buf; in tls_alert_send()
/openbmc/linux/drivers/net/
H A Dtap.c637 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control, in tap_get_user() argument
682 if (msg_control && sock_flag(&q->sk, SOCK_ZEROCOPY)) { in tap_get_user()
754 skb_zcopy_init(skb, msg_control); in tap_get_user()
755 } else if (msg_control) { in tap_get_user()
756 struct ubuf_info *uarg = msg_control; in tap_get_user()
1240 struct tun_msg_ctl *ctl = m->msg_control; in tap_sendmsg()
1261 struct sk_buff *skb = m->msg_control; in tap_recvmsg()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/
H A D0001-Initialize-msghdr-struct-in-a-portable-way.patch33 + h.msg_control = ctrl;
/openbmc/qemu/fsdev/
H A Dvirtfs-proxy-helper.c209 union MsgControl msg_control; in send_fd() local
223 msg.msg_control = &msg_control; in send_fd()
224 msg.msg_controllen = sizeof(msg_control); in send_fd()
226 cmsg = &msg_control.cmsg; in send_fd()
/openbmc/linux/io_uring/
H A Dnet.c69 void __user *msg_control; member
317 sr->msg_control = iomsg->msg.msg_control_user; in io_sendmsg_copy_hdr()
416 kmsg->msg.msg_control_user = sr->msg_control; in io_sendmsg()
441 kmsg->msg.msg_control = NULL; in io_sendmsg()
474 msg.msg_control = NULL; in io_send()
947 msg.msg_control = NULL; in io_recv()
1176 msg.msg_control = NULL; in io_send_zc()
1277 kmsg->msg.msg_control_user = sr->msg_control; in io_sendmsg_zc()
/openbmc/linux/drivers/vhost/
H A Dnet.c477 msghdr->msg_control = &ctl; in vhost_tx_batch()
778 .msg_control = NULL, in handle_tx_copy()
831 msg.msg_control = NULL; in handle_tx_copy()
868 .msg_control = NULL, in handle_tx_zerocopy()
917 msg.msg_control = &ctl; in handle_tx_zerocopy()
925 msg.msg_control = NULL; in handle_tx_zerocopy()
1124 .msg_control = NULL, /* FIXME: get and handle RX aux data. */ in handle_rx()
1190 msg.msg_control = vhost_net_buf_consume(&nvq->rxq); in handle_rx()
/openbmc/qemu/net/
H A Dl2tpv3.c240 message.msg_control = NULL; in net_l2tpv3_receive_dgram_iov()
283 message.msg_control = NULL; in net_l2tpv3_receive_dgram()
488 msgvec->msg_hdr.msg_control = NULL; in build_l2tpv3_vector()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_reroute.c95 .msg_control = control_buf, in overflow_fq()

1234