Home
last modified time | relevance | path

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

/dpdk/lib/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()
159 struct msghdr msgh; in send_fd_message() local
165 memset(&msgh, 0, sizeof(msgh)); in send_fd_message()
169 msgh.msg_iov = &iov; in send_fd_message()
170 msgh.msg_iovlen = 1; in send_fd_message()
186 msgh.msg_control = NULL; in send_fd_message()
[all …]
/dpdk/lib/eal/common/
H A Deal_common_proc.c267 struct msghdr msgh; in read_msg() local
272 memset(&msgh, 0, sizeof(msgh)); in read_msg()
276 msgh.msg_name = s; in read_msg()
278 msgh.msg_iov = &iov; in read_msg()
279 msgh.msg_iovlen = 1; in read_msg()
280 msgh.msg_control = control; in read_msg()
680 struct msghdr msgh; in send_msg() local
694 memset(&msgh, 0, sizeof(msgh)); in send_msg()
700 msgh.msg_name = &dst; in send_msg()
702 msgh.msg_iov = &iov; in send_msg()
[all …]
/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_user.c109 struct msghdr msgh; in vhost_user_write() local
115 memset(&msgh, 0, sizeof(msgh)); in vhost_user_write()
121 msgh.msg_iov = &iov; in vhost_user_write()
122 msgh.msg_iovlen = 1; in vhost_user_write()
123 msgh.msg_control = control; in vhost_user_write()
124 msgh.msg_controllen = sizeof(control); in vhost_user_write()
126 cmsg = CMSG_FIRSTHDR(&msgh); in vhost_user_write()
133 r = sendmsg(fd, &msgh, 0); in vhost_user_write()