centos man page for xdr_init_encode

Query: xdr_init_encode

OS: centos

Section: 9

Links: centos man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 3.10 June 2014 XDR_INIT_ENCODE(9)
Related Man Pages
xdr_authunix_parms(3) - osf1
rpc_xdr(3nsl) - sunos
xdr_accepted_reply(3nsl) - sunos
xdr_opaque_auth(3nsl) - sunos
xdr_rejected_reply(3nsl) - sunos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!