slirp: Adding IPv6 address for DNS relay
[qemu/ar7.git] / fsdev / 9p-iov-marshal.h
blob6bccbfb41a2cbd69b01dce2e75ac08d8fc7c36f3
1 #ifndef _QEMU_9P_IOV_MARSHAL_H
2 #define _QEMU_9P_IOV_MARSHAL_H
4 #include "9p-marshal.h"
7 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset,
8 const void *src, size_t size);
9 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset,
10 int bswap, const char *fmt, ...);
11 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset,
12 int bswap, const char *fmt, ...);
14 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset,
15 int bswap, const char *fmt, va_list ap);
16 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset,
17 int bswap, const char *fmt, va_list ap);
18 #endif