RPC_GSS_SVC_MAX_DATA_... BSD Library Functions Manual RPC_GSS_SVC_MAX_DATA_...NAMErpc_gss_svc_max_data_length — calculate maximum data size
LIBRARY
library “librpcsec_gss”
SYNOPSIS
#include <rpc/rpcsec_gss.h>
int
rpc_gss_svc_max_data_length(struct svc_req *req, 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
req An RPC request
max_tp_unit_len
Maximum packet size of the underlying transport protocol
RETURN VALUES
The maximum message size that can be encoded
SEE ALSOrpc(3), gssapi(3), rpcset_gss(3)HISTORY
The rpc_gss_svc_max_data_length function first appeared in FreeBSD 8.0.
AUTHORS
This manual page was written by Doug Rabson ⟨dfr@FreeBSD.org⟩.
BSD January 26, 2010 BSD