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.
12 #ifndef _QEMU_9P_PROXY_H
13 #define _QEMU_9P_PROXY_H
15 #define PROXY_MAX_IO_SZ (64 * 1024)
16 #define V9FS_FD_VALID INT_MAX
19 * proxy iovec only support one element and
20 * marsha/unmarshal doesn't do little endian conversion.
22 #define proxy_unmarshal(in_sg, offset, fmt, args...) \
23 v9fs_iov_unmarshal(in_sg, 1, offset, 0, fmt, ##args)
24 #define proxy_marshal(out_sg, offset, fmt, args...) \
25 v9fs_iov_marshal(out_sg, 1, offset, 0, fmt, ##args)
29 char control
[CMSG_SPACE(sizeof(int))];
37 #define PROXY_HDR_SZ (sizeof(ProxyHeader))
76 uint64_t st_atim_nsec
;
78 uint64_t st_mtim_nsec
;
80 uint64_t st_ctim_nsec
;