DOKK / manpages / debian 12 / libtirpc-dev / rpc_gss_max_data_length.3t.en
RPC_GSS_MAX_DATA_LENGTH(3) Library Functions Manual RPC_GSS_MAX_DATA_LENGTH(3)

rpc_gss_max_data_lengthcalculate maximum data size

#include <rpc/rpcsec_gss.h>

int
rpc_gss_max_data_length(AUTH *auth, int max_tp_unit_len);

Calculate the maximum message size that will fit into a packet of size max_tp_unit_len, given the current service and QoP setting.

auth
A handle to a RPCSEC_GSS security context
max_tp_unit_len
Maximum packet size of the underlying transport protocol

The maximum message size that can be encoded

The () function is part of libtirpc.

rpc(3), gssapi(3), rpcsec_gss(3)

This manual page was written by Doug Rabson ⟨dfr@FreeBSD.org⟩.

January 26, 2010 Debian