XDROutPacketAddInt32
XDROutPacketAddInt32(packet, size);
void XDROutPacketAddInt32 (struct XDROutPacket *packet, int32 val);
XDROutPacketAddInt32(&call, count);
XDROutPacketAddInt32(&call, pos);
XDROutPacketAddInt32(&call, count);
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, pos + bytesWritten);
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, (mask & WSTAT_MODE) ? st->st_mode : UINT32_MAX);
XDROutPacketAddInt32(&call, (mask & WSTAT_UID) ? st->st_uid : UINT32_MAX);
XDROutPacketAddInt32(&call, (mask & WSTAT_GID) ? st->st_gid : UINT32_MAX);
XDROutPacketAddInt32(&call, (mask & WSTAT_SIZE) ? st->st_size : UINT32_MAX);
XDROutPacketAddInt32(&call, (mask & WSTAT_ATIME) ? st->st_atime : -1);
XDROutPacketAddInt32(&call, (mask & WSTAT_ATIME) ? 0 : UINT32_MAX);
XDROutPacketAddInt32(&call, (mask & WSTAT_MTIME) ? st->st_mtime : -1);
XDROutPacketAddInt32(&call, (mask & WSTAT_MTIME) ? 0 : UINT32_MAX);
XDROutPacketAddInt32(&call, perms | S_IFREG);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, perms | S_IFDIR);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, S_IFLNK);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&rpc_call, xid);
XDROutPacketAddInt32(&rpc_call, RPC_CALL);
XDROutPacketAddInt32(&rpc_call, RPC_VERSION);
XDROutPacketAddInt32(&rpc_call, prog);
XDROutPacketAddInt32(&rpc_call, vers);
XDROutPacketAddInt32(&rpc_call, proc);
XDROutPacketAddInt32(&rpc_call, RPC_AUTH_NONE);
XDROutPacketAddInt32(&rpc_call, RPC_AUTH_SYS);
XDROutPacketAddInt32(&rpc_call, authSize);
XDROutPacketAddInt32(&rpc_call, 0);
XDROutPacketAddInt32(&rpc_call, ns->params.uid);
XDROutPacketAddInt32(&rpc_call, ns->params.gid);
XDROutPacketAddInt32(&rpc_call, 0);
XDROutPacketAddInt32(&rpc_call, RPC_AUTH_NONE);
XDROutPacketAddInt32(&call, prog);
XDROutPacketAddInt32(&call, vers);
XDROutPacketAddInt32(&call, prot);
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, -1);
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);
XDROutPacketAddInt32(&call, time(NULL));
XDROutPacketAddInt32(&call, 0);