FreeBSD manual
download PDF document: rpc_gss_max_data_length.3.pdf
RPC_GSS_MAX_DATA_LENGTH(3) FreeBSD Library Functions Manual
NAME
rpc_gss_max_data_length - calculate maximum data size
LIBRARY
RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss)
SYNOPSIS
#include <rpc/rpcsec_gss.h>
int
rpc_gss_max_data_length(AUTH *auth, int max_tp_unit_len);
DESCRIPTION
Calculate the maximum message size that will fit into a packet of size
max_tp_unit_len, given the current service and QoP setting.
PARAMETERS
auth A handle to a RPCSEC_GSS security context
max_tp_unit_len Maximum packet size of the underlying transport protocol
RETURN VALUES
The maximum message size that can be encoded
SEE ALSO
gssapi(3), rpc(3), rpcsec_gss(3)
HISTORY
The rpc_gss_max_data_length function first appeared in FreeBSD 8.0.
AUTHORS
This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
FreeBSD 14.0-RELEASE-p11 January 26, 2010 FreeBSD 14.0-RELEASE-p11