]>
git.proxmox.com Git - mirror_qemu.git/blob - hw/9pfs/9p-proxy.h
4 * Copyright IBM, Corp. 2011
7 * M. Mohan Kumar <mohan@in.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 * NOTE: The 9p 'proxy' backend is deprecated (since QEMU 8.1) and will be
15 * removed in a future version of QEMU!
18 #ifndef QEMU_9P_PROXY_H
19 #define QEMU_9P_PROXY_H
21 #define PROXY_MAX_IO_SZ (64 * 1024)
22 #define V9FS_FD_VALID INT_MAX
25 * proxy iovec only support one element and
26 * marsha/unmarshal doesn't do little endian conversion.
28 #define proxy_unmarshal(in_sg, offset, fmt, args...) \
29 v9fs_iov_unmarshal(in_sg, 1, offset, 0, fmt, ##args)
30 #define proxy_marshal(out_sg, offset, fmt, args...) \
31 v9fs_iov_marshal(out_sg, 1, offset, 0, fmt, ##args)
35 char control
[CMSG_SPACE(sizeof(int))];
43 #define PROXY_HDR_SZ (sizeof(ProxyHeader))
82 uint64_t st_atim_nsec
;
84 uint64_t st_mtim_nsec
;
86 uint64_t st_ctim_nsec
;