Reference

rpc_gss_max_data_length(3t)

calculate maximum data size

NAME

rpc_gss_max_data_length – calculate maximum data size

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

AVAILABILITY

The rpc_gss_max_data_length() function is part of libtirpc.

SEE ALSO

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

AUTHORS

This manual page was written by Doug Rabson ⟨[email protected]⟩.