rpc_gss_svc_max_data_length
—
calculate maximum data size
RPC GSS-API Authentication Library (librpcsec_gss,
-lrpcsec_gss)
#include <rpc/rpcsec_gss.h>
int
rpc_gss_svc_max_data_length
(struct
svc_req *req, 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.
- req
- An RPC request
- max_tp_unit_len
- Maximum packet size of the underlying transport protocol
The maximum message size that can be encoded
The rpc_gss_svc_max_data_length
function first appeared
in FreeBSD 8.0.