Home
last modified time | relevance | path

Searched refs:msgh (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/lib/librte_vhost/
H A Dsocket.c106 struct msghdr msgh; in read_fd_message() local
114 memset(&msgh, 0, sizeof(msgh)); in read_fd_message()
118 msgh.msg_iov = &iov; in read_fd_message()
119 msgh.msg_iovlen = 1; in read_fd_message()
120 msgh.msg_control = control; in read_fd_message()
158 struct msghdr msgh; in send_fd_message() local
164 memset(&msgh, 0, sizeof(msgh)); in send_fd_message()
168 msgh.msg_iov = &iov; in send_fd_message()
169 msgh.msg_iovlen = 1; in send_fd_message()
185 msgh.msg_control = NULL; in send_fd_message()
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_proc.c268 struct msghdr msgh; in read_msg() local
273 memset(&msgh, 0, sizeof(msgh)); in read_msg()
277 msgh.msg_name = s; in read_msg()
279 msgh.msg_iov = &iov; in read_msg()
280 msgh.msg_iovlen = 1; in read_msg()
281 msgh.msg_control = control; in read_msg()
665 struct msghdr msgh; in send_msg() local
679 memset(&msgh, 0, sizeof(msgh)); in send_msg()
685 msgh.msg_name = &dst; in send_msg()
687 msgh.msg_iov = &iov; in send_msg()
[all …]
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_user.c57 struct msghdr msgh; in vhost_user_write() local
63 memset(&msgh, 0, sizeof(msgh)); in vhost_user_write()
69 msgh.msg_iov = &iov; in vhost_user_write()
70 msgh.msg_iovlen = 1; in vhost_user_write()
71 msgh.msg_control = control; in vhost_user_write()
72 msgh.msg_controllen = sizeof(control); in vhost_user_write()
74 cmsg = CMSG_FIRSTHDR(&msgh); in vhost_user_write()
81 r = sendmsg(fd, &msgh, 0); in vhost_user_write()