MCPcopy Create free account
hub / github.com/F-Stack/f-stack / send_vhost_message

Function send_vhost_message

dpdk/lib/vhost/vhost_user.c:2917–2925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2915}
2916
2917static int
2918send_vhost_message(struct virtio_net *dev, int sockfd, struct vhu_msg_context *ctx)
2919{
2920 if (!ctx)
2921 return 0;
2922
2923 return send_fd_message(dev->ifname, sockfd, (char *)&ctx->msg,
2924 VHOST_USER_HDR_SIZE + ctx->msg.size, ctx->fds, ctx->fd_num);
2925}
2926
2927static int
2928send_vhost_reply(struct virtio_net *dev, int sockfd, struct vhu_msg_context *ctx)

Callers 3

send_vhost_replyFunction · 0.85
vhost_user_iotlb_missFunction · 0.85

Calls 1

send_fd_messageFunction · 0.85

Tested by

no test coverage detected