Searched refs:VHOST_USER_HDR_SIZE (Results 1 – 3 of 3) sorted by relevance
| /dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_user.c | 101 #define VHOST_USER_HDR_SIZE offsetof(struct vhost_user_msg, payload.u64) macro 103 (sizeof(struct vhost_user_msg) - VHOST_USER_HDR_SIZE) 119 iov.iov_len = VHOST_USER_HDR_SIZE + msg->size; in vhost_user_write() 146 int ret, sz_hdr = VHOST_USER_HDR_SIZE, sz_payload; in vhost_user_read()
|
| /dpdk/lib/vhost/ |
| H A D | vhost_user.h | 162 #define VHOST_USER_HDR_SIZE offsetof(VhostUserMsg, payload.u64) macro
|
| H A D | vhost_user.c | 2710 ret = read_fd_message(dev->ifname, sockfd, (char *)&ctx->msg, VHOST_USER_HDR_SIZE, in read_vhost_message() 2714 } else if (ret != VHOST_USER_HDR_SIZE) { in read_vhost_message() 2745 VHOST_USER_HDR_SIZE + ctx->msg.size, ctx->fds, ctx->fd_num); in send_vhost_message()
|