virtio_9p.h 589 B

12345678910111213141516171819202122
  1. #ifndef _LINUX_VIRTIO_9P_H
  2. #define _LINUX_VIRTIO_9P_H
  3. /* This header is BSD licensed so anyone can use the definitions to implement
  4. * compatible drivers/servers. */
  5. #include <linux/types.h>
  6. #include <linux/virtio_ids.h>
  7. #include <linux/virtio_config.h>
  8. #include <linux/types.h>
  9. /* The feature bitmap for virtio 9P */
  10. /* The mount point is specified in a config variable */
  11. #define VIRTIO_9P_MOUNT_TAG 0
  12. struct virtio_9p_config {
  13. /* length of the tag name */
  14. __u16 tag_len;
  15. /* non-NULL terminated tag name */
  16. __u8 tag[0];
  17. } __attribute__((packed));
  18. #endif /* _LINUX_VIRTIO_9P_H */