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