'\" t .\" Title: xdr_read_pages .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "XDR_READ_PAGES" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" xdr_read_pages \- Ensure page\-based XDR data to decode is aligned at current pointer position .SH "SYNOPSIS" .HP \w'unsigned\ int\ xdr_read_pages('u .BI "unsigned int xdr_read_pages(struct\ xdr_stream\ *\ " "xdr" ", unsigned\ int\ " "len" ");" .SH "ARGUMENTS" .PP \fIxdr\fR .RS 4 pointer to xdr_stream struct .RE .PP \fIlen\fR .RS 4 number of bytes of page data .RE .SH "DESCRIPTION" .PP Moves data beyond the current pointer position from the XDR head[] buffer into the page list\&. Any data that lies beyond current position + \(lqlen\(rq bytes is moved into the XDR tail[]\&. .PP Returns the number of XDR encoded bytes now contained in the pages .SH "COPYRIGHT" .br