Esempio n. 1
0
 public void doRcreate(ushort tag, Qid qid, uint iounit)
 {
     fR.type   = (byte)proto.Rcreate;
     fR.tag    = tag;
     fR.qid    = qid;
     fR.iounit = iounit;
     do9pR();
 }
Esempio n. 2
0
 public void doRopen(Qid qid, uint iounit)
 {
     fR.type   = (byte)proto.Ropen;
     fR.tag    = fT.tag;
     fR.qid    = qid;
     fR.iounit = iounit;
     do9pR();
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
        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");
        }