public static nfs_argop4 generateRequest(bool CacheThis, byte[] SessId, int SeqId, int HighestSlot, int SlotId) { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_SEQUENCE; op.opsequence = new SEQUENCE4args(); op.opsequence.sa_cachethis = CacheThis; slotid4 sId = new slotid4(); sId.value = new uint32_t(SlotId); op.opsequence.sa_slotid = sId; slotid4 HsId = new slotid4(); HsId.value = new uint32_t(HighestSlot); op.opsequence.sa_highest_slotid = HsId; sequenceid4 seq = new sequenceid4(); seq.value = new uint32_t(++SeqId); op.opsequence.sa_sequenceid = seq; sessionid4 sess = new sessionid4(); sess.value = SessId; op.opsequence.sa_sessionid = sess; return(op); }
public void xdrDecode(XdrDecodingStream 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 static nfs_argop4 generateRequest(bool CacheThis, byte[] SessId, int SeqId, int HighestSlot, int SlotId) { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_SEQUENCE; op.opsequence = new SEQUENCE4args(); op.opsequence.sa_cachethis = CacheThis; slotid4 sId = new slotid4(); sId.value = new uint32_t(SlotId); op.opsequence.sa_slotid = sId; slotid4 HsId = new slotid4(); HsId.value = new uint32_t(HighestSlot); op.opsequence.sa_highest_slotid = HsId; sequenceid4 seq = new sequenceid4(); seq.value = new uint32_t(++SeqId); op.opsequence.sa_sequenceid = seq; sessionid4 sess = new sessionid4(); sess.value = SessId; op.opsequence.sa_sessionid = sess; return op; }
public void xdrDecode(XdrDecodingStream xdr) { csa_sequenceid = new sequenceid4(xdr); csa_slotid = new slotid4(xdr); csa_highest_slotid = new slotid4(xdr); csa_cachethis = xdr.xdrDecodeBoolean(); { int _size = xdr.xdrDecodeInt(); csa_referring_call_lists = new referring_call_list4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { csa_referring_call_lists[_idx] = new referring_call_list4(xdr); } } }
public void xdrDecode(XdrDecodingStream xdr) { csa_sequenceid = new sequenceid4(xdr); csa_slotid = new slotid4(xdr); csa_highest_slotid = new slotid4(xdr); csa_cachethis = xdr.xdrDecodeBoolean(); { int _size = xdr.xdrDecodeInt(); csa_referring_call_lists = new referring_call_list4[_size]; for (int _idx = 0; _idx < _size; ++_idx) { csa_referring_call_lists[_idx] = new referring_call_list4(xdr); } } }
public void xdrDecode(XdrDecodingStream xdr) { rc_slotid = new slotid4(xdr); }