91 dprintf(2,
"received %d bytes upcall data: processing upcall\n",
length);
106 dprintf(2,
"time=%ld version=%d xid=%d opcode=%s session=0x%x open_state=0x%x\n",
126 if (
op &&
op->parse) {
129 eprintf(
"parsing of upcall '%s' failed with %d.\n",
147 eprintf(
"upcall '%s' missing handle function!\n",
156#pragma warning (disable : 4706)
164 unsigned char *orig_buf =
buffer;
181 if (
op &&
op->marshall) {
193 if (
op &&
op->cancel)
int safe_write(unsigned char **pos, uint32_t *remaining, void *src, uint32_t src_len)
int safe_read(unsigned char **pos, uint32_t *remaining, void *dest, uint32_t dest_len)
void eprintf(LPCSTR format,...)
const char * opcode2string(DWORD opcode)
void print_hexbuf(int level, unsigned char *title, unsigned char *buf, int len)
#define INVALID_HANDLE_VALUE
#define ERROR_NOT_SUPPORTED
static const WCHAR version[]
GLuint GLsizei GLsizei * length
void nfs41_root_ref(IN nfs41_root *root)
void nfs41_root_deref(IN nfs41_root *root)
void nfs41_open_state_deref(IN nfs41_open_state *state)
void nfs41_open_state_ref(IN nfs41_open_state *state)
nfs41_updowncall_list upcall
const nfs41_upcall_op nfs41_op_close
const nfs41_upcall_op nfs41_op_readdir
void upcall_marshall(IN nfs41_upcall *upcall, OUT unsigned char *buffer, IN uint32_t length, OUT uint32_t *length_out)
const nfs41_upcall_op nfs41_op_open
int upcall_parse(IN unsigned char *buffer, IN uint32_t length, OUT nfs41_upcall *upcall)
const nfs41_upcall_op nfs41_op_setacl
void upcall_cleanup(IN nfs41_upcall *upcall)
const nfs41_upcall_op nfs41_op_getexattr
static const nfs41_upcall_op * g_upcall_op_table[]
const nfs41_upcall_op nfs41_op_mount
const nfs41_upcall_op nfs41_op_setattr
const nfs41_upcall_op nfs41_op_symlink
const nfs41_upcall_op nfs41_op_unlock
const nfs41_upcall_op nfs41_op_setexattr
const nfs41_upcall_op nfs41_op_volume
const nfs41_upcall_op nfs41_op_lock
int upcall_handle(IN nfs41_upcall *upcall)
static const uint32_t g_upcall_op_table_size
const nfs41_upcall_op nfs41_op_getattr
const nfs41_upcall_op nfs41_op_write
const nfs41_upcall_op nfs41_op_read
const nfs41_upcall_op nfs41_op_unmount
const nfs41_upcall_op nfs41_op_getacl
void upcall_cancel(IN nfs41_upcall *upcall)
#define NFSD_VERSION_MISMATCH