xdr_init_encode(9) suse man page | unix.com

Man Page: xdr_init_encode

Operating Environment: suse

Section: 9

XDR_INIT_ENCODE(9)						 Linux Networking						XDR_INIT_ENCODE(9)

NAME
xdr_init_encode - Initialize a struct xdr_stream for sending data.
SYNOPSIS
void xdr_init_encode(struct xdr_stream * xdr, struct xdr_buf * buf, __be32 * p);
ARGUMENTS
xdr pointer to xdr_stream struct buf pointer to XDR buffer in which to encode data p current pointer inside XDR buffer
NOTE
at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 XDR_INIT_ENCODE(9)
Related Man Pages
struct_sk_buff(9) - suse
rpc_xdr(3) - osf1
xdr_callhdr(3) - osf1
xdr_opaque_auth(3) - osf1
rpc_xdr(3nsl) - sunos
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure