1XDR_ENCODE_OPAQUE_FI(9)        Linux Networking        XDR_ENCODE_OPAQUE_FI(9)
2
3
4

NAME

6       xdr_encode_opaque_fixed - Encode fixed length opaque data
7

SYNOPSIS

9       __be32 * xdr_encode_opaque_fixed(__be32 * p, const void * ptr,
10                                        unsigned int nbytes);
11

ARGUMENTS

13       p
14           pointer to current position in XDR buffer.
15
16       ptr
17           pointer to data to encode (or NULL)
18
19       nbytes
20           size of data.
21

DESCRIPTION

23       Copy the array of data of length nbytes at ptr to the XDR buffer at
24       position p, then align to the next 32-bit boundary by padding with zero
25       bytes (see RFC1832).
26

NOTE

28       if ptr is NULL, only the padding is performed.
29
30       Returns the updated current XDR buffer position
31
33Kernel Hackers Manual 2.6.       November 2011         XDR_ENCODE_OPAQUE_FI(9)
Impressum