public void doRcreate(ushort tag, Qid qid, uint iounit) { fR.type = (byte)proto.Rcreate; fR.tag = tag; fR.qid = qid; fR.iounit = iounit; do9pR(); }
public void doRopen(Qid qid, uint iounit) { fR.type = (byte)proto.Ropen; fR.tag = fT.tag; fR.qid = qid; fR.iounit = iounit; do9pR(); }
public void putqid(Byte[] data, uint dp, Qid q) { data[dp] = q.type; dp += (uint)proto.BIT8SZ; putuint(data, dp, q.vers); dp += (uint)proto.BIT32SZ; putulong(data, dp, q.path); dp += (uint)proto.BIT64SZ; }
public void doRattach(ushort tag, Qid qid) { fR.type = (byte)proto.Rattach; fR.tag = tag; fR.qid = qid; do9pR(); // if(fR.type == (sbyte)proto.Rerror) // throw new ninepexception("Error, attach failed"); }