Home
last modified time | relevance | path

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

/src/crypto/krb5/src/lib/rpc/
H A Dxdr_rec.c106 uint32_t *frag_header; /* beginning of curren fragment */ member
183 rstrm->frag_header = (uint32_t *)(void *)rstrm->out_base; in xdrrec_create()
330 if ((newpos > (caddr_t)(rstrm->frag_header)) && in xdrrec_setpos()
462 len = (long)(rstrm->out_finger) - (long)(rstrm->frag_header) - in xdrrec_endofrecord()
464 *(rstrm->frag_header) = htonl((uint32_t)len | LAST_FRAG); in xdrrec_endofrecord()
465 rstrm->frag_header = (uint32_t *)(void *)rstrm->out_finger; in xdrrec_endofrecord()
479 (u_long)(rstrm->frag_header) - BYTES_PER_XDR_UNIT; in flush_out()
481 *(rstrm->frag_header) = htonl(len | eormask); in flush_out()
486 rstrm->frag_header = (uint32_t *)(void *)rstrm->out_base; in flush_out()
/src/lib/libc/xdr/
H A Dxdr_rec.c115 u_int32_t *frag_header; /* beginning of current fragment */ member
206 rstrm->frag_header = (u_int32_t *)(void *)rstrm->out_base; in xdrrec_create()
361 if ((newpos > (char *)(void *)(rstrm->frag_header)) && in xdrrec_setpos()
504 len = (u_long)(rstrm->out_finger) - (u_long)(rstrm->frag_header) - in xdrrec_endofrecord()
506 *(rstrm->frag_header) = htonl((u_int32_t)len | LAST_FRAG); in xdrrec_endofrecord()
507 rstrm->frag_header = (u_int32_t *)(void *)rstrm->out_finger; in xdrrec_endofrecord()
616 (u_long)(rstrm->frag_header) - sizeof(u_int32_t)); in flush_out()
618 *(rstrm->frag_header) = htonl(len | eormask); in flush_out()
624 rstrm->frag_header = (u_int32_t *)(void *)rstrm->out_base; in flush_out()