'\" t .\" Title: rpc_max_payload .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "RPC_MAX_PAYLOAD" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" rpc_max_payload \- Get maximum payload size for a transport, in bytes .SH "SYNOPSIS" .HP \w'size_t\ rpc_max_payload('u .BI "size_t rpc_max_payload(struct\ rpc_clnt\ *\ " "clnt" ");" .SH "ARGUMENTS" .PP \fIclnt\fR .RS 4 RPC client to query .RE .SH "DESCRIPTION" .PP For stream transports, this is one RPC record fragment (see RFC 1831), as we don\*(Aqt support multi\-record requests yet\&. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes\&. .SH "COPYRIGHT" .br