1XDR_SET_SCRATCH_BUFF(9) Linux Networking XDR_SET_SCRATCH_BUFF(9)
2
3
4
6 xdr_set_scratch_buffer - Attach a scratch buffer for decoding data.
7
9 void xdr_set_scratch_buffer(struct xdr_stream * xdr, void * buf,
10 size_t buflen);
11
13 xdr
14 pointer to xdr_stream struct
15
16 buf
17 pointer to an empty buffer
18
19 buflen
20 size of ´buf´
21
23 The scratch buffer is used when decoding from an array of pages. If an
24 xdr_inline_decode call spans across page boundaries, then we copy the
25 data into the scratch buffer in order to allow linear access.
26
28Kernel Hackers Manual 2.6. June 2019 XDR_SET_SCRATCH_BUFF(9)