Blame view

include/linux/virtio_9p.h 589 Bytes
b530cc794   Eric Van Hensbergen   9p: add virtio tr...
1
2
  #ifndef _LINUX_VIRTIO_9P_H
  #define _LINUX_VIRTIO_9P_H
674bfc23c   Rusty Russell   virtio: clarify t...
3
4
  /* This header is BSD licensed so anyone can use the definitions to implement
   * compatible drivers/servers. */
5a19ae4bb   Randy Dunlap   virtio_9p.h: incl...
5
  #include <linux/types.h>
e95646c3e   Christian Borntraeger   virtio: let heade...
6
  #include <linux/virtio_ids.h>
b530cc794   Eric Van Hensbergen   9p: add virtio tr...
7
  #include <linux/virtio_config.h>
b126468e0   Fang Wenqi   virtio_9p.h needs...
8
  #include <linux/types.h>
b530cc794   Eric Van Hensbergen   9p: add virtio tr...
9

97ee9b025   Aneesh Kumar K.V   net/9p: Use the t...
10
11
12
13
14
15
16
17
18
19
20
  /* The feature bitmap for virtio 9P */
  
  /* The mount point is specified in a config variable */
  #define VIRTIO_9P_MOUNT_TAG 0
  
  struct virtio_9p_config {
  	/* length of the tag name */
  	__u16 tag_len;
  	/* non-NULL terminated tag name */
  	__u8 tag[0];
  } __attribute__((packed));
b530cc794   Eric Van Hensbergen   9p: add virtio tr...
21
  #endif /* _LINUX_VIRTIO_9P_H */