]>
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 | 7 | #include <linux/virtio_config.h> |
b126468e | 8 | #include <linux/types.h> |
b530cc79 | 9 | |
97ee9b02 AK |
10 | /* The feature bitmap for virtio 9P */ |
11 | ||
12 | /* The mount point is specified in a config variable */ | |
13 | #define VIRTIO_9P_MOUNT_TAG 0 | |
14 | ||
15 | struct virtio_9p_config { | |
16 | /* length of the tag name */ | |
17 | __u16 tag_len; | |
18 | /* non-NULL terminated tag name */ | |
19 | __u8 tag[0]; | |
20 | } __attribute__((packed)); | |
21 | ||
b530cc79 | 22 | #endif /* _LINUX_VIRTIO_9P_H */ |