Home
last modified time | relevance | path

Searched refs:rpbuf (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/network/lib6/
Dasapi_01.c145 static unsigned char rpbuf[sizeof(struct tprot) + 2048]; variable
228 struct tprot *prtp = (struct tprot *)rpbuf; in client()
303 while ((cc = recvtprot(sfd, rpbuf))) { in client()
309 pend = rpbuf + sizeof(struct tprot) + ntohl(prtp->tp_dlen); in client()
311 if (p == &rpbuf[offset] || p == &rpbuf[offset + 1]) in client()
316 *p, p - rpbuf); in client()
325 cs = csum(~cs, rpbuf, xlen); in client()
326 if (!csum(0, rpbuf, xlen)) { in client()
Dasapi_03.c174 static unsigned char rpbuf[sizeof(struct soprot) + 2048]; variable
332 iov.iov_base = rpbuf; in so_test()
333 iov.iov_len = sizeof(rpbuf); in so_test()