Lines Matching refs:tprot
136 struct tprot { struct
144 static unsigned char tpbuf[sizeof(struct tprot) + 2048]; argument
145 static unsigned char rpbuf[sizeof(struct tprot) + 2048];
170 struct tprot *tpt; in recvtprot()
175 tpt = (struct tprot *)packet; in recvtprot()
176 total = cc = recv(sd, packet, sizeof(struct tprot), 0); in recvtprot()
177 expected = sizeof(struct tprot); /* until we get tp_dlen */ in recvtprot()
178 gothead = total >= sizeof(struct tprot); in recvtprot()
187 if (!gothead && total >= sizeof(struct tprot)) { in recvtprot()
227 struct tprot *pttp = (struct tprot *)tpbuf; in client()
228 struct tprot *prtp = (struct tprot *)rpbuf; in client()
250 offset = sizeof(struct tprot) + cstab[i].cs_offset; in client()
251 len = sizeof(struct tprot) + cstab[i].cs_dlen; in client()
309 pend = rpbuf + sizeof(struct tprot) + ntohl(prtp->tp_dlen); in client()