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

NAME

6       xdr_buf_trim - lop at most “len” bytes off the end of “buf”
7

SYNOPSIS

9       void xdr_buf_trim(struct xdr_buf * buf, unsigned int len);
10

ARGUMENTS

12       buf
13           buf to be trimmed
14
15       len
16           number of bytes to reduce “buf” by
17

DESCRIPTION

19       Trim an xdr_buf by the given number of bytes by fixing up the lengths.
20       Note that it´s possible that we´ll trim less than that amount if the
21       xdr_buf is too small, or if (for instance) it´s all in the head and the
22       parser has already read too far into it.
23
25Kernel Hackers Manual 2.6.         June 2019                   XDR_BUF_TRIM(9)
Impressum