Lines Matching defs:xdrs
123 * xdrrec_create fills in xdrs. Sendsize and recvsize are
131 xdrrec_create(XDR *xdrs, uint_t sendsize, uint_t recvsize, caddr_t tcp_handle,
160 xdrs->x_ops = xdrrec_ops();
161 xdrs->x_private = (caddr_t)rstrm;
185 xdrrec_getint32(XDR *xdrs, int32_t *ip)
187 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
199 if (!xdrrec_getbytes(xdrs, (caddr_t)&myint, sizeof (int32_t)))
207 xdrrec_putint32(XDR *xdrs, int32_t *ip)
209 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
235 xdrrec_getbytes(XDR *xdrs, caddr_t addr, int32_t len)
237 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
262 xdrrec_putbytes(XDR *xdrs, caddr_t addr, int32_t len)
264 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
284 xdrrec_getpos(XDR *xdrs)
286 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
291 switch (xdrs->x_op) {
309 xdrrec_setpos(XDR *xdrs, uint_t pos)
311 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
312 uint_t currpos = xdrrec_getpos(xdrs);
317 switch (xdrs->x_op) {
343 xdrrec_inline(XDR *xdrs, int len)
345 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
348 switch (xdrs->x_op) {
370 xdrrec_destroy(XDR *xdrs)
372 RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
389 xdrrec_skiprecord(XDR *xdrs)
391 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
411 xdrrec_eof(XDR *xdrs)
413 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
435 xdrrec_endofrecord(XDR *xdrs, bool_t sendnow)
437 RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);