XDR_INLINE_PEEK

Section: Linux Networking (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

xdr_inline_peek - Allow read-ahead in the XDR data stream  

SYNOPSIS

__be32 * xdr_inline_peek(struct xdr_stream * xdr, size_t nbytes);
 

ARGUMENTS

xdr

pointer to xdr_stream struct

nbytes

number of bytes of data to decode
 

DESCRIPTION

Check if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer without updating the current pointer position.  

COPYRIGHT