public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { stateid = new stateid4(xdr); cinfo = new change_info4(xdr); rflags = new uint32_t(xdr); attrset = new bitmap4(xdr); delegation = new open_delegation4(xdr); }
public static nfs_argop4 generateRequest(deviceid4 devId) { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_GETDEVICEINFO; op.opgetdeviceinfo = new GETDEVICEINFO4args(); op.opgetdeviceinfo.gdia_device_id = devId; op.opgetdeviceinfo.gdia_layout_type = layouttype4.LAYOUT4_NFSV4_1_FILES.getValue(); op.opgetdeviceinfo.gdia_maxcount = new count4(0xffffff); op.opgetdeviceinfo.gdia_notify_types = new bitmap4( new int[] {0}); return op; } }
public static nfs_argop4 normal() { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_GETDEVICELIST; op.opgetdevicelist = new GETDEVICELIST4args(); op.opgetdevicelist.gdla_cookie = new nfs_cookie4(0); op.opgetdevicelist.gdla_cookieverf = new verifier4(); op.opgetdevicelist.gdla_cookieverf.value = new byte[nfs4_prot.NFS4_VERIFIER_SIZE]; op.opgetdevicelist.gdla_layout_type = layouttype4.LAYOUT4_NFSV4_1_FILES.getValue(); op.opgetdevicelist.gdla_maxdevices = new count4(256); return op; }
private nfsace4 toACE(utf8str_mixed principal, int type, int mask, int flag) { nfsace4 ace = new nfsace4(); ace.who = principal; ace.access_mask = new acemask4(new uint32_t(mask)); ace.type = new acetype4(new uint32_t(type)); int flags = flag | (principal == Acls.GROUP ? ACE4_IDENTIFIER_GROUP : 0); ace.flag = new aceflag4(new uint32_t(flags)); return ace; }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { type = new acetype4(xdr); flag = new aceflag4(xdr); access_mask = new acemask4(xdr); who = new utf8str_mixed(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { seqid = new seqid4(xdr); share_access = new uint32_t(xdr); share_deny = new uint32_t(xdr); owner = new open_owner4(xdr); openhow = new openflag4(xdr); claim = new open_claim4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { csr_sessionid = new sessionid4(xdr); csr_sequence = new sequenceid4(xdr); csr_flags = new uint32_t(xdr); csr_fore_chan_attrs = new channel_attrs4(xdr); csr_back_chan_attrs = new channel_attrs4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { sr_sessionid = new sessionid4(xdr); sr_sequenceid = new sequenceid4(xdr); sr_slotid = new slotid4(xdr); sr_highest_slotid = new slotid4(xdr); sr_target_highest_slotid = new slotid4(xdr); sr_status_flags = new uint32_t(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { cookie = new nfs_cookie4(xdr); cookieverf = new verifier4(xdr); dircount = new count4(xdr); maxcount = new count4(xdr); attr_request = new bitmap4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { csr_sessionid = new sessionid4(xdr); csr_sequenceid = new sequenceid4(xdr); csr_slotid = new slotid4(xdr); csr_highest_slotid = new slotid4(xdr); csr_target_highest_slotid = new slotid4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { objtype = new createtype4(xdr); objname = new component4(xdr); createattrs = new fattr4(xdr); }