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.
13 #ifndef QEMU_9P_PROXY_H
14 #define QEMU_9P_PROXY_H
16 #define PROXY_MAX_IO_SZ (64 * 1024)
17 #define V9FS_FD_VALID INT_MAX
20 * proxy iovec only support one element and
21 * marsha/unmarshal doesn't do little endian conversion.
23 #define proxy_unmarshal(in_sg, offset, fmt, args...) \
24 v9fs_iov_unmarshal(in_sg, 1, offset, 0, fmt, ##args)
25 #define proxy_marshal(out_sg, offset, fmt, args...) \
26 v9fs_iov_marshal(out_sg, 1, offset, 0, fmt, ##args)
30 char control
[CMSG_SPACE(sizeof(int))];
38 #define PROXY_HDR_SZ (sizeof(ProxyHeader))
77 uint64_t st_atim_nsec
;
79 uint64_t st_mtim_nsec
;
81 uint64_t st_ctim_nsec
;