rpc_gss_max_data_length — calculate maximum data size
Contents
Availability
The rpc_gss_max_data_length() function is part of libtirpc.
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.
Name
rpc_gss_max_data_length — calculate maximum data size
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
rpc(3), gssapi(3), rpcsec_gss(3)
Synopsis
#include<rpc/rpcsec_gss.h>intrpc_gss_max_data_length(AUTH*auth, intmax_tp_unit_len);
